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.

TMS320F28035: Error connecting to running flash with Code Composer

Part Number: TMS320F28035


I have a program that when I used CC to burn into flash - runs perfectly. However when I power cycle the the F28035, I can tell I am getting some sort of CAN errors on initialization and I wish to debug this. I saw a YouTube video on how to connect emulator to running flash but when I go thru the steps, I get the following:

Break at address "0x3ff8a1" with no debug information available, or outside of program code.

The procedure is to right-click the target ccxml and select Launch Selected Configuration, then Connect Target and then load the symbols associated with the target (the .out file).

The procedure is to halt the program and allow CC to sync with the program and then allow me to step or any other debug action but it isn't working.

Am I missing a trick or is there a better procedure for connecting to a program already running from flash?

  • Jeffray,

    I think when it connects  the target, the gel file is loaded. In the Gel File, the function OnTargetConnect() is executed. Inside the function it is calling GEL_Reset().

    You can open unload the GEL file, or modify the GEL file OnTargetConnect() function so that it does not call GEL_Reset() function. If you modify the GEL file, then make sure it is saved and reloaded. Then connect the target and load the symbol.

    Please let me know it works for you.

    Thanks & Regards,

    Santosh

  • Yes, that worked as expected - thanks.

    So I believe that the GEL_Reset() function would be expected at other times. So I saved the new gel file as F28035_Connect.gel. Can I associate this gel file with a specific debug session?

  • Jeffrey,

    Yes, you can create a new target configuration file (.ccxml), and select new GEL file to that in the target configuration. You can use the new target configuration for debugging when booting from flash.

    Thanks & Regards,

    Santosh