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: Unable to access L2 RAM locations when we power cycle the Launchpad after flashing the code

Part Number: TMS570LC4357

Hi,

We are using Launchpad XL2-570LC43 (TMS570LC4357) and while we load the code in the controller using the onboard emulator, we are able to debug as expected and able to access RAM locations starting from 0x8000000. But if we terminate debug session, disconnect USB cable and connect it back (which powers launch pad) which means power cycle, connect the target using emulator without loading the code, we are not able to access RAM locations either through memory browser (error shown below) or through assembly code which will jus write some data into RAM locations.

"CortexR5: Trouble Writing Memory Block at 0x800000c on Page 0 of Length 0x4: (Error -1065 @ 0x0) 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 8.0.27.9)"

I am able to access RAM locations only after loading .out file upon power cycle and if we do a power cycle and connect the target, I am not able to access the locations.

Are there any limitations in Launchpad like this. I mean we are not able to execute the code freely upon power cycle.

Please let me know what could be the reason behind this issue. Also, please let me know the way of disabling ECC for L2 Flash and L2 RAM as we can disable ECC for TCM through System control register.

Regards,

Satya Sudhir