Flash erase function HAL_FLASHEx_Erase issues with STM32L072cz
Hi ,
I am using the STM32L072Cz LoRa discovery Board and I am doing the flash erase by using the HAL function "HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *PageError)"
I given the Start address 0x08000000 and No of pages to be erased to be 400 .
then only page one has got erased and other pages didn't erased !!!
for testing i have given random page address and No of pages to be 1,then this function has erased.
please suggest me here why this function is not able to erase the more pages ???
