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.

IWR6843: Debug mode

Part Number: IWR6843

Our current sticking point is in debug mode. Indeed, we followed the instructions provided by your document: MMWAVE SDK Demo - 68xx DSP Version Lab User's Guide

Once the connection steps are done and the cortex and C674X are running, could you clarify the possibilities for sending a configuration to the sensor and starting the inference (like the "SensorStart" command).

  • Hi,

    Once the device is started, you can send over the configuration using the GUI for this demo, or you can make your own and send it over via a UART terminal. You can find some example configurations for this demo at <mmwave_sdk_location>\packages\ti\demo\xwr68xx\mmw\profiles

    Let me know if there are any further questions.

    Best Regards,
    Alec

  • Hi Alec,

    Thanks, I already sent a configuration, and made some changes in it.
    My problem now is that I am unable to send this config and start inference when running in debug mode with CSS because the COM ports seem busy. Could you guide me on how to communicate with the chip once entered debug mode please?

  • Hi,

    There should be no change in COM port functionality when in Debug Mode, you should be able to connect via a terminal regardless. Are you trying to connect via the visualizer or just using a terminal program such as teraterm/putty? Additionally, is this custom hardware or one of our EVM's?

    Best Regards,
    Alec

  • Ok it works now.
    Now, I would like to put breakpoints in the DPC_ObjectDetection_execute function in the objdetrangehwa.c file however by reducing the compilation optimization, the MmwDemo_configSensor() function in the mmw_cli.c is problematic. Do you have a solution to fix this problem?

  • Hi,

    First, it may be helpful if you elaborate on how it is being problematic so that I may provide more insightful advice. Secondly, due to the size of our radar data, we often do not have enough free space to completely disable optimization. I would recommend that you lower the optimization level only for the file which you need it for. You can do this by right clicking the file in CCSproject view and then going to properties->optimization.

    Best Regards,
    Alec