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.
There is a shared object – int array[] between Write and Read. Write sets the array, Read gets the array and sorts ascending. Write a program to implement the write/Read question by using synchronization mechanism and GUI.