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: Problem communicating with the sensor

Part Number: IWR6843
Other Parts Discussed in Thread: UNIFLASH, , MMWAVEICBOOST

So i recently bought a mmwaveicboost and IWR6843 antenna, but im having some trouble running the demo from the mmWave Demo Visualizer. I can flash the board using UniFlash, but when i change the SOP2 to open, restart the sensor, connect the demo visualizer with the correct COM ports, the demo only shows "waiting for data ..." even after i click "Send config to mmwave device". I've tried the "68xx - People counting demo" from the TI Resource explorer and again the same results (can flash the board but no communication after), using this demo the message is "Warning: Unsuccessful read: The specified amount of data was not returned within the Timeout period..".

  • Hi Adonai,

    On some of the boards, SOP0 and SOP2 are mislabeled. SOP0 is the bottom SOP pin.  Please ensure this is closed and SOP2 (top pin) is open.

    If this step does not fix the issue, please try the following:

    1. After flashing the board with the Out of Box demo, disconnect the board from power and let it sit for 1 minute.
    2. Without hitting the reset button, reconnect the board to power, and attempt to connect and run the out of box demo.

    Regards,

    Justin

  • Just tried this and the problem persists. Im flashing with the SOP2 pin closed and running the demo with it open (after restarting the board unplugging it from the power).
  • Hi Adonai,

    I have a suspicion there may be an issue with the boot procedure of the device that is stopping the BSS from booting properly. I want you to check the following:

    1. If possible, use software like tera-term to open the UART serial port on the device.  If the device is working properly, it should output text that says "mmwave demo>".  However, if it is not working properly, there will be no text.  Ensure your baud rate is set to 115200.
    2. Run the demo in debug mode. If the board finishes booting, the last message from the Cortex R4F will be CLI Initialized. If this message does not appear, check to see if the demo has gotten stuck in the MMWave_Start() or MMWave_Sync() loops.

    Regards,

    Justin

  • Hi Justin,
    How can i run the demo in debug mode?
  • Hi Adonai,

    Please see section 3.2.2 "CCS development mode" of the SDK User's Guide. The SDK user's guide can be found inside any version of the sdk you have downloaded in the docs folder.

    Regards,
    Justin
  • So, here are my results:
    1 - The tera term showed no text on the UART port
    2 - On CCS i've created a configuration like the user guide described, but when i click on "Debug", the on "Connect target" (there are 2 options , im clicking on the Cortex R4), it only shows the following message : Break at address "0x121fc" with no debug information available, or outside of program code.

    The project that im using on the CCS is "mmwave_sdk_68xx_mss" (maybe thats the problem?). If this is not the project, can you please send me the link to the right one?

    Regards,
    Adonai
  • Hi Adonai,

    Once you have connected to the target, you need to load the project code. (Step 2 in section 3.2.2). For the purposes of this debug, please use the precompiled binary at  C:\ti\mmwave_sdk_03_00_00_08\packages\ti\demo\xwr68xx\mmw\xwr68xx_mmw_demo_mss.xer4f. 

    Note that the 68xx SD OOB demo does not require the DSP so you can leave the DSP unconnected in CCS.

    You should see output similar to the following in the CCS console:

    2. After a moment, halt the R4F core using the pause button in the CCS toolbar and take a snapshot of the function call trace as shown below. Please provide the call trace snapshot from your EVM for the failure condition.

    Thank you,

    Justin

  • Hi
    So i've just read the user guide and cant figure out how to use the precompiled xwr68xx_mmw_demo_mss.xer4f on the CCS. Can you help me on this?

    Thanks again
  •  Here's the print from CCS. Im loading the xwr68xx_mmw_demo_mss.xer4f file by right clicking on the target configuration and adding it on the "Program" tab.

    And the console shows "Texas Instruments XDS110 USB Debug Probe_0/Cortex_R4_0 : Target must be connected before loading program." before i click on "Connect target"

       

  • Hi Adonai,

    Apologies for the late reply. After launching the target configuration, you will only interact with the "Debug" tag, shown in your post above. For each core, you will need to:

    1. Right click on the core and click "connect"
    2. Right click in the core and click "Load Program"

    Regards,

    Justin