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.

TMS570LC4357: Record the number of resets

Part Number: TMS570LC4357

Dear team:

Application scenario: After power-on encounters safetylib self-build failure, it needs to trigger a self-reset to re-check the self-test

My customer would like to know, is there any way for this chip to record the number of self-resets of the chip, and only clear the recorded number of resets during power-on reset?

Best regards

  • is there any way for this chip to record the number of self-resets of the chip

    No, the HW doesn't has this feature to record the number of self-resets or reset.

    The SYSESR contains the reset reason. After reset, you can read this register to figure out the reason which causes the reset (SW reset, CPU reset, watch dog reset, PORRST, etc).

    But you can program the number of reset to flash or EEPROM.