MPC5777C - How to restart the processor without having to flash the program again?

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

MPC5777C - How to restart the processor without having to flash the program again?

2,131 次查看
MatheusFranklin
Contributor III

Hello!

 

I am debugging a software in the MPC5777C processor using the S32DS and I need to execute the same software multiple times so I can put breakpoints in different places and investigate where is the bug. However, every time I need to reexecute the software, the S32DS flashes the software again, even I have not modified anything. How do I just restart the processor with it executing the software that is already in its flash memory from the beggining? It would help me a lot to speed up my investigation. I tried the "relaunch" button, but it also flashes the software again.

 

Best regards,

Matheus.

0 项奖励
回复
5 回复数

2,020 次查看
stanish
NXP Employee
NXP Employee

Please check the document below. Pemicro in-target Reset should be available in S32DS for Power PC.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Reset-MCU-in-S32-Design-Studio-d...

 

Hope it helps.

Stan

0 项奖励
回复

2,011 次查看
MatheusFranklin
Contributor III

Thanks for the reply, Stan!

The tutorial that you sent seems very promissing, however, when I followed the steps, I ended up with the same error as the picture I sent before. I am using the standard reset script and running code from flash. Do you have an ideia what could be causing this? I attatched the reset script below, just in case you need to analyze it.

Best regards,
Matheus

0 项奖励
回复

2,113 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @MatheusFranklin,

While in the debug perspective, you can right-click the active thread and select "restart":

Restartdebug.png

Best regards,
Julián

0 项奖励
回复

2,064 次查看
MatheusFranklin
Contributor III

Hello, @Julián_AragónM !

When I clicked on the "restart" button, I ended up with the following error:
print restart error S32DS.png

I expected to see a scenario simmilar to when I click on the debbug button, like this (i.e., the execution stopped on the first code breakpoint):

print flash debug S32DS.png
 

Can you help me with that, please?

 

Best regards,

Matheus.

 

0 项奖励
回复

2,126 次查看
MatheusFranklin
Contributor III
I am using the
S32 Design Studio for Power Architecture
Version: 2.1
Build id: 190624
0 项奖励
回复