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.

TMS570LS3137: Problems flashing the MCU

Part Number: TMS570LS3137


Hello, 

I have a problem trying to flash the MCU since I implemented a low power function of another thread. I send you the link:

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/693283/tms570ls3137-low-power-mode-and-can-wake-up?TMS570LS3137-Low-Power-Mode-and-CAN-Wake-Up

Since I tryed the EnterLowPowerMode function of the post, I cannot flash the chip.

I get the following errors during flah process:

Error connecting to the target:
(Error -1170 @ 0x0)
Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).

Error connecting to the target:
(Error -6305) PRSC module failed to write to a router register.
(Emulation package 9.1.0.00001)

Error connecting to the target:
(Error -6306) Failed to connect to PRSC module.
(Emulation package 9.1.0.00001)

It happened to me before but I could solve it playing with the reset button meanwhile it was flashing the MCU. However, this time is not working.

Best regards,

Leandro

  • Hi Leandro,

    I started to work on your issue and i will get back to you with an update soon.

    --
    Thanks & Regards,
    Jagadish.

  • Hi Leandro,

    Error-1170: This is usually caused by either a hardware failure on the board or invalid code on the MCU flash that causes it to reset itself continuously.

    please try this procedure to let CPU enter a debug state:

    1. Open the target configuration window, and launch the selected the configuration
    2. Switch to debug window.
    3. Press the reset (nRST) button and hold it.
    4. Click “Connect Target” immediately after you release the nRST button.
    5. The board should be connected after couple tries.

    --
    Thanks & Regards,
    Jagadish.