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.

CCS: Debug TMS320F2837xS blackhawk usb2000 controller

Tool/software: Code Composer Studio

Hello,

I need to know if  the blackhawk USB 2000 Controller can be used with TI Code Composer in order to debug code written for TMS320F28377S-based custom board.

I have to work with different configurations of a source code (FLASH, FLASH_DEBUG, RAM, RAM_DEBUG) and I can't know which of them I can use to perform debug operations.

Can you tell me where I can learn how to debug with these objects?

Thank you 

  • FLASH, FLASH_DEBUG, RAM and RAM_DEBUG are build configurations for your project. Build configurations have their own set of compiler/linker build options and can even have different source files. In your case I am betting that both are true.

    I am assuming FLASH and FLASH_DEBUG are setup with a linker command file that puts the program in FLASH and that RAM and RAM_DEBUG have a different linker command file that puts the program in RAM. I.e. there will be 2 linker command files in your project and one of them will be getting excluded depending on which build configuration is active.

    As far as the _DEBUG vs the ones without _DEBUG typically people have different optimization settings for the compiler. You can debug using any of these configurations unless you have a build option set to not include any symbolic debug information. Typically debugging with high level of optimizations is more challenging as the compiler will be more aggressive in scheduling instructions so you don't have as much source code correlation.

    Note that the Blackhawk USB 2000 Debug Probe is quite old and will not work with CCSv9 and later. You will want to use CCSv8.

    Sounds like you are new to using CCS. I would suggest trying the this workshop which shows the basics of using CCS on a C2000 device.
    dev.ti.com/.../node

    Regards,
    John
  • Hi John,

    Thank you, Thank you,, Thank you, Thank you, Thank you, Thank you .....

    Very precious.