AN3748 JM128 Bootloader problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

AN3748 JM128 Bootloader problem

ソリューションへジャンプ
1,609件の閲覧回数
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 解決策
1,366件の閲覧回数
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 返信
1,367件の閲覧回数
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 件の賞賛
返信