ch375读写U盘msc51\filelib5例子问题咨询

我使用的是CH375LIB文件夹中的FILELIB5中的例子,单片机为stc12c5a60s2,未修改例程,编译后出现如下错误,是什么原因::

Build target 'Target 1'

assembling STARTUP.A51...

compiling CH375HFT.C...

linking...

*** WARNING L14: INCOMPATIBLE MEMORY MODEL

    MODULE:  .\CH375HF5.LIB (CH375SEC)

    MODEL:   SMALL

*** WARNING L14: INCOMPATIBLE MEMORY MODEL

    MODULE:  .\CH375HF5.LIB (CH375BYT)

    MODEL:   SMALL

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS

    SEGMENT: ?PR?CH375FILEREAD?CH375HFT

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS

    SEGMENT: ?PR?CH375FILEWRITE?CH375HFT

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS

    SEGMENT: ?PR?CH375FILEMODIFY?CH375MAI

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS

    SEGMENT: ?PR?CH375FILELOCATE?CH375SEC

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS

    SEGMENT: ?PR?CH375BYTEREAD?CH375BYT

*** WARNING L6: XDATA SPACE MEMORY OVERLAP

    FROM:    0000H

    TO:      07FFH

Program Size: data=100.5 xdata=4172 code=11816

"stc_ch375_u" - 0 Error(s), 8 Warning(s).


target的memory model选择Large模式。地址空间 从 0000H 到 07FFH有重叠,检查_at_的地方。


只有登录才能回复,可以选择微信账号登录