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.

Bootloader

Hi,

isn't good for the flash memory of my TMS57012, to be erased each time I upload the new program that should be tested ??

if isn't good so what should I do to avoid these ?? (I read something about "BOOTLOADER" but I can't find more documentation about how to use it with my TMS57012)

thanks in  advance for the help

  • Hi Issam,

     Your question is not clear to me. What do you mean by it is not good for the program to be erased each time you upload a new program? Are you worried about the number of erase cycles the MCU flash is able to support? Are you using the CCS to load your program currently?

    I just want to make sure the bootloader is what you are looking for. Below are application notes with examples of bootloaders using UART and SPI.  With the bootloader, you still need to load the bootloader into the flash using CCS or other flash loader utilities via the JTAG interface. The bootloader is a small piece of code that will then setup the communication interface such as SPI or UART and load your application code from the external host to the MCU's flash. 

    www.ti.com/.../spna198.pdf

  • The program space flash on the TMS570LS12x devices is specified at 1000 cycles. Even after the 1000 program/erase cycles the program flash will hold its value for 15 years. During software development where you usually do not see temperature extremes or 15 years between reprogramming, you will likely see the flash continue to program and erase properly many more cycles.

    The boot loaders also erase and reprogram the flash.
  • Hi,
    Is your question answered? If your question is answered can you please close the thread by clicking the 'Verify Answer' button? Thanks.