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.

Force a reset

Other Parts Discussed in Thread: HALCOGEN, TMS570LS0332

Hi,

I am using the tms570ls0332, CCS6.1 and halcogen 4.1

 

When I run in to certain error conditions, I want to restart the processor. It seems I should be able to do this by using the resetEntry interrupt vector, but I can't get it to work.

 

How can I get it to reset?

 

Thanks,

David

  • Hi David,

    The easiest way for the application to generate a system reset is to write to the System Exception Control Register (SYSECR at address 0xFFFFFFE0). A write of any value other than the default state will cause a system reset.

    The reset handler routine can then look for bit 4 to be set in the system exception status register (SYSESR at 0xFFFFFFE4) to identify the intentional software reset from other reset causes.

    Regards, Sunil