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.
Tool/software: Code Composer Studio
Hello,
I would like to ask you for an advice. I have two programs for TMS320F2808.
The first one is the bootloader and the second one is the application. I need
to know how to load *.out file containing the bootloader into specified flash sector
and how to concurrently load *.out file containing the application into different
specified flash sectors. I have been using CCS v6 and XDS100v2 emulator.
Thanks in advance for any suggestions.
You'll need to change the linker command file (e.g. F28335.cmd for the TMS320F28335) to specify the memory layout. It defines the memory layout for your code and variables. All code is placed in the .text section unless specified by #pragma SET_CODE_SECTION.
SET_CODE_SECTION and SET_DATA_SECTION are described in section 6.9 of www.ti.com/.../spru514l.pdf. Those pragmas are used to place code and data (i.e. variables) respectively in a specific section of flash or RAM.
Stephen
Hello stevenh,
thank you very much for your answer. I have followed the second
option in your second message. I have firstly loaded the bootloader
into Flash A memory. Then I wanted to test the actual state of the target
through my monitor and service application running on the host PC
(I should see that the target is processing the booloader). But
the result is that in the service application I can't see that the bootloader
is processed (I can rely on there is no problem in the service application).
The service application communicates with target over CAN.
Could interfere that I am concurrently connected to the target from the
service application over CAN and from CCS through JTAG? Does it exist
any possibility how to let the target to run independently on CCS and JTAG?
Thanks.
If you are in control of the software now, I would think it would best to use the uC's bootloader.
Benefits of using uC's bootloader:
1. The production line doesn't have to download the bootloader,
2. The production line doesn't have to physically connect the XDS100v2 to the board.
In other words, production will be saving time and money.