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.

TMS320F280025C: Using eeprom (emulation) and DFUs

Part Number: TMS320F280025C

Hi,

I'm new into the TI C2000 microcontrollers and only with STM32 uC before (several years now). For a project (motor control application) I need to know, how the DFU process works and how user application variables can be stored. The TMS320F280025C has only 128kByte of flash, so I think there will not be too much available for user memory and also only a single bank DFU will be possible.

So my main questions are:

  1. Is there a library for EEPROM emulation and if so, what kind of page size is available on the TMS320F280025C? (In the datasheet it states, that there are 16 sectors, do all have 8kbyte?)
  2. Is there an encrypted bootloader, so that I can do in-the-field DFU without risking of IP loss? On the STM32 there was the SBSFU, which worked really great.

Kind regards,

Sebastian

  • Hi Sebestian,

    1. Yes, there is 128KB of flash.  If you want to emulate EEPROM on this small bank, you need to at least dedicate 2 sectors for it.  However, if you don't have lot of data that needs to be stored and also if the number of times that you have to store the data is less than the Write/Erase spec of the device (20K cycles per sector), then you can simply allocate one sector for EEPROM data - and you can erase/program the data each time you need to update.  Please note: The EEPROM guide that Yanming shared explains the EEPROM emulation on some of our previous gen devices that do not have ECC and also use a different flash API to program the flash.  For F280025x, we don't have an active example for EEPROM emulation.  However, the concept explained in the above guide is still applicable for this device if you want to implement one.  Note that at least 64-bits (aligned on 64-bit boundary) have to be programmed at a time since ECC is calculated for each of the 64-bits.  

    2.  Yes, only a single bank FU will be possible on this device.  For DFU, please open a separate post so that we can assign to the corresponding expert.  

    Thanks and regards,
    Vamsi