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.

TMS570LS1114: why cannot the MCU start after reset?

Part Number: TMS570LS1114
Other Parts Discussed in Thread: TMS570LS1115,

hi,when i Debug MCU diagnostics,

In the diagnosis process of Sram 2bit ECC, it was interrupted by RTI interruption, and 2bit ECC failure was triggered in the interrupt process, and MCU triggered reset. In the startup code, PBIST self-check of Sram could not be completed all the time, and remained in the following code, may I ask what is the reason?

Can MCU be interrupted by external interruption during the process of calling the diagnostic library for diagnosis?

  • yeah, it can be interrupted by the interrupt .... Interrupts are designed that way, they interrupt the microcontroller, no matter what is it doing.

  • You inject 2-bit SRAM ECC error in RTI interrupt service routine. The 2-bit ECC error will generate data abort. 

    and MCU triggered reset

    How does MCU trigger a reset: CPU reset by CPU self-test, or SW reset by write data to SYSECR register, or inject OSC fault etc?

    You said: why cannot the MCU start after reset?

    Does MCU stop working? or MCU just gets stuck in your code? or JTAG connection is lost?

  • The MCU is stuck in code, as shown in the figure above, and the PBIST self-check of memory has never been completed.

    I conducted the test in DEBUG mode. Does this have any impact?

  • The status register after MCU reset is SYSSER and its value is 0x08. According to the manual, this bit represents the external reset flag

  • EXTRST bit in the SYSESR register, SYSESR[3], gets set for all the following reset conditions: nRST, SW reset, OSC failure, Watchdog reset

    When you perform PBIST, did you test any un-implemented memory group?

    This is the list of RAM groups on TMS570LS1115:

  • Hollysys uses TMS570LS1114. TMS570LS1114 doesn't have FlexRay module which means that the PBIST RAM Group 16 and 17 are not implemented on TMS570LS1114 device.

    Please remove the RAM Group 16 and 17 from your PBIST test.