cancel
Showing results for 
Search instead for 
Did you mean: 

Why does STM32L0 Not Support TYPEPROGRAM_BYTE/ FLASH_TYPEPROGRAM_BYTE

Thomas Hoppe
Associate III
Posted on January 22, 2018 at 19:15

The HAL documentation

http://www.st.com/content/ccc/resource/technical/document/user_manual/41/78/8e/63/f9/32/44/12/DM00113898.pdf/files/DM00113898.pdf/jcr:content/translations/en.DM00113898.pdf

  seems to correctly mention, that for HAL_FLASH_Program(), only TYPEPROGRAM_WORD is supported. CubeMX also generates TYPEPROGRAM_BYTE but FLASH_TYPEPROGRAM_BYTE remains undefined. My question is, why is this programming type not supported on L0?

#cube-hal #stm32l0 #flash-storage
1 REPLY 1
Imen.D
ST Employee
Posted on March 22, 2018 at 10:56

Hello

Hoppe.Thomas

,

In STM32L0 reference manual, it is specified that programming in the Flash memory can only be performed by word or half-page.

Therefore L0 Flash driver does not support byte programming, and can not be modified to support it.

Kind Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen