2011-07-25 12:01 AM
Reading data from flash memory_ SOLVED!!
2011-07-25 11:22 PM
FLASH_Unlock();
data_r=*((uint16_t *) 0x08003f02); //read at 0x08003f02 flash memory address FLASH_Lock();2013-03-19 07:28 AM
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.