比如下面的: EXTRN CODE (CH375Reset) ; 復(fù)位CH375 */ EXTRN CODE (CH375Init) ; 初始化CH375 */ EXTRN CODE (CH375DiskConnect) ; 檢查磁盤是否連接 */ EXTRN CODE (CH375DiskReady) ; 查詢磁盤是否準備好 */ 因為我用的單片機是89c52很小的程序空間,同時我使用的功能目前只需要從U盤里面讀比如512字節(jié)就可以了,我用的ch375hft.asm+ch375hf6.inc+ch375hf6.lib 就超出了程序空間,同時編譯的時候提示
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2002 ASSEMBLY COMPLETE. 0 WARNING(S), 0 ERROR(S) MedWin V2.39 Linking...... BL51 BANKED LINKER/LOCATER V5.00 - SN: K1PRP-MWVI9E COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2002 CH375HFT.obj,D:\工作\CH375B\CH375HF4.LIB TO usb375.Omf RAMSIZE(256) *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375GETVER?CH375MAI *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375INIT?CH375MAI *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILECLOSE?CH375MAI *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILECREATE?CH375MAI *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILEMODIFY?CH375MAI *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375DISKREADY?CH375MAI *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILELOCATE?CH375SEC *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILEREADX?CH375SEC *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILEWRITEX?CH375SEC *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375BYTELOCATE?CH375BYT *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375BYTEREAD?CH375BYT *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375BYTEWRITE?CH375BYT *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375DISKSIZE?CH375DSZ *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375DISKQUERY?CH375DSZ *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375SDISKREADY?CH375SRD *** WARNING L10: CANNOT DETERMINE ROOT SEGMENT Program Size: data=92.4 xdata=27165 code=10898 LINK/LOCATE RUN COMPLETE. 16 WARNING(S), 0 ERROR(S) Write Intel HEX format file "D:\Manley\PMedWin\usb375.hex" successfully. Initial Emulator...seccessfully. Loading program "usb375.Omf"... ............................................................ ........... ************* T o t a l ************* Code number: 10898 bytes. Minimal address: 0000H. Maximal address: 2A91H. ************************************* Loading program Completed.
另外 內(nèi)置固件模式是怎么會事呢?好象這是最簡單的模式了,看了資料還是不知道怎么做...