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: DSLite: Is erasing a previously flashed file necessary when loading a new file?

Part Number: TMS320F28069
Other Parts Discussed in Thread: UNIFLASH,

I've configured DSLite to load an out file to flash on my TMS320F28069 from the command line.  I notice my old tool (Signum-based) would erase the previously flashed file, and I believe UNIFLASH also does this as a default option.  I can use the "-b Erase" argument to do this with DSLite.

Is erasing the previous program necessary?

What potential issues can result if the previous program is not erased?

Thanks!

  • Hi James,

    In order to program the flash, the sector must be erased. This is due to the flash technology.

    However, if you are only updating a few sectors, only those sectors need to be erased. You can only erase sectors at a time. But you can program words at a time.

    Updating flash works in this way: The sector is erased, changing the values to 0xFFFFFFFF. Programming changes bits from a 1 to a 0.

    Hope this helps!
    sal
  • I suppose that makes sense! I was confused since I hadn't specified DSLite do the erasing, but it appears it's part of the normal flash process the tool uses. Thanks!