I want to read byte values from the Flash memory. My understanding is the code is simple. I am trying to do this in C . It looks like I set a value in PAGESEL and then read memory. I dont see a define anywhere that lets me read the byte. So the code would be :
unsigned char Temp;
PAGESEL=0x80;
Temp = ?;
Hello,
You can read the value directly from the address as shown below:
value = *(unsigned char*)0x0080U; //memory location you want to read is assumed as 0x80 here
Regards,
Arpita