2018-07-30 07:34 AM
Hi all,
I am trying to program and debug an SPC570S40E1 mcu using the SPC5-UDESDK dongle and the UDE software. I was able to program a modified version of the SPC570Sxx_RLA CAN Test Application for Discovery sample code without any problems at first. Then I tried to set pin 58 as a GPIO output from the mcu pin wizard. After programming the mcu again, UDE says "Failed to determine user application running state! Assume still running" and the program counter is stuck at 0xFFFF_FFFF. The PORST pin is not toggling a falling edge after a power cycle.
I think I am stuck at Power Up of the reset sequence. Can anyone recommend a way to go forward so that I can at least erase the flash memory? Would forcing PORST manually to low fix make the sequence move to Phase 0 and onwards?
Thanks in advance.
2018-07-31 02:01 AM
Hello Yalin ,
You should reset your board by PLS.
in a running state you can not flash or debug.
Best regards
Erwan
2018-07-31 06:28 AM
Hello Erwan,
How can I reset the board using the UDE STK software?
Thanks
2018-08-01 03:58 AM
Nevermind, the problem was caused by a faulty connection between mcu PORST and JTAG Reset pin.