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/AWR1642: The AWR1642 board debugs the LVDS program. After entering the debug mode, it can start from the first sentence of the main function, but when it runs, it will report an error.

Part Number: AWR1642

Tool/software: Code Composer Studio

The AWR1642 board debugs the LVDS program. After entering the debug mode, it can start from the first sentence of the main function, but when it runs, it will report an error, hope to answer! Thank you.

My emulator is XDS2xx USB and the Console prints:

CortexR4_0: Can't Run Target CPU: (Error -2043 @ 0x14988) Unable to clear requested breakpoint from memory. 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 8.0.27.9) 
CortexR4_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. 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 8.0.27.9) 
CortexR4_0: Unable to determine target status after 20 attempts
CortexR4_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

  • Qingchao,

    Which board are you referring to? That information is not clear from your post. If you are using one of TI's AWR1642BOOST EVMs, then you should use the onboard XDS110 emulator. Please also ensure that you are using the correct device linker file. For the MSS, you should be using the mss_mmw_linker.cmd file that is provided in the SDK.

    Regards,
    Kyle
  • Kyle,
    Thank you for your answer. My board is AWR1642BOOST EVM . And according to your advice , I found the mss_mmw_linker.cmd file in the mmwave_sdk_02_00_00_04 folder,then copied it to the project. But the problem is not solved. Furthermore I found the mss_cbuff_linker.cmd file in the path of \ti\drivers\cbuff\test\xwr16xx . Does this have any effect?

    Regards,
    Du
  • Qingchao,

    Simply copying the mss_mmw_linker.cmd file to your project would not resolve the issue. You need to specify and designate this linker command file in the project properties for the MSS.

    Additionally, you should use the XDS110 emulator that is already available on the board as is through the micro USB connection on the board.

    The mss_cbuff_linker.cmd file does not have an effect on the project either.

    Regards,
    Kyle
  • Hi Kyle,
    According to what you said, I have solved this issue. Thank you very much for your help. And good luck with your work!

    Yours sincerely,
    Du