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.
Please check the document below. Pemicro in-target Reset should be available in S32DS for Power PC.
Hope it helps.
Stan
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
Hi @MatheusFranklin,
While in the debug perspective, you can right-click the active thread and select "restart":
Best regards,
Julián
Hello, @Julián_AragónM !
When I clicked on the "restart" button, I ended up with the following error:
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):
Can you help me with that, please?
Best regards,
Matheus.