Why does STM32L0 Not Support TYPEPROGRAM_BYTE/ FLASH_TYPEPROGRAM_BYTE
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-01-22 10:15 AM
Posted on January 22, 2018 at 19:15
The HAL documentation
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
Labels:
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-03-22 2:56 AM
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
Thanks
Imen
