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