Hi,
I have the TMS570LS31xxUSB. I have been able to load programs to MCU a few times using the demos and the demo code. I have just generated my first code from HalCoGen and trying to load it to the MCU I get the following error.
FATAL >> CortexR4: Error connecting to the target: (Error -2062 @ 0x0) Unable to halt device. 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 5.1.73.0)
I'm not really sure what could have caused this, though it did correspond with changeing the erase settings to necessary sectors only. I have tried changing back to full erase and also updated from nowFlash to UniFlash 2.2.0, but am still getting the error message.
I am not yet very skilled with these things so please bear that in mind when giving instructions. Changing the frequency from 140MHz to 10MHz in nowFlash did not make any difference, and neither has disconnecting and reconnecting the board. Could you let me know what I should do in this situation.