errors comes out ,when I build AN2295 Kinetis bootloader.

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

errors comes out ,when I build AN2295 Kinetis bootloader.

ソリューションへジャンプ
1,196件の閲覧回数
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 解決策
798件の閲覧回数
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 返答(返信)
798件の閲覧回数
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 件の賞賛
798件の閲覧回数
wangbaode
Contributor IV

hi jingjing,

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

pastedImage_0.png !

0 件の賞賛
799件の閲覧回数
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 件の賞賛
798件の閲覧回数
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 件の賞賛
798件の閲覧回数
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 件の賞賛
798件の閲覧回数
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