What precautions must be taken to avoid overwrite of program space in FLASH memory?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What precautions must be taken to avoid overwrite of program space in FLASH memory?

Jump to solution
777 Views
athmesh_n
Contributor IV

Will writing inside FLASH memory overwrite the program inside the FLASH memory? If so what are the precautions that need to be taken to avoid problems?

Processor   :   LPC 1517

IDE             :   LPCXpresso v8.2.2 [Build 650] [2016-09-09]

Labels (1)
1 Solution
642 Views
soledad
NXP Employee
NXP Employee

Hi,

There are three key issues with using flash memory:

• Erasing memory is on a per-sector basis

• Flash memory lifespan

• Reprogramming locations

Please check the attached application note.


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

1 Reply
643 Views
soledad
NXP Employee
NXP Employee

Hi,

There are three key issues with using flash memory:

• Erasing memory is on a per-sector basis

• Flash memory lifespan

• Reprogramming locations

Please check the attached application note.


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------