AN3748 JM128 Bootloader problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

AN3748 JM128 Bootloader problem

跳至解决方案
663 次查看
Kaare
Contributor III

Hi

 

I'm working on a project that needs to run through a bootloader firmware so i found application note AN3748 that describes how to make a bootloader for our MCU.

 

However, the project that is included with AN3748 is for the classic Code Warrior. We use CW 10 (eclipse). So i created a new project and imported all the files from the old one.

 

I can't get it to compile and gets the following linker error:

 

"Linker command file error at line 39: File not found usr_entry.c"

 

3414_3414.jpgscreenshot_timco.jpg

 

As you can see, the usr_entry.c file is already part of the project. I tried adding the Source folder as a search path for the linker but it doesn't help. Also tried to add the file under linker properties to no avail. I simply can't get this error away. The funny thing is that the linker does not complain about the .lib file a little further above.

 

Any ideas?

标签 (1)
标记 (3)
0 项奖励
1 解答
420 次查看
Kaare
Contributor III

The solution was provided by another forum member.

Replace usr_entry.c with usr_entry_c.obj as the linker obviously works with the compiled object files and not the C source files!

在原帖中查看解决方案

0 项奖励
1 回复
421 次查看
Kaare
Contributor III

The solution was provided by another forum member.

Replace usr_entry.c with usr_entry_c.obj as the linker obviously works with the compiled object files and not the C source files!

0 项奖励