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.
Hello,
we would like to change from TMs32028069 to 28076 (CCSV9.3.000xx)
After importing from D: \ ti \ c2000 \ C2000Ware_3_03_00_00 \ device_support \ f2807x \ examples \ cpu1 \ gpio_setup
in the CCS and successful translation
I have questions
1. From which folder is the linker.cmd file called during the translation process?
2. which linker.cmd file is used (name of the file?
3. How can I tell CCS that it is using my own linker.cmd files?
The reason: We save executable and tested program parts in FLASH, the other parts in RAM, so that we can test them conveniently.
The program parts to be tested in the RAM then use the finished CODE in the FLASH.
This is done e.g. via the #pragma DATA_SECTION (font_8_16_full, "dataA"), a #define FLASH_OR_RAM and a separate Linker.cmd file.
Best regards
P.S .: Import via D: \ ti \ c2000 \ C2000Ware_3_03_00_00 \ driverlib \ f2807x does not work with the error message Compiler version '20 .0.lTS 'is not currently installed!
Before that, the CCS was updated.
Hi,
The linker command files for the f2807x device is available in the folder <c2000ware>\device_support\f2807x\common\cmd.
The cmd file should either be added in the CCS project (like adding a .c file) or included in the linker option (Project properties->Build-> C2000 linker -> File search path).
Most of the examples uses 2807x_Generic_RAM_lnk.cmd/2807x_Generic_FLASH_lnk.cmd. But certain examples needs some sections and uses different linker command files.
I would recommend you to add the 2807x_Generic_FLASH_lnk.cmd to your CCS project and make updates as needed. Make sure the cmd is removed in the linker options.
Hope this answers your question.
Regards,
Veena
Hi,
Thank you for your prompt reply. That solves the problem.
Kind regards
Friedrich
Sorry, this too quick
>The cmd file should either be added in the CCS project (like adding a .c file) or included in the linker option (Project >properties->Build-> C2000 linker -> File search path).
I have it tested.
It's no going.
"Memcpy (& RamfuncsRunStart, & RamfuncsLoadStart, (size_t) & RamfuncsLoadSize);" is not called in "InitSysCtrl". You have to switch to FLASH in "Manage Configurations", then "memcpy (& RamfuncsRunStart, & RamfuncsLoadStart, (size_t) & RamfuncsLoadSize);" is called.
Please leave this tread open until I have tested the rest.
Best regards
Hello,
I have renamed 2807x_Generic_RAM_lnk.cmd1, which means that it can no longer be active. Then I have this file in 2807x_eigener_lnk.cmd renamed and copied into my PROJECT. 2807x_eigener_lnk.cmd thus has the same content as 2807x_Generic_RAM_lnk.cmd. This doesn't work. Then I tried to copy 2807x_eigener_lnk.cmd to the folder D: \ ti \ c2000 \ C2000Ware_3_03_00_00 \ device_support \ f2807x \ common \ cmd. This doesn't work either. Please give me instructions so that the linker accepts 2807x_eigener_lnk.cmd.
Best regards
Hi Friedrich,
Apologies for the delayed response. Is the issue resolved?
You can just add the required cmd file in the CCS project and make you remove the other cmd file from the build and remove from the Linker options.
Regards,
Veena
Hello,
sorry, unfortunately no.
If you had instructions on where I could include my own LINKER.cmd file, this would be nice.
best regards
Friedrich
Hi Friedrich,
You can include a cmd file just like including a .c file. Right click on the project->Add files. You can also drag and drop the required file to the CCS project.
Please make sure that :
Regards,
Veena
sorry, I already wrote it above. Your suggestion doesn't work. First picture: In Manage Configurations ... (double click) you have to create your own name and enter the name here 2807x_eigener_lnk.cmd. The next two pictures show the other settings. The fourth picture shows where 2807x_eigener_lnk.cmd is. With best regards Friedrich
Hi,
What is the issue you are facing? I see that you have correctly included the eigner.cmd gile in your project. Are you saying CCS is not picking this up? Are you getting link issues while building the project?
Regards,
Veena
Hello Veena,
didn't you see and read that I solved the problem?
As I have already noticed, your instructions did not lead to success.
There is a lot more to do, as the pictures show.
I hope that I could help readers of this thread with the pictures.
I left this thread open so that other readers can react to any positive comments from you.
I wish you a nice day and stay healthy.
With best regards
Friedrich
P.S .: If you want and you no longer have any useful comments, feel free to close the thread.
Sorry, there is the next problem.
First of all: the hardware is equipped (TMS320F28076 with everything necessary).
With the XDS100V3 I was able to load the program into the RAM and start and it runs correctly (2807x_eigener_lnk.cmd == 2807x_Generic_RAM_lnk.cmd)
Then I swapped the content of 2807x_eigener_lnk.cmd with 2807x_Generic_FLASH_lnk.cmd.
Now I get the following error message:
C28xx_CPU1: GEL Output: Memory Map Initialization Complete C28xx_CPU1: Flash Programmer: The calculated system clocks (190.00) is not within the valid range for this device [0.00,120.00]. C28xx_CPU1: File Loader: Memory write failed: Unknown error C28xx_CPU1: GEL: File: D: \ CCSV9.3 \ CODE_28076 \ FRD_TEST_IOs \ CPU1_FLASH \ FRD_TEST_IOs.out: Load failed.
First question: Where is the system clocks set to 190.00?
Second question: Where and how do I have to set the system clock so that the error is eliminated? With best regards
Also, I would recommend you create a new thread on this issue.
Regards,
Veena
I believe you have created a new thread and the issue has been resolved. Marking this thread as closed