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.

TMS320F28069: Placing a Binary file in a Flash section

Part Number: TMS320F28069


Hi,

We are using TMS320F28069 microcontroller.

We have to load a binary file (eg:-  file.bin,  1K) in to the internal Flash memory using linker commands during the linking process. This file is already added in the project folder.

What is the method/linker commands for adding this file to a particular memory location in the Flash?

Please help.

Regards,

Shijo Thomas

  • Shijo,

    I'd like to use the Boot ROM image as an example on how to assign constant data to a section in code(flash/RAM/ROM is just the address range).  Loading the resultant .coff in CCS will take care of programming the flash.

    In this path C:\ti\c2000\C2000WareVX.x\libraries\boot_rom\f2806x\v1_1\rom_sources\source take a look at the FPUmathTables.asm and in the /rom_sources/lnk/ you can see how this gets assigned.

    Note, that this will require you to reformat the data from your binary file, but I think this should be easy enough to automate with a python or equivalent script.

    Best,
    Matthew