This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

sd_flash_page_erase.

I am trying to save data to the flash memory.  My starting file is the ble_app_uart_pca10040 (s132). I am using the sd_flash_write address is 0x007ffd0 and a value of 0; I then use uint16_t value1 = *(uint16_t *)ADDRESS_ADR which is set to 0x7ffdo. I have verified that the write and read work! Now I need to erase the flash so I can use it again! I have tried page numbers (1 through 3) and it has not work! I would really like to just erase one 32 bit area od the flash! (And have the code as simple as possible!

Thanks!

Mike

Related