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.

CCS/IWR6843ISK: Unable to load file to Cortex R4

Part Number: IWR6843ISK

Tool/software: Code Composer Studio

Hello,

firstly, an overview over what I'm using:

- chip version ES 1.0
- due to the chip version: labs from the industrial toolbox v3.6.2
- according to the user guide: SDK 03.02.00.4
- CCS v 9.2

I'm using the area scanner demo which works fine for the demo .cfg file. Since I changed some configurations in the demo.cfg file and the sensor wasn't responding anymore I tried to start the debug mode to find the reason. Having flashed the debug file from the aforementioned SDK version, I tried  to load the file from lab 17 onto the Cortex R4, where this error message was generated:

Cortex_R4_0: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x3c: (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.3.0.00003)
Cortex_R4_0: File Loader: Verification failed: Target failed to write 0x00000000

Funnily enough it has already worked twice before but the same error keeps coming up. 
I have already tried to adjust the JTAG TCLK settings to 2.5MHz and the jumpers are set correctly.
My memory map looks like this:


which seems odd to me and the gel file doesn't contain any information about the memory allocation either. I also added the memory browser view with the according adress that is unable to be accessed.


Maybe you have an suggestion on how to solve the issue.

Thank you in advance.

  • Hello Paulina,

    Just to confirm:

    Paulina Lange said:
    Having flashed the debug file from the aforementioned SDK version

    -You have flashed C:\ti\mmwave_sdk_<ver>\packages\ti\utils\ccsdebug\xwr68xx_ccsdebug.bin

    Paulina Lange said:
    I have already tried to adjust the JTAG TCLK settings to 2.5MHz and the jumpers are set correctly.

    -What are your jumper settings for SOP0-SOP2? Are you functional mode (001)? (see page 22 of http://www.ti.com/lit/ug/swru546b/swru546b.pdf)

    Thanks

    ki