where can I find a description (address, position) of the flash sectors of the STM32G family? The code generated by CUBE only says FLASH_SECTOR_0 etc, and the datasheet does not mention any sectors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-03 2:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-03 3:00 AM
which specific mcu? maybe try the reference manual
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-03 3:12 AM
CPU is stm32G031F4. I need to do some programmatic flashing and I consulted the datasheet and was not successful there. I worked with STM CPUs before but never touched flashing. I assume there are app notes but a quick search in the web yielded nothing. I just hoped, it is common knowledge an I just did not find it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-03 7:04 AM
>I just hoped, it is common knowledge an I just did not find it.
i dont think its common knoledge, and it depends of the type of flash or the way its wired internally to the mcu.
If youre using HAL,the implementations are mostly the same.
- Erase one page at a time minimum
- And then write into previously erased space, byte/int16 or in32 sizes.
>stm32G031F4, so only 16KB of Flash.
Take a look at the ref manual.
How did i knew whch reference manual was it?
I opened a new progect with cubeMx and went to help/docs and resources( ref manual
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-03 7:09 AM
Here can find some information about FLASH map memory of G0 family
