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.

CODECOMPOSER: (Error -1065 @ 0x3C): Errors debugging IWR6843AOP EVM

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: IWR6843AOP, IWR6843

Tool/software:

Dear,

I am writing a custom mmwave application for the IWR6843AOP board. I am able to compile my firmware binary and flash it onto the board.

I would like to know what is going on when the application runs so I am trying to put the board into debugging mode with my custom firmware. 
I followed these steps for doing so:

  • I flashed the board with the xwr68xx_ccsdebug binary
  • I created the target configuration file for the IWR6843 and placed this in the targetConfigs directory:

Now i do this:

Run -> Debug Project 
And then I get this error output:

Fullscreen
1
2
3
4
5
6
Cortex_R4_0: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x3c: (Error -1065 @ 0x3C)
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 12.8.0.00194)
Cortex_R4_0: File Loader: Verification failed: Target failed to write 0x00000000
Cortex_R4_0: GEL: File: C:\Users\dagma\AppData\Local\Temp\ti_cloud_storage\mmWave-Platform-Firmware.xer4f: Load failed.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

It's my first time debugging a project like this and creating a project so any feedback/input on how to solve this error is very welcome. If more information is needed, please let me know.

Best regards,
Dag