AnsweredAssumed Answered

stm32f302K8U6 crashes on flash page erase

Question asked by felix on Mar 17, 2015
Latest reply on Mar 17, 2015 by Clive One

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 disable
without a result..

maybe im missing something .. any help would be nice :)