3 Summary
This application note provides four different C functions for accessing the flash memory.
The following functionalities are covered in this application note.
- Flash page write.
- Flash page read.
- Flash byte write.
- Flash byte read.
The firmware places the flash write routines inside the boot section and the remaining code in the application section of the flash memory. The firmware available with this application note performs the above mentioned operations on ATmega128. It also explains the procedure to re-use the application code for other devices.