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: Debugging overhead_3d_people_count_68xx_mss failed

Part Number: IWR6843

Hi, 
I follow the instructions at https://dev.ti.com/tirex/explore/content/mmwave_industrial_toolbox_4_11_0/docs/software_guides/using_ccs_debug.html

I managed to get it working only once.

Now I wonder what the right steps are after a small modification of the mss_main.c file

I rebuild the target, select Launch selected configuration.

Right click Texas Instruments XDS110 Debug Probe_0/C674X_0 and select "Connect Target"

Then pressed "Running" for this target.

I repeated the steps for Texas Instruments XDS110 Debug Probe_0/Cortex_R4_0, but now I also loaded the program.

This will result in a Cortex crash:

Are there any steps I missed?

  • Hi,

    This picture tells me that you're not loading the symbols. First, I'd recommend you group the cores like the documentation you linked suggests. Here's the procedure that I would suggest you follow when you want to make a change to the MSS code:

    0. Your program crashes. Don't click the red square to quit, simply on the group that contains both cores, disconnect either with the dropdown, or with ctrl-alt-d. This ensures you disconnect from both cores, and you don't have to re-launch the configuration.

    1. Make your changes to the code and build the MSS project again. You can rebuild, but doing this will recompile all the code, instead of just the changed files (which is what build does).

    2. Check that the .bin file is up-to-date with the timestamp. It should match the time when your build finished.

    3. Manually reset the device with the button on the device.

    4. Click on the group again, then reconnect to both cores either via dropdown or with ctrl-alt-c

    5. Load each program to each core individually by selecing the MSS and loading the MSS program, then selecting the DSS and loading the DSS program. Make sure the MSS core gets the .r4f and the DSP core gets the DSS image. Alternatively, if you've already loaded the images once, you can use reload, which loads the most recently used image, either via the dropdown, or with ctrl-alt-r. This will still work even if you've built new images as long as they have the same name. When you reload, make sure you've selected the group, not each core individually as you did when you loaded the first time.

    6. At this point, each core should show (suspended, halted at breakpoint), and it should be at the top of the main for both mss and dss. Now, click on the group to control both cores, and click the green arrow to run.

    Similar instructions are in section 4.2 of the linked doc. 

    Best,

    Nate

  • Hi,

    With the info you provided, I was able to get the system running. Thanks!

    Can I use the same mms bin file on a 'normal' target, like IWR6843AOP from Mistral?

    The prebuild binary is working on this Mistral one, but my modified version, working on the IWR6843ISK-ODS seems not to work on Mistral.

  • Hi Bob,

    For new questions, please open a new thread. If you copy+paste this in a new thread, I'll be happy to help. This helps us keep the forum organized.

    Best,

    Nate