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.

TMS320F28335: TMS320F28335

Part Number: TMS320F28335

Hi TI.

I am studying FLASH API.

I'd like to erase only one memory unit, not whole memories in a FLASH sector. is it possible?

for example i designate the range of 0x00330000 to 0x008000 as FLASH B.

rather than erasing the all memories in FLASH B sector,

i'd like to erase the only one memory of 0x00330000 and write a new value in it.

is it possible?

I always feel thanks for your sincere help!


  • Hi Yoonseok shim, 

    You can not erase partial sector space.  Erase command works on the entire sector.

    Do you need to do EEPROM emulation on flash?  If yes, please take a look at

    Thanks and regards,

  • that is exactly what i want Vamsi!

    Thank you so much!

    you are my hero! :)

  • Hi Vamsi,

    I've recognized writing a single byte in Emulated EEPROM is available using 'EEPROM_ProgramSingleByte' function.

    however is it possible to erase single byte data previously saved in a designated address

    and then rewrite new data on it in Emluated EEPROM?

    It seems that 'Erase_eeprom' function is unable to erase the only one bytes but whole FLASH sector set as Emulated


    Thanks and regards,

    Yoon seok

  • Yoon seok,

    It is not possible to erase only the single address location even using the EEPROM emulation driver.

    EEPROM driver keeps track of the latest address for a given variable whenever it updates it in the next available address of the EEPROM sector.  Once the sector is full, it will switch to another sector with the latest value of the variable and erases the previous full sector.

    Note:. Please expect delay in our response.  No power due to severe winter weather.

    Thanks and regards,