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.

TMS320F28069F: C2000Ware : an issue with the f28069_sci_flash_kernel CCS project

Part Number: TMS320F28069F
Other Parts Discussed in Thread: C2000WARE, MOTORWARE,

Hello,

I have an issue with the f28069_sci_flash_kernel CCS project provided in the device_support folder of the C2000Ware package.

In order to implement the serial flash programming for our work, I am planning to employ the serial_flash_programmer.exe provided in the utilities folder of the C2000Ware package.

In an effort to evaluate the performance of the serial_flash_programmer, I have decided to use the proj_lab03b CCS project provided in the motorware software package as an application.

I have executed the serial_flash_programmer.exe with two files of both f28069_sci_flash_kernel.txt and proj_lab03b.txt generated from the respective CCS projects.

When the serial_flash_programmer.exe is executed, I am able to observe that the f28069_sci_flash_kernel is first loaded into the TMS320F28069F device and then the application of proj_lab03b is loaded successfully.

The Linker Command File of F28069F.cmd for the proj_lab03b CCS project contains the following statement to allocate code sections associated with ramfuncs to memory blocks.

---------------------------------------------------------------------------------

SECTIONS
{

   /* Allocate program areas: */
   .cinit              : > FLASHA_B,   PAGE = 0
   .pinit              : > FLASHA_B,   PAGE = 0
   .text               : > FLASHA_B,   PAGE = 0
   codestart           : > BEGIN,      PAGE = 0
   ramfuncs            : LOAD = FLASHD,
                         RUN = RAML0_1,
                         LOAD_START(_RamfuncsLoadStart),
                         LOAD_END(_RamfuncsLoadEnd),
                         RUN_START(_RamfuncsRunStart),
                         PAGE = 0

-------------------------------------------------------------------------------------------

Here the ramfuncs code section is originally alloocated to the FLASHD memory block.

 Now I have tried to allocate the ramfuncs code section to the FLASHE memory block by modifying the corresponding command line in the F28069F.cmd file as follows:  < ramfuncs            : LOAD = FLASHE,>.

When the proj_lab03b CCS project is rebuilt with this modification in the F28069F.cmd file, a new proj_lab03b.txt is generated by the CCS.

Next I have executed the serial_flash_programmer.exe with two files of both f28069_sci_flash_kernel.txt and the new proj_lab03b.txt.

Accordingly I am also able to observe that the f28069_sci_flash_kernel is first loaded into the TMS320F28069F device and then the application of proj_lab03b starts to be loaded.

However in this case the application of proj_lab03b is not loaded completely.

The loading process halts before completion.

Therefore I suppose that the f28069_sci_flash_kernel executes differently in accordance with whether the ramfuns code section is allocated to the FLASHD or FLASHE memory block.

I expect that the f28069_sci_flash_kernel was developed to execute in the same way irrespective of whether the ramfuns code section is allocated to the FLASHD or FLASHE memory block.

Please check this issue.

Thank you for your guidance.

G. Kim