Question
stm32f302K8U6 crashes on flash page erase
Posted on March 17, 2015 at 10:35
Hi,
i try to do some eeprom emulation and got crashes with the stm32f3 eeprom emulation code. now i do it by hand an found that it crahses on the page erase..in detail its when it starts the erase so on FLASH->CR |= FLASH_CR_STRT;its running at 72Mhz.. the crasy thing is that it workes one time if the page is already empty.. so when i do a full flash erase while programming it it workes 1 time but if there is something written on the page it crashes..i tried:- enabling the HSI- differend flash latencys- interrupt disablewithout a result..maybe im missing something .. any help would be nice :)