Skip to main content
n239955_stm1_stmicro_com
Associate III
July 25, 2011
Question

Reading data from flash memory_ SOLVED!!

  • July 25, 2011
  • 2 replies
  • 836 views
Posted on July 25, 2011 at 09:01

Reading data from flash memory_ SOLVED!!

    This topic has been closed for replies.

    2 replies

    n239955_stm1_stmicro_com
    Associate III
    July 26, 2011
    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
    March 19, 2013
    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.