Part Number: TMS320F2800157
Is there a way for code written reset reset the microcontroller instead of it getting stuck in system_post_cinit?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F2800157
Is there a way for code written reset reset the microcontroller instead of it getting stuck in system_post_cinit?
Hi Krishna,
Yes, you can definitely reset the device and it should work. You need to provide more detail about problem you are facing for us to provide any suggestion.
Vivek Singh
Hi Krishna,
If this issue is not resolved yet, please let us know more detail about the issue (as request in last post).
Vivek Singh
Hi Vivek,
I have written the following code and have run it with the debugger attached to the board through CCS.
#define PORT_ECU_RESET() \
{ \
SysCtl_disableWatchdog(); \
HWREG(CPUSYS_BASE + SYSCTL_O_SIMRESET) = 0xA5A50001UL; \
}
Once this code runs the code gets stuck in system_post_cinit. It doesn't jump to flash. Is there any way to make the device reset without it being stuck in system_post_cinit?
Is that function on ROM ? If then this could be because with debugger connected, device boot as per emulation boot and you need to set it correctly to jump to flash. Can you please check emulation boot section in device TRM.