Hi,
I don't understand the CMD file clearly. Is there any document describes it? The target chip is TMS320F28335!
Thanks in advance!
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.
Hi,
I don't understand the CMD file clearly. Is there any document describes it? The target chip is TMS320F28335!
Thanks in advance!
The format of the linker command file can be found in the TMS320C28x Assembly Language Tools User's Guide (SPRU513).
This can be found on the TMS320F28335 Product Folder in the Users Guide section.
Firstly you have a definition of address space divided into blocks.
For example: PRAMH0 : origin = 0x3FA000, length = 0x001000
You can nottice the name of the block, next there is a origin address (this is where the block starts in memory), finally you are describing the length of that block.
In the next part you are binding those defined above blocks to the parts of code. For ex. .text : > PRAMH0, PAGE = 0.
Definition of the CMD file is quite simple, but modifying and enhancing it sometimes is a little painful.