size of flash in STM32G0J6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-28 3:18 AM
Hi,
I have a question about the size of the flash of STM32G0J6. When i use STM32 cube programmer - CLI i saw that the size of the flash of the STM32G0J6 is 64Kb. I try to write everywhere in this memory it works. The datasheet say that the STM32G0J6 flash size is 32Kb and when you look at register 0x1FFFF75E0 it says that the flash size is 32Kb. Is it normal ?
Solved! Go to Solution.
- Labels:
-
Documentation
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-15 4:59 AM
conclusion :
STM32G031J6 have a 64kb of usable flash
register 0x1FFFF75E0 return 32Kb
Datasheet says it has only 32Kb of flash
If you want to read protect the flash you have enough bit to protect 64Kb ( and you have to set all these bit ).
I will check other models of microcontroller if we have the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-28 3:28 AM
it is the STM32G031J6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-28 4:09 AM - edited ‎2024-03-28 6:19 AM
Hello @Nnabb.1 ,
Which CubeProgrammer version are you using?
Flash size information in Datasheet for STM32G031J6 is (32KB).
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-28 4:42 AM
hi ,
I use STM32CubeProgrammer v2.13.1. But know i have my forth core that use more than 32Kb. It works perfectly on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-28 5:38 AM
 
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-15 4:59 AM
conclusion :
STM32G031J6 have a 64kb of usable flash
register 0x1FFFF75E0 return 32Kb
Datasheet says it has only 32Kb of flash
If you want to read protect the flash you have enough bit to protect 64Kb ( and you have to set all these bit ).
I will check other models of microcontroller if we have the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-15 11:40 AM
One die frequently services several part# and an appropriate subset of the FLASH is tested at Final Test
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-16 2:38 AM
Ok but you still have a problem with the documentation. To write protect the flash you have to consider that you have 64Kb of flash and not 32Kb in FLASH_WRP. If you don't set all the bit it doesn't works.
