errors comes out ,when I build AN2295 Kinetis bootloader.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

errors comes out ,when I build AN2295 Kinetis bootloader.

Jump to solution
1,563 Views
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

1 Solution
1,165 Views
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

View solution in original post

0 Kudos
Reply
6 Replies
1,165 Views
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 Kudos
Reply
1,165 Views
wangbaode
Contributor IV

hi jingjing,

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

pastedImage_0.png !

0 Kudos
Reply
1,166 Views
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 Kudos
Reply
1,165 Views
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 Kudos
Reply
1,165 Views
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 Kudos
Reply
1,165 Views
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