Hi!
I try to erase Bank2 using this code:
//Pages = 0x08080000;//bank2 start adress FLASH_UnlockBank2(); FLASH_ClearFlag(FLASH_FLAG_EOP | FLASH_FLAG_PGERR | FLASH_FLAG_WRPRTERR); FLASH_Status1 = FLASH_EraseAllBank2Pages(); // FLASH_Status1 = FLASH_ErasePage(Pages);
But FLASH_Status1 returns always FLASH_TIMEOUT
I can erase bank1 pages succesfully but i couldnt do it for bank2
(Also i cant write bank2 but i can write bank1 pages)
can you help me?
(I use stm lib V3.4.0)
Best Regards
Hi All,
Write/Erase operation to Flash Bank2 memory appears to be slow(The busy bit stays set for longer time).
Has any one faced this problem?
Is there any specfic settings for BANK2 flash thats need to be done?
Ajit