User byte address in option byte (store 2 byte except flash memeory)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-08 12:15 AM
Hello All,
I am using stm32g030f6 mcu.
I have done this project before with stm32f0 mcu and now i am porting it to stm32g0 mcu.
flash size of each is 32kB.
The project is filling up all the processor's memory.So I used option bytes to keep some values in memory with stm32f0 mcu.2 bytes is needed to store only.
I want to do the same with this stm32g0 mcu.But I cant find the user option byes in the option bytes.I found the option bytes but I don't have info about where is user option byte that doesn't effect operation of the processor.
I know how to write and read to option bytes.
Or if you know another locatiıon to store 2 bytes except flash memory it would be also helpfull.
Thanks.
Regards.
EMRE
Solved! Go to Solution.
- Labels:
-
Flash
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-08 2:19 AM
Hello,
Some suggestions, but there is no magic solution when there is no space:
- OTP flash, but it's OTP
- TAMP.BKPxR registers that can survive RESET, but not power OFF
- Optimize/shrink your code to free a 2Kb page
- Use an external I2C flash if your design has already an I2C bus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-08 2:19 AM
Hello,
Some suggestions, but there is no magic solution when there is no space:
- OTP flash, but it's OTP
- TAMP.BKPxR registers that can survive RESET, but not power OFF
- Optimize/shrink your code to free a 2Kb page
- Use an external I2C flash if your design has already an I2C bus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-15 10:47 PM
I optimize my code and use last 2 kb page for data.
Thanks.
EMRE
