Ihow to burn a progrgam to MCU

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

Ihow to burn a progrgam to MCU

跳至解决方案
1,851 次查看
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.

标记 (2)
0 项奖励
回复
1 解答
1,627 次查看
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 项奖励
回复
3 回复数
1,627 次查看
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 项奖励
回复
1,627 次查看
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 项奖励
回复
1,628 次查看
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 项奖励
回复