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.

Reusing CCS5 Debug?

Other Parts Discussed in Thread: AM3358

It seems whenever I have a debug session to my AM335x Starter Kit and I either want to replace the program running in it, or reload the current program due to source code changes I have to completely reset everything and start again. (eg Ctlrl F2 - Terminate, Reset button on SK, 'Launch selected configuration', 'Connect Target', etc.)

If I don't I get either unexpected behaviour and/or error messages, eg

CortxA8: Trouble Writing Memory Block at 0x4c0000e4 on Page 0 of Length 0x4: (Error -1065 @ 0x4C0000E4) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)
CortxA8: GEL: Error while executing OnTargetConnect(): Target failed to write 0x4C0000E4  at *((unsigned int *) (0x4C000000+0x0E4))=(unsigned int) 0x06 [AM335x_SK_1.2.gel:668]  at DDR3_EMIF_Config() [AM335x_SK_1.2.gel:757]  at AM3358_SK_Initialization() [AM335x_SK_1.2.gel:742]  at OnTargetConnect() .
CortxA8: Trouble Reading Register CP15_Registers_CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00) Unable to access device register. 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.232.0)

If I modify the current source and respond Yes to "A file that you are debugging (xxxx.out) has been modified
do you want to reload this file?" Even that hardly ever works (often something weird appears on the display, sometimes nothing appears to happen).

What am I missing?