2015-10-30 07:55 AM
Hello
, I use aCortex
M0
+ to
develop
an application.
With this
cortex
, I needto write
in memory
and this
take
12 seconds by bytes
.Could someone
tell me if
this is normal
or not?
thanks in advance .
I'm using this function for writing data : HAL_FLASHEx_DATAEEPROM_Program(TYPEPROGRAM_FASTBYTE,address,data) #stm32 #eeprom #bug #stm32cube2015-10-30 08:37 AM
This has nothing to do with the processor core.
There is no true EEPROM in neither of STM32; EEPROM is emulated in software. >HAL_FLASHEx_DATAEEPROM_Program(TYPEPROGRAM_FASTBYTE,address,data) This is what I am talking about. There are layers in HAL which may take long to execute. Write your own software to fit your own needs. Also, code from RAM can run simultaneously with programming FLASH (if the particular STM32 model you use supports running code from RAM). Also, some STM32 models feature double-banked FLASH, where one bank can be programmed while program runs from the other. The Reference Manual is your friend. JW2015-10-30 09:02 AM
Thank you
that
helped me !!!