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
When different data is put on the same Flash Page, how to change a few individual data without affecting other data?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests