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.

How to debug image loaded from ROM using CCS V5?

Hello,

I am trying to debug code using CCS v5 using EVM 6678. I have loaded image using the ethernet booting process and I have set some value at particular address. From websites I got that after loading symbols we can just use the hardware break points to halt the code and confirm the value at that memory address.

Can anyone suggest me how to put hardware break points in CCS v5?

My purpose is to verify the boot process. If there is any other way to verify this, please suggest that.

Thanks

gaurav

  • Gaurav,

    Hardware breakpoints are definitely a good tool for debugging a bootloader's process. A software breakpoint would be overwritten by the bootloading process, but a hardware breakpoint will not be replaced that way.

    In a source window, click on a line of code, then right-click to show a pop-up window. Breakpoint (Code Composer Studio) is the first command in that pop-up, and that leads to a second list that include Hardware Breakpoint.

    Once you have set a hardware breakpoint, the Breakpoint Window will be shown and you can edit any of the properties for your breakpoint as you need. Look at the different Actions that are available.

    Keep in mind that there are a finite number of Hardware Breakpoints that can be active at a time. This is a limited resource. There is no limit on the number of Software Breakpoints that you can set.

    Regards,
    RandyP

  • Hello RandyP,

    Thanks for the reply.

    I have tried same thing earlier also which you have mentioned. The problem is after clicking on the Breakpoint (Code Composer Studio), in second list  only one option comes that is "Break point" and clicking on that only sets the software break points. 

    Is it like my Code Composer Studio doesn't support hardware breakpoints or there is some connectivity issue.

    Version of Code composer studio I am using is "N201105110900". Please provide some suggestion on this.

    Thanks

    gaurav

  • Gaurav,

    We will try this in the Code Composer Forum instead of the C66x Multicore DSP Forum.

    Are you using an emulator or the simulator? This would be the Target Configuration that you have selected.

    I am using CCSv5.2.x, and I guess those numbers you are showing mean CCSv5.1.1, but this feature should be very similar.

    Regards,
    RandyP