F29H850TU: Multicore debugging

Part Number: F29H850TU
Other Parts Discussed in Thread: F29H85X-SOM-EVM

Tool/software:

I cannot debug the 3 cores for the target, when i start the debug session, i can run and break core 1, and when i load core 3 program, it's not working and stuck in free-running state after reset.

This is Debug output
 '

Threads: as shown below CPU1 running and CPU3 free running state.


how i can fix this issue and if there is any documentation for multicore debugging it will be helpful.

  • Hi Mahmoud,

    I would recommend this approach: F29H850TU: Mult-core debugging issue on CCS Version: 20.3.0.14__1.9.0. BTW when you get into this free-running state, you will need to reset the debugger. I also see that you are in an ISR (most probably NMI) which means you should reset the CPU and restart the code. 

    I'm working on multi-core documentation currently as well that will be published on ti.com. 

    Best Regards,

    Aishwarya

  • I have a very similar issue trying to run the cpu1/3 blinky multicore with  CCS 20.2.0.12_180 on an F29H85X-SOM-EVM. Seems no either project or non-project based launches end up in the same way. That is both processors showing as running but no LED's blinking and looking like they are just processing NMI. They cant be paused,

    The errors listed in the previous post occur when you try to load a program and if I do that I get the same result. However the comment in the code says load symbols. If you load just the symbols there is no error but the cores do not run.

    Is there anything you can suggest to get this going or give some indication of when the documentation will be available?  

  • Simon / Mahmoud,

    Have you followed the steps mentioned within the example header exactly, including changing bank modes in project-less debug? Do try this again, and if you still see any issues, please provide your exact steps and set-up to reproduce the issue. If you haven't already, download the latest F2x-SDK 1.02.

    Best Regards,

    Aishwarya

  • In have changed the bank modes to two for both projects, the ones ending _c29x1/3 although my understanding is that when _c29x1 is flashed it will also flash the application for core 3 so when it is released it will have the software to start. In that sense _c29x3 is never flashed directly so there should be no need to change the debug mode for that, Is that correct?

     

    The steps taken

    1. Import the led_ex1_blinky_cpu1_cpu3_multi project.

    2. Switch both projects ending  _c29x1/3 to debug flash settings, bank mode 2.

    3. Checked the other debug settings against here 7.1. Debug Overview — Code Composer Studio 20.3.0 Documentation. The flash settings are different to what i have presented but matched as best i can.

    4.. Build both projects via the grouped led_ex1_blinky_cpu1_cpu3_multi project

    5. Start project less debug by right clicking on _c29x1/targetConfigs/F29H859TU9.ccxml

    6. Connect to C29xx_CPU1 and load via Run->Load->Load Program led_ex1_blinky_cpu1_cpu3_multi_c29x1.out.

    7. Program loads, runs and halts at entry

    .

    8. Click the blue arrow to run the program which then halts at ESTOP after CPU3 is released. If that core is running at this point I would expect one of the LED's to be blinking but they are not.

    9. Connect to CPU3 and Run->Load->Load Symbols  led_ex1_blinky_cpu1_cpu3_multi_c29x3.out

    10. Attempt to run CPU1 which halts in an NMI

    Could you please let me know what I am doing wrong? I have tried to Load Program on CPU3 and tried project based debug but they all end up in the same place.

    Regards

    Simon

  • Hi Aishwarya,
    I've followed this approach and there is no difference in the output.