Hello,
I am working on a project with PWA MPC574XG-MB and Multilink Universal debugger. My colleague can flash a binary and successfully start debugging but it is not working on my side. As far as we can tell, the settings are identical but when I flash the binary to the board and start debugging, the red LED on reset goes on (D1) and the debugging session says it is running but I cannot set a break point or anything (it is not properly running). When I start debugging in this status, this window pops up and I need power cycle the board.
My colleague is running S32 on win7 and I am running S32 on win10. We have our own library path, include path and .ld file. I even tried with the same binary file that my colleague built but the result was the same. I could do simple LED toggle project on the board (and debug) so I don't think there is anything wrong with the hardware. We suspect there is something missing/wrong with the setting. Do you know what might be the problem when this happens? Please let me know if you need to know anything else.
Thank you,
Sungjoon
Hi Sungjoon,
Just want to post my email follow up here, to keep our community in the loop on this issue:
P&E
Hello Zahar,
I am posting the reply here too.
I disabled run on reset option and here is what I got.
it gets stuck here for a while first, then
I get these error messages.
For your reference, project binary file (that is working for out India team but not for me) is attached. We do not have lauterbach here so I cannot test the other one. I am currently using Multilink Universal.
Please advise and let me know if you need anything else.
Thank you,
Sungoon
Hi Sungjoon,
The Calypso 6M device has a built in reset escalation mechanism which gets triggered if the device gets reset multiple times in a row. This might happen if on a power-up it is blank or programmed with an invalid/faulty project.
The pop-up dialog that you see, notifying user of a reset escalation is not a fatal error. Its a mechanism that we put in place to allow user to force the device into debug mode and continue with debug session after a reset escalation has occurred.
If you see a reset escalation warning dialog pop-up please do the following:
1. Power cycle your target by turning the power to Calypso 6M device off and on, while keeping your P&E hardware interface plugged in.
2. Click OK on the target reset escallation pop up dialog to proceed with your debug session.
Please let me know if this resolves the issue you are seeing.
Best Regards,
Zahar
P&E
For some Calypso 6M boards a reset delay fo 200 ms should be added in the debug configuration dialog.
Hello Zahar,
As I mentioned on my first post, reset was just a symptom. I could just power cycle the board and proceed to the debug session. However, debug session is not working properly (and the reset light goes on). It is working on my colleague's machine but not on mine. I have also tried with the binary file from my colleague (which is working on the other machine), but the result was the same. Please let me know if you need more details.
Thank you,
Sungjoon
Hello Sungjoon,
could you please explore the following thread?
https://community.nxp.com/thread/395670
I think it would be good to measure reset line and look, if there logical 0 or 1. Also check jumper J9 on EVB motherboard. This jumper has to be fit.
Regards,
Martin
Hi Sungjoon,
it is most probably the known issue with Delay after reset. If you use S32 Design Studio version 1.0, you have to setDelay after reset at least to 250ms in debug settings. Please look at the following figure.
Please let me know, if it resolve your problem. If not, please share more details.
Regards,
Martin
Hello Martin,
Thank you for replying. I am using S32 Design Studio version 1.1 and default for delay after rest was already 300ms. I have tried with 250ms as well but the result was the same. (I can download and debug other example projects)
and this is the screenshot after the debugging session starts. (but it is not working).
I am attaching two different cases (same project that is not working).
Please let me know if you want to know more details.
Thank you,
Sungjoon