In attempting to connect to the TMDXEVM6678L the 'Connect Target' is greyed out in CCS????
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.
In attempting to connect to the TMDXEVM6678L the 'Connect Target' is greyed out in CCS????
My guess is that you haven't "Launched Configuration" yet.
The procedure goes:
- Compile program
- Choose Target Configuration (it looks like you already have a target configuration)
- Launch Target Configuration
- Connect Target
- Load Program
- Resume (assuming it has run to main)
Tim,
They are using the CCS version that came with the eval;
It is CCS version 5.0 (v5.) It came with the EVM box.
Concerning the procedure;
- Compile program;
Yes, compiled successfully.
- Choose Target Configuration (it looks like you already have a target configuration)
Yes. I am sending you a snapshot at the bottom of this list.
- Launch Target Configuration
I’m not sure about this stage. How can I launch the target configuration?
- Connect Target
Fails.
Ah, "Launch Configuration" isn't an option from the "Edit" Perspective -- but it's easy to work around:
In the very bottom lefthand corner of the picture, there is an icon that, when you click on it, let's you add a "Fast View". Click on this icon (a small box with a star next to it), and choose "Target Configurations". Now there should be an icon anchored on the "Fast View" bar that, when you click on it, opens a directory tree that contains all of the target configurations. NOW you can right-click on the desired configuration, and "Launch Selected Configuration" is an option.
This launches the configuration that can then be "Connected" to. This also changes CCS to the "Debug Perspective", and the "Edit Perspective" can be switched to again through a number of ways, most often by a tab in the top right. Only one "Perspective" is shown at a time, but the other Perspectives are still "running".
However, since they are using v5.0 and a c66x, there's a chance that their version of CCS did not come with the GEL file that does memory / cache configuration -- and I believe DDR is unaccessible when the GEL file is missing.
But they might have one included already. I am not sure what the latest version is like, but a test to see if the GEL file is correct is to check the console output (inside CCS): when the configuration is "Launched", the console should have the messages:
C66xx_0: GEL Output: Setup_Memory_Map...
C66xx_0: GEL Output: Setup_Memory_Map... Done.
If this is the case, then please ignore the following paragraph.
If this is not the case, then more than likely the GEL file is missing. To fix this, download the patch folder that contains the GEL file at the Code Composer Studio website and down at 5.0.2, they have "Windows Version" and "Linux Version" files that eventually leads to a evmc6678l.gel file. To set this GEL file, in the "Edit Target Configuration Page" (the page that's in both of those screenshots), click on the "Advanced" tab near the bottom, expand the "Connection Tree" until Core0 is reached (for me, it is "Texas Instruments XDS100v1 USB Emulator" -> TMS3206678_0 -> IcePick_D -> subpath_0 -> C66xx_0. Once this is clicked, a pane with a "Browse" button should appear. Navigate to the GEL file (it uses relative paths, and be sure to put the GEL file where you want to keep it first before setting it, though you can change it later).
Once the GEL file is in place, whenever you connect Core0 (and only Core0 since that's the Core that specifies the GEL file. I believe only 1 core should do the initialization, so if something besides Core0 is needed, then unset the file from Core0 and set it on the desired Core). The output should be rather long about setting up various things. And it should have some "done" messages within 1 or 2 seconds. Then Load Program. Then it should go to main() and "suspend". Clicking "Resume" then starts the program from where it was "suspended", in this case, at main(). "Restart" puts the program back to main() without needing to reload the output file.
Tom,
If you install CCSv5.0.3 (recommended) the gel file will automatically be installed at:
C:\Program Files\Texas Instruments\ccsv5\ccs_base_5.0.3.00022\emulation\boards\evmc6678l\gel
http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5
Regards,
Travis