logo

如何链接CH375文件系统库-CH375HFx.LIB!!(图片)
IAR3.20如何连结?
这人很懒,什么都没留下
添加方法和添加。C的方法是一样的
E-MAIL:fqb@wch.cn TEL:025-52638375
xie xie
这人很懒,什么都没留下
D:\iccv7avr\bin\imakew -f TEST3.mak
iccavr -o TEST3 -g -e:0x20000 -ucrtatmega.o -bfunc_lit:0x60.0x20000 -dram_end:0xfff -bdata:0x60.0xfff -dhwstk_size:16 -beeprom:0.4096 -fihx_coff -S2 @TEST3.lk F:\USB\CH375\FILELIBB\EXAM6\CH375HFB.A -lcatmega
!ERROR file 'CH375HFB.o': undefined symbol 'push_gset1'
!ERROR file 'CH375HFB.o': undefined symbol 'push_gset2'
!ERROR file 'CH375HFB.o': undefined symbol 'push_gset3'
!ERROR file 'CH375HFB.o': undefined symbol 'push_gset4'
!ERROR file 'CH375HFB.o': undefined symbol 'push_gset5'
!ERROR file 'CH375HFB.o': undefined symbol 'pop_gset1'
!ERROR file 'CH375HFB.o': undefined symbol 'pop_gset2'
!ERROR file 'CH375HFB.o': undefined symbol 'pop_gset3'
!ERROR file 'CH375HFB.o': undefined symbol 'pop_gset4'
!ERROR file 'CH375HFB.o': undefined symbol 'pop_gset5'
!ERROR Function 'putchar' not defined. This is a hardware dependent function,
and it is not included in the ICCAVR default library. Please implement
this function to match your target requirements. You can find examples
of this function under the \examples.AVR directory. Make
a copy of a suitable example, add it to your project and modify it if
needed. The source code must #include the appropriate C header file
(e.g. stdio.h) as it contains the special compiler pragma for 'putchar'.

D:\iccv7avr\bin\imakew.exe: Error code 1
Done: there are error(s). Exit code: 1. Fri Nov 16 00:11:26 2007
这人很懒,什么都没留下
看看我上面的错误是怎么回事。iccavr 7.13A
这人很懒,什么都没留下
CH375例程序在KEIL中编译通过但无法建立目标文件。如何解决?
这人很懒,什么都没留下
你的意思是不能产生HEX文件?
此号封存
是啊!不知是程序出错还是KEIL工程设置出错。我用的是STC89C52单片机。请高手指点一下。不胜感谢!
这人很懒,什么都没留下
那肯定是你的设置有问题,编译成功以后就会自动产生HEX,但是前提是要你设置产生HEX文件才行!!
此号封存
好的,那我再试试,遇到问题再请教,谢谢
这人很懒,什么都没留下
好的,谢谢啦
世界如此美好,值得我们去奋斗。生命不息,奋斗不止。
我在Keil C中添加了CH375HFx.Lib后编译就出错了。

Build target 'Target 1'
compiling HOST.C...
compiling CH375.C...
compiling DEVICE.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?CH375GETVER?CH375HF6
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?CH375DISKQUERY?CH375HF6
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?CH375FILEENUMER?CH375HF6
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?CH375FILEQUERY?CH375HF6
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?CH375FILELOCATE?CH375HF6
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?CH375FILEREADX?CH375HF6
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?CH375FILEWRITEX?CH375HF6
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?CH375BYTELOCATE?CH375HF6
*** ERROR L107: ADDRESS SPACE OVERFLOW
SPACE: IDATA
SEGMENT: ?ID?HOST
LENGTH: 001EH
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: MCMDPARAM
SEGMENT: ?ID?HOST
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 07AAH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 07ADH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 07BCH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 07C7H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 07DDH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 07E9H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 07EFH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 07F7H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0815H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0843H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0855H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0867H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0879H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 088BH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 089DH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 08AFH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 08C1H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 08D3H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 08E5H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 08F6H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0906H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 091BH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 091EH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0930H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0933H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0956H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0960H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0970H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 097AH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0980H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0988H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0995H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 099BH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 09A1H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 09ACH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 09B3H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 09BCH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 09D8H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 09DCH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 09F1H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 09F5H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 09FBH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 09FFH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0A08H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\DEVICE.obj (DEVICE)
ADDRESS: 0A14H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\CH375HF6.LIB (CH375HF6)
ADDRESS: 20E8H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\CH375HF6.LIB (CH375HF6)
ADDRESS: 2100H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\CH375HF6.LIB (CH375HF6)
ADDRESS: 2134H
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\CH375HF6.LIB (CH375HF6)
ADDRESS: 218BH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARAM
MODULE: .\CH375HF6.LIB (CH375HF6)
ADDRESS: 218EH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MCMDPARA
这人很懒,什么都没留下
这是库没有链接成功
你把CH375HFx.Lib这个文件添加到工程中去
交流中提高
请问在凌阳单片机开发时怎么连接这个库啊?
这人很懒,什么都没留下
太强了 谢谢把这种分析的命令研究出来~~ 学习了,呵呵~~
wo很懒,什么都bu想留下-_!
只有登录才能回复,可以选择微信和github账号登录