Ihow to burn a progrgam to MCU

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

Ihow to burn a progrgam to MCU

Jump to solution
1,657 Views
evalin
Contributor III

I'm using MPC57XX. My program work correctly (tested in debug), but how to burn a progrgam to MCU without in debug mode and do not need to reload the program after power on again.

0 Kudos
1 Solution
1,433 Views
stanish
NXP Employee
NXP Employee

Hello Eva,

The Debug build/debug configuration loads the code into the flash memory in contrast to Debug_RAM which needs to be reloaded after reset. 

Please check this link for more information about the different build configurations available:

https://community.nxp.com/message/912831?commentID=912831#comment-912831 

If your code is not running properly after reset/POR this is typically caused by Watchdog or any other setup done by debugger script.

Which MCU are you targeting and which version of S32DS are you using?

Could you possibly attach the project if it does not work?

Regards,

Stan

View solution in original post

0 Kudos
3 Replies
1,433 Views
evalin
Contributor III

Hello Stan,

Thanks for your anwser,what you said is very detailed.I use MPC5775K and S32DS v1.1.I have another problem,how could I know the used flash size after building?

Regards,

Eva

0 Kudos
1,433 Views
stanish
NXP Employee
NXP Employee

Hi Eva,

Please have a look here:

How to calculate Flash and RAM size 

https://community.nxp.com/message/897643 

Hope it helps.

Stan

0 Kudos
1,434 Views
stanish
NXP Employee
NXP Employee

Hello Eva,

The Debug build/debug configuration loads the code into the flash memory in contrast to Debug_RAM which needs to be reloaded after reset. 

Please check this link for more information about the different build configurations available:

https://community.nxp.com/message/912831?commentID=912831#comment-912831 

If your code is not running properly after reset/POR this is typically caused by Watchdog or any other setup done by debugger script.

Which MCU are you targeting and which version of S32DS are you using?

Could you possibly attach the project if it does not work?

Regards,

Stan

0 Kudos