When different data is put on the same Flash Page, how to change a few individual data without affecting other data?

Post Reply
a_ziliu
Posts: 208
Joined: 20 Mar 2017, 10:52

27 Mar 2017, 14:26

The memory architecture used in the NuMicro? microcontroller (MCU) is Flash and its operating procedure can be divided into the following three parts:
Erase Page
Program Flash
Read Verify Flash

To update a few data, you need to first backup data on the entire Page to RAM or Flash on different Pages that has been pre-erased, modify the data you want to change, and then write the modified data back into the memory through the following procedure:
Erase Page
Program Flash; write the modified data into the Flash
Read Verify Flash; compare and verify the Flash value with the modified value

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests