cancel
Showing results for 
Search instead for 
Did you mean: 

Cortex m0+ eeprom

sebastien2399
Associate II
Posted on October 30, 2015 at 15:55

Hello

,

I use a

Cortex

M0

+ to

develop

an application.

With this

cortex

, I need

to 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 #stm32cube
2 REPLIES 2
Posted on October 30, 2015 at 16:37

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.

JW

sebastien2399
Associate II
Posted on October 30, 2015 at 17:02

Thank you

that

helped me !!!