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/DRV8301-69M-KIT: Trying to get started with Debug

Part Number: DRV8301-69M-KIT

Tool/software: Code Composer Studio

I have downloaded the CCS and gone through all the samples and videos. I am trying to do the simplest thing - to load up any one of the sample projects and have it run so I can single step through the code. I have loaded a project and ran a build. That was successful. I tried in the Resource Explorer to have it find the test board which it did not. I typed in the F28069M which is the processor board with this kit and it seemed to do something. If I try to debug it tells me that I need a target configuration to run debug. The video for CCS shows a folder for the configurations but this is not in the sample projects. I try a Run which allows me to select a debug history where it will then Run. It starts up and shows me a New Configuration - Device Debugging but there are two entries below that which says Texas Instruments XDS100v@ USB emulator (Disconnected: unknown. One is for _0/C28xx and the second is for 0_/CLA_0. I can click on each and choose Connect and it immediately says suspended and no symbols are defined. I click on load symbols and can't find any file that seems correct. The getting started video says that the program should load and immediately go to the Main routine which it does not. I can click Run and it moves to a Suspended - SW Breakpoint status and then just sits there. 

I have clicked every menu and looked at all the info I can find and what there is does not in anyway match what I see. Can you please provide a link or description of what is needed to do the simplest run of one of the sample projects? I am an experienced (not with TI) software developer and if I can at least get the most simple Hello World example to correctly run on what I purchased from TI I am confident I can move forward but at this point for all of the documentation posted it does not correctly show anything I have found using the software. 

I am using Version: 10.1.0.00010 of Code Composer.

Thanks

  • Terry,

    Looking at the picture in the other thread it looks like the debugger is launched ok but that nothing is loaded.  i.e. it looks like waht we would call a projectless debug session was launched.  That is when the debugger is launched for a device but without an associated project.  When a debug session is launched associated with a project then it will automatically load the program and run to main().

    There is a CCS Fundamentals workshop here that may help you with getting started.  It is for a different C2000 device but the concepts apply.

    https://dev.ti.com/tirex/explore/node?node=ANJXzL69ZqXoHLjas70yCQ__FUz-xrs__LATEST

    I your case I think what has happened is that you created a target configuraiton file and a debug session was launched for that.  If you go to the properties of your project you can specify the target connection to use.  Then when you have this project selected and click on the bug button it will create a debug session associated with that project.

    Try goign to Resource Explorer

    Expand to here:

    Select this example

    Go to the top right and import it

    Go to the project properties and select the XDS100v2 as the connection

    I get a prompt about the project being created with a very old verison of the compiler and it asks me if I want to switch to use use a newer version.  I say yes.

    Now click on the bug button.

    You can likely do that with the project that you have already imported..

    I don't have a F28069M LaunchPad with me at home but that should work.

    Regards,

    John

  • This was a great help and I am up and working. Thanks so much!

  • No problem.  Great to hear that you are up and running.

    Regards,

    John