cancel
Showing results for 
Search instead for 
Did you mean: 

Reading data from flash memory_ SOLVED!!

Posted on July 25, 2011 at 09:01

Reading data from flash memory_ SOLVED!!

2 REPLIES 2
Posted on July 26, 2011 at 08:22

FLASH_Unlock();             

 data_r=*((uint16_t *) 0x08003f02); //read at 0x08003f02 flash memory address

FLASH_Lock();

 

flyer31
Senior
Posted on March 19, 2013 at 15:28

But the FLASH_Unlock is not necessary in such a case of only READING data (you would need it only if you want to write data or erase data in flash).

So then you can also skil the FLASH_Lock.