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.

IWR6843AOPEVM: +mmwaveboost Debugging doesn't work

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

..../mmwave_industrial_toolbox_4_7_0/labs/people_counting/68xx_3D_people_counting/docs/3d_pplcount_user_guide.html

..../mmwave_industrial_toolbox_4_7_0/labs/common/docs/software_setup/using_ccs_debug.html 

I followed the guide, but it doesn't work like the picture above.

1. import 68xx_3D_people_counting mss, dss project
2. rebuilt dss and rebuilt mss

3.  New target configurations -> board or device select iwr6843 -> save -> test connection -> link file to project mss -> launch selected configurations 

4. (debug window) mss, dss connect -> dss load -> mss load

....\mmwave_industrial_toolbox_4_7_0\labs\people_counting\68xx_3D_people_counting\prebuilt_binaries

Thank you

  • Hello,

    You need to use uniflash to load the CCS_debug binary before connecting with CCS. Please see the binaries at the following location.

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\utils\ccsdebug

    Regards,

    Jackson

  • I used Uniflash to load the CCS_debug binary according to the manual
  • Hello,

    Can you please give more detail about the issue you are seeing? It looks like you are able to load code and run it. Did you make any modifications to the code? It doesn't look like it. If you import the project into CCS and build it, are you able to run the code?

    Are there any errors reported in the console? Can you please post the console output when you click run.

    Does it let you load a cfg file? Or is there an error before that? If so can you please say which CFG file you are loading.

    Regards,

    Jackson

  • I didn't change the code.
    sending the cfg file did not respond. There was no output to the console

    The response is the same even if I load the 3D_people_count_68xx_dss.xe674, 3D_people_count_68xx_mss.xer4fin the path

    ....\mmwave_industrial_toolbox_4_7_0\labs\people_counting\68xx_3D_people_counting\prebuilt_binaries
  • There was no output to the console

    If you are able to load code via CCS, then press the run button, there should be some output printed to the CCS console. If not you, have missed some step in the load process. A typical console output will look like below, but if there are any errors generated they will also be printed here.

    Can you please confirm what is printed here after pressing run? This should indicate if there are any errors.

    Regards,

    Jackson

  • There was no output to the console
  • Hello,

    I just verified this again that after loading the CCS debug image with uniflash, then loading the prebuilt .xer4f and .xe674 files, then clicking run, the following is output in the console.

    [C674X_0] ObjDet DPC: objDetObj address = (ObjDetObj *) 0x81e028
    [Cortex_R4_0] **********************************************
    Debug: Launching the MMW Demo on MSS
    **********************************************
    Debug: Launched the Initialization Task
    Debug: mmWave Control Initialization was successful
    Debug: mmWave Control Synchronization was successful
    [C674X_0] Debug: DPM Module Sync is done
    [Cortex_R4_0] Debug: CLI is operational

    After loading the .xe files, the debug window should look like this the below image, can you verify that it gets set to main? Otherwise the program is not being loaded correctly.

    In your steps above, you are building the project locally but then loading the prebuilt binaries. This is ok, as the prebuilt binaries will work, but they are not in the same location. Also, you say you build > connect to the target > load the program, can you please confirm that you then click the run button, as nothing will be started until that happens.

    If this is still not working, please try running the out of box demo first to verify the HW is working and the connection is complete.

    https://dev.ti.com/tirex/explore/node?a=VLyFKFf__4.8.0&node=AIHy77joqu3jXFmjqwkBKQ__VLyFKFf__4.8.0 

    Regards,

    Jackson

  • there was my mistake.

    I read the answer and tried it again and it works. 

    thank you