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: IWR6843AOPEVM + MMWAVEICBOOST: Can't Debug on CCS

Part Number: IWR6843AOPEVM
Other Parts Discussed in Thread: AWR1843AOPEVM, AWR1843, , MMWAVEICBOOST, IWR6843AOP, UNIFLASH

Tool/software:

Hi there,

I’m extremely frustrated with trying to debug your examples on CCS. In my 10 years working with embedded systems, I’ve never encountered such issues with getting the debugger to work.

I’ve tried both CCS and CCS Theia, and I’ve worked with the IWR6843AOPEVM and AWR1843AOPEVM (with MMWAVEICBOOST). While I had some success with the AWR1843, it was only partial—debugging would sometimes start but would generally only work for one core (MSS or DSS) at a time, not both. Additionally, using breakpoints would often cause the debugger to stop functioning altogether.

We’ve now decided to use the IWR6843AOP due to certification issues with the 80GHz device. Unfortunately, with the IWR6843AOPEVM, I can’t get debugging to work on any of the examples, not even with MSS alone.

I’ve followed the guides in radar_toolbox_2_20_00_05/docs/software_guides/using_ccs_debug.html and radar_toolbox_2_20_00_05/docs/hardware_guides/evm_setup_operational_modes.html thoroughly. I’m very familiar with the process by now, but it’s still not working.

I can flash(with uniflash) and run your examples without issues. And before debugging, I’ve ensured that ccsdebug.bin is flashed. When using the option “Manage the project’s target-configuration automatically” in CCS Theia I can debug either MSS or DSS individually, but never both together with a target configuration, which is useless because both cores need to run for the detection algorithm to function.

When attempting to run a target configuration in CCS and connecting to either MSS or DSS, the debugger tries to execute code from random addresses, leading to errors like: “Break at address ‘0x0’ with no debug information available, or outside of program code.

Could you please provide guidance on how to debug the area_scanner project and how to disable build optimizations? Is it possible to use IAR or Keil instead of CCS for this? Also, console only shows just a part of the logs, where do I find the rest of them?

Thank you for your help.

Best regards,
Ed

  • Hi Ed,

    Below are some of the steps that might help you in getting your setup to function

    1. Run the out of box demo with IWR6843AOPEVM in standalone mode. I assume you have already done that and see that the demo is functioning properly.

    2. When debugging with IWR6843AOPEVM, refer to the attached picture for the correct switch settings on the IWR6843AOPEVM and MMWAVEICBOOST

    3. As you mentioned, you are able to flash ccsdebug.bin and after that boot in functional mode. Do monitor the SOP jumper settings on the MMWAVEICBOOST 

    4. Launch the target configuration file in latest version of CCS. Do not use Theia. You should be able to connect to MSS and DSS simultaneously and you can load the code on both the processors

    5. When using the break points, you can use hardware breakpoints to halt the code.

    Regards

  • Hi Abhishek,

    Thank you for the instructions. Already did the steps 1 and 2, all examples work when I try them in stand alone or even with MMVACEICBOOST when flashing manually with uniflash.

    What do you mean by "monitor the SOP jumper settings" in step 3? I have it in functional mode and only put it in flashing mode when I flashed ccsdebug.bin.

    Okay, I'll be using the last version of CCS, but I found out that Runtime Object View doesn't work on the last version of CCS (and seen it on a couple of posts on this forum).

    I tried the out of box example, but it's weird since it only contains the MSS project. I had previously tried the out of box example for AWR1843AOPEVM, and it had both MSS and DSS projects. Why does it not contain both projects for IWR6843AOPEVM?

    Anyway, I tried it and can only run the MSS core, I attach screenshots:

    Any thoughts?

    Regards,

    Ed

  • Hi

    In Step 3, I wanted to mention that you can keep the jumpers same as in picture to boot device in functional mode

    The out of box demo only contains the MSS project as all the processing is done on MSS. Are you able to run this MSS only project correctly in CCS?

    To run both on MSS and DSS, you can use the 3D people tracking demo in radar tool box. You can find the demo at the below location

    radar_toolbox_2_20_00_05\source\ti\examples\People_Tracking\3D_People_Tracking

    Regards

  • Hi Abhishek,

    Thank you for clarifying. Yes, I can run correctly the MSS project in the out of box example.
    I tried the 3D_People_Tracking example, but I have the same problem of being able to debug and run only one between MSS and DSS at a time.

    I have these three Target configurations:

    The first two are automatically generated from "Project --> Properties --> General --> Manage the project's target configuration automatically" and they work individually. But only one between MSS and DSS runs, while the other one tries to execute from a random memory address.

    I also created my own (user defined) target configuration, that you can see in the picture above. But doesn't work at all:

    It's the same with every project, I'm able to run one between MSS and DSS, but never both together. Any suggestions about how to fix this?

    Thank you,

    Ed

  • Hi Ed,

    In Test.ccxml, Based on the picture above, you are able to connect to both Cortex_R4 and C674x. 

    Are you able to download the binaries for both the cores separately. Both the cores have separate CCS projects and you need to build them separately.

    if you are able to download, you can run them one by one. There is a sync between both the cores.

    If you want to use breakpoints, please use hardware breakpoint

    Regards