errors comes out ,when I build AN2295 Kinetis bootloader.

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

errors comes out ,when I build AN2295 Kinetis bootloader.

跳至解决方案
1,478 次查看
wangbaode
Contributor IV

hello everyone,

when I build AN2295 Kinetis bootloader,some errors displays on console of codewarrior 10.5.

is there anybody meets the question?how to resolve it?

pastedImage_0.png

标记 (3)
1 解答
1,080 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi wang baode,

     Please downloader a new AN2295, then do the next steps:

  1: remove bootloader_asm.S

  2: change the path of AN2295_linkfile like the following picture:

36.jpg

click browse, choose "AN2295_LinkerFile.lcf" in your folder, then click"apply".

After that , please build it again, you will find there has no error!

37.jpg

Wish it helps you!

Best regards!

Jingjing

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,080 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi wang baode,

    Juan is correct, about the error of bootloader_asm.s in codewarrior, please just disable this file by clicking the draw behind the bootloader_asm.s, then this file will not take part in building.

    After that, rebuild the project.

    If you still have other error question, please let me know!

Best regards!

Jingjing

0 项奖励
回复
1,080 次查看
wangbaode
Contributor IV

hi jingjing,

I remove bootloader_asm.S and rebuild the project. I meet another error as follow.

pastedImage_0.png !

0 项奖励
回复
1,081 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi wang baode,

     Please downloader a new AN2295, then do the next steps:

  1: remove bootloader_asm.S

  2: change the path of AN2295_linkfile like the following picture:

36.jpg

click browse, choose "AN2295_LinkerFile.lcf" in your folder, then click"apply".

After that , please build it again, you will find there has no error!

37.jpg

Wish it helps you!

Best regards!

Jingjing

0 项奖励
回复
1,080 次查看
wangbaode
Contributor IV

Hi Jingjing,

Thanks for your answer.your answer is right and I hve resolved the question.

best regards for you

bye

0 项奖励
回复
1,080 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi wang baode,

    No thanks!

   If your question is solved, could you help us to mark this question as solved!(the correct answer)

   Thank you!

Jingjing

0 项奖励
回复
1,080 次查看
juannava
Contributor II

Hi wang,


I had the same problem and I was told to comment all the code inside bootloader_asm.s to make it working, apparently this is code for Keil compiler, but for some reason it gets called by CW 10.5.

Other option is to disable this file by clicking the draw behind the bootloader_asm.s and building again as follows:


Error.png

I hope this help you because it worked for me.


Kind Regards,

Juan Nava