This program illustrates how to erase, write, and read FLASH memory from application code written in C . This routine exercises the upper 128- byte FLASH sector.