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: Bootloader for TMS320. Load new program

Part Number: TMS320F28388D

Good afternoon.
I'm using a TMS 320F 8388 processor.
I have a task.
I need to place a bootloader in the first sector of the processor's memory. After this bootloader starts, it should wait 100ms for a command and then transfer control to the program located in the sector below.
Question:
1. Is it possible to organize such a bootloader?
2. I need to update the firmware via the bootloader. Can I use C2000 Hex Utility to convert the file for loading the firmware?
3. I've been working with the file generated by C2000 Hex Utility and realized that there is data that needs to be written to RAM. Is this normal? So, when updating the program via the bootloader, do I need to write something to RAM?

  • Hello,

    1. Is it possible to organize such a bootloader?

    Yes, this is feasible. 

    2. I need to update the firmware via the bootloader. Can I use C2000 Hex Utility to convert the file for loading the firmware?

    Yes, this is the recommended approach. Please refer to Section 4.1 C2000 Hex Utility in SPRUJH3 for more details.

    3. I've been working with the file generated by C2000 Hex Utility and realized that there is data that needs to be written to RAM. Is this normal? So, when updating the program via the bootloader, do I need to write something to RAM?

    Yes, this is expected. Please verify that the RAM contents don't overlap with the bootloader's allocated RAM. Generally, the bootloader is used to program the flash contents for the application, and then the application performs a memcpy() for functions intended to be executed from RAM.

    Best,
    Matt