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/TMS320F2812: Using XDS510LC with CCSv6 free license

Part Number: TMS320F2812

Tool/software: Code Composer Studio

I am using CCS Version: 6.0.1.00040. I have a free license. 

When I open CCS I see "Free license" in the bottom right corner. When I launch a debug session I get the error shown below and the license information in the bottom corner of CCS changes to "Unlicensed". I am using the Spectrum Digital XDS510LC USB JTAG emulator to connect to the board containing the TMS320F2812 processor. What is the reason?

Error in CCS:

License cannot be acquired.

The Code Composure Studio license that you are using only allows the following connection types:

-XDS100 class emulators

-MSP430 connections

-simulators

-EVMs/DSKs/eZdsp kits with onboard emulation

 

Examples of restricted connections include:

-XDS200, XDS510 and XDS560 emulators

  • You are attempting to use CCSv6 with the free license and an XDS510 class debug probe. That class of debug probe requires a full license to CCS. Note that we no longer charge for Code Composer Studio licenses. You can download CCSv8.3 here: processors.wiki.ti.com/.../Download_CCS

    That version does not require a license file.

    If you for some reason need to continue to use the very old CCSv6 we have posted license files on the download page that you can use to unlock it: processors.wiki.ti.com/.../Download_CCS

    Regards,
    John
  • I downloaded the license file for CCSV6. I now see Full License in the bottom right corner. When I open the .ccxml target configuration file and click on "Test Connection" I see that the JTAG is able to connect to the target and I get the following result:

    [Start: Spectrum Digital XDS510USB Emulator_0]

    Execute the command:

    %ccs_base%/emulation/drivers/sdjtag.exe -f %boarddatafile% -v -X reset -X scantest

    [Result]

    ** BoardFilePath: C:\Users\z002cxdu\AppData\Local\TEXASI~1\CCS\ti\0\0\BrdDat\testBoard.dat
    ** Resetting Emulator
    -- Emulator is Reset
    ** Emulator Scan Test
    -- Found JTAG IR Length of 38
    -- Found 1 device(s) in the scan chain

    [End: Spectrum Digital XDS510USB Emulator_0]

    When I launch the debugger, the JTAG seems to disconnect from the target. I get the following error in CCS:
    C28xx: GEL: Error while executing StartUp(): Target must be connected at GEL_Halt() [f2812_used_with_v2.3.gel:15] at StartUp() .

    And now when I click on "Test Connection" in the .ccxml file I see the following error in the "Test Connection" window:

    [Start: Spectrum Digital XDS510USB Emulator_0]

    Execute the command:

    %ccs_base%/emulation/drivers/sdjtag.exe -f %boarddatafile% -v -X reset -X scantest

    [Result]

    ** BoardFilePath: C:\Users\z002cxdu\AppData\Local\TEXASI~1\CCS\ti\0\0\BrdDat\testBoard.dat
    ** Resetting Emulator
    ERROR -- XDS510USB Reset Failed
    ERROR -- Check power to your emulator/eZdsp
    ERROR -- Then check your port address

    [End: Spectrum Digital XDS510USB Emulator_0]

    Why is the debugger disconnecting?
  • "C28xx: GEL: Error while executing StartUp(): Target must be connected at GEL_Halt() [f2812_used_with_v2.3.gel:15] at StartUp() ."

    This sounds like an old GEL file is being used here. With CCSv3.1 and later the Startup() function just contains debug setup commands that do not require a connection to the device. There is then a separate OnTargetConnect() function that runs after the target is connected and contains the setup commands that require a connection.

    The message mentions a f2812_used_with_v2.3.gel. This is not a file that comes with CCSv6.0.1. I suspect that someone at your company wrote that for a very old version of CCS. You could open the .ccxml, select advanced at the bottom. Select the 28x CPU in the tree on the left. Then on the right change the GEL file. You could try the one located here <install dir>/ccsv6/ccs_base/emulation/gel/f2812.gel

    Regards,
    John