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.

API to reboot/restart processor

Other Parts Discussed in Thread: HALCOGEN

Processor: RM48L952ZWT

Environment: Halcogen/CCS (Code Composer Studio)

Is there an API to restart/reboot the processor?

If not, what is a nice way to have code reboot/restart the processor?

  • Sarah,  The easy way is to write to the system exception control register (SYSECR, 0xFFFFFFE0). This register is documented in section 2.5.1.47 of SPNU503. Writing 0x8000 to this location will cause a system reset. In HALCoGen, include "system.h" and then like this:

    	systemREG1->SYSECR = 0x8000U;