How to flash my App. on MCUXpresso IDE, using KDS i was able to flash my FRDM--KL25Z, how can I flash it with the MCUXpresso?

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

How to flash my App. on MCUXpresso IDE, using KDS i was able to flash my FRDM--KL25Z, how can I flash it with the MCUXpresso?

1,587件の閲覧回数
enriquerodíguez
Contributor I

Hello.

Using KDS I was able to flash my FRDM--KL25Z, how can I flash it with the MCUXpresso?

It seem the debugsession loads my code in RAM, when debg session is terminated, my Board is not runing the app, any more.

Thanks.

0 件の賞賛
2 返答(返信)

713件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

To confirm your code is loaded in RAM or Flash,

- please check your project ld file, where do you define code?

- check generated srecord file, where is the code allocated? (here is how to generate srecord file MCUXpresso IDE: S-Record, Intel Hex and Binary Files | MCU on Eclipse )

- when launch debugger, check memory window,  check if the code is in Flash?

With MCUXpresso, you can also  get the same functionality as in KDS. For this, simply configure a launch configuration with the file you want to download, plus configure it for your device:

pastedImage_5.png


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

713件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Be default it loads it into Flash (at least for me with the default settings). But are you using semihosting/printf()? In that case, they can stop the running target if there is no active debug session. I suggest not to use semihosting and no printf() and the likes.

I hope this helps,

Erich

0 件の賞賛