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.

AWR1843AOPEVM: How to send CLI_commands to AWR1843AOP in Debug mode

Part Number: AWR1843AOPEVM
Other Parts Discussed in Thread: AWR1843AOP, MMWAVEICBOOST, AWR1843

Hi,

I want to develop the AWR1843AOP code according to my application. I use CCS to Compile my code and debug it by AWR1843AOPEVM+MMWaveICBoost.

When i use debug mode in CCS, the UART ports of AWR1843 keep open by CCS. On other hand, demo codes that i use in CCS to debug, wait to receive Config data which should be send to module.

How can i use the demo codes in CCS and debug it? the code will wait to receive Config file by CLI_commands and then will continue.

thank you very much.

  • Hi,

    I assume you are using the mmWave SDK demo code.

    This demo is configured through the UART  using the Visualizer.

    Here are the steps to debug with CCS

    1) Load executables for both MSS and DSS

    This step is described in the SDK user guide

    C:\ti\mmwave_sdk_03_06_00_00-LTS\docs\mmwave_sdk_user_guide.pdf

    2) Run executables for both MSS and DSS

    3) Set breakpoint in the code at desired location

    Right Click - hardware breakpoint

    4) In the Visualizer, load desired configuration

    The code should stop at the breakpoint.

    At this point it is expected that the other core will crash because it is waiting on events from the core that is stopped with breakpoint.

    Thank you

    Cesar

  • Hi Cesar 

    I did steps 1,2 and 3 (in step 3, I didn't find hardware breakpoint and used software breakpoint). in step 4, in visualizer after connecting to AWR1843AOPEVM+MMWaveICBoost, i loaded Config file, but this error occurred in cmd command window:

    "A time out occurred before the terminator was reached." 

    and the visualizer didn't show any target.

    can you help me?

    thank you very much Cesar.

  • Hi,

    This error is caused by the UART communication between the board and the PC.

    Please make sure that

    • switches on AOP EVM and ICBOOST are configured properly
    • Serial COM ports are configured correctly in the Visualizer

    thank you
    Cesar