Hi,
I'm working with a RM48HDK trying to implement a system reset command to perform a software restart.
I've tried both:
systemREG1->CPURSTCR |= 1U
and
systemREG1->SYSECR |= 1U << 15
both of them works only when the microcontroller is in debug state (usb debugging trought CCS) but not outside debug. Why?
I've tried to put the reset instruction inside my interrupt function and inside the main but the result is the same. The MC reset only when in debug.
Thank you