AWR2944: CCS debug error (unable to write memory)

Part Number: AWR2944
Other Parts Discussed in Thread: DCA1000EVM, SYSCONFIG

Tool/software:

Hello,

I am working with the AWR2944 radar board and DCA1000EVM. My goal is to capture raw ADC data and eventually modify the MSS firmware (without relying on mmWave Studio).

Setup:

  • AWR2944 board connected via XDS110 (USB) to CCS 12.

  • mmWave MCU+ SDK 04.07.01.03 with DFP 02.04.18.00.

  • CCS builds: out_of_box_2944_mss and out_of_box_2944_dss both build successfully after fixing post-build Node.js path issues.

Changes made:

  • In MSS SysConfig I disabled IPC/RPMessage since I only need MSS for raw data at first. However, I later had to also build DSS because the demo image depends on both MSS and DSS.

Problem:

  • When I try to debug/load the MSS binary (out_of_box_2944_mss.xer5f) in CCS, I get this error:

  •  (Error -2062 @ 0x0) when using SOP011 - development mode.
  • (Error -1065 @ 0x40) when using SOP101 - flashing mode.

context: 
Cortex_R5_0: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x40: (Error -1065 @ 0x40) Unable to access device memory. 
Cortex_R5_0: File Loader: Verification failed: Target failed to write 0x00000000
Cortex_R5_0: GEL: File: ...out_of_box_2944_mss.xer5f: Load failed.

Questions:

  1. Which SOP mode should I be using for JTAG debug with CCS? (I currently tried 011 for development and 101 for flashing, but I still cannot load to memory).

  2. Is there a specific load sequence required (MSS first, then DSS, then RadarSS) to avoid this memory access error?

  3. Are there any additional CCS target configuration settings (e.g. TCLK speed) I should adjust for stable debug on AWR2944?

  4. Should i re-enable IPC/RPMessage? 

Thank you in advance.

  • Hi Mahmoud,

    Which SOP mode should I be using for JTAG debug with CCS?

    You need to use Functional mode.

    Is there a specific load sequence required (MSS first, then DSS, then RadarSS) to avoid this memory access error?

    Firstly, you cannot connect to RadarSS (RSS or BSS). mmWavelink to used to configure the Radar Frontend. In the SDK demo, MSS communicates with RSS and configures the Radar Frontend.

    The issue that is you are facing is mainly due to the SOP mode that you are using. Can you try using functional mode?

    Should i re-enable IPC/RPMessage? 

    Yes, you need to enable IPC in sysconfig. MSS communicates with RSS using Mailbox. By disabling IPC, you are eventually disabling the mailbox communication between MSS and RSS along with the communication between MSS and DSS.

    Regards,

    Samhitha