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.

TMS320F28388D: Is the C2000Ware F2838xROM directory suppose to serve the same purpose as the boot_loader directory in TivaWare?

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hi,

I am aware that TivaWare provides the full source code for a customizable bootloader that resides within the flash memory of the MCU and as well as an entire user guide document pertaining to boot loaders.

I am also aware that there is the libraries\boot_rom directory in C2000Ware. That directory contains the ROM bootloader source code for many different MCUs. For now, I am only interested in the F2838x boot loader code found in the f2838x\revA\rom_sources\cpu1\F2838x_ROM\bootROM\source subdirectory of the libraries\boot_rom directory. When I asked about the purpose of the libraries\boot_rom directory, Christopher told me that "Additionally, the bootloader source code enables users to be able to create their own custom (ex: SCI bootloader) to put in their flash if desired."

I just want to confirm that this is indeed the intended use of the source code found in that directory. That is to say, for creating a custom boot loader firmware that resides within the MCU's flash memory that depending on certain conditions could either proceed to the run the main firmware, or download data from some connection in order to perform an update on the main firmware and/or itself.

Sincerely,

Howard Li

  • Hi Howard Li,

    You may have already reviewed the "Chapter 5 ROM Code and Peripheral Booting" in the TRM.  The source code provided in the C2000Ware path that you referred is nothing but the entire boot sequence/boot flow and the boot loaders explained in this TRM chapter.  

    Yes, you can use those boot loaders to download (i) the flash programming kernel (uses the flash API) in to the RAM (ii) the custom boot loader image in to the RAM (iii) program the custom boot loader in to the device flash using the flash programming kernel.

    Please take a look at the https://www.ti.com/lit/pdf/sprabv4 

    Thanks and regards,
    Vamsi