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: HCLK frequency crashed Hercules MCU

Part Number: TMS570LC4357

I am using TMS570LC4357 and the design utilized GCLK (PLL) 300 MHz and HCLK 100 MHz, and everything was ok. Then, i decided to raise HCLK for some reason, and set HCLKCNTL register (GCLK divider to generate HCLK) to 0 which created HCLK = 300/1 = 300 MHz, which is unfortunately above maximal value. As soon as i programmed Flash, MCU is unreachable by JTAG debugger (XDS200). No resets/power-cycles help.

The message from Code Composer Studio when i try to Flash is "CortexR5: Error connecting to the target: (Error -1141 @ 0x0) Device is not responding to the request. 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). (Emulation package 9.8.0.00235)
IcePick: Power Failure on Target CPU "

Is there a way to revive the MCU and download the previous code version?

Thanks, 

Alex 

  • Hi Alex,

    HCLK=300MHz violates the device spec. But it doesn't block the JTAG. What is the value of VCLKs in your configuration?

    Can you please try the procedure below?

    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
  • Thank you Sir!

    Upon soldering push-button to nRST pin and several attempts to quickly release push-button and Connect Target, the new code is written to Flash!