How to write and erase variables in internal memory of stm32f030c6 using standard pheripheral library?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-11 11:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-11 11:55 PM
What is "internal memory" ?
The SPL versions contain example for most use cases, did you check ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-11 11:57 PM
flash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-12 12:34 AM
> flash
IAP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-12 1:40 AM
yes,
i only want to save and read value of variable(eg. uint16_t a ;) in stm32f030c6.
like in EEPROM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-12 3:14 AM
You could have told in the first place, not just throw in some single words.
Still, I would think twice about that.
The MCU is a single bank design, code execution will stall while erasing/programming. Or you move the IAP code to RAM. The datasheet states 30ms as typical page erase time.
Pretty sure there are IAP examples in SPL code you can download for the F030, the sector layout is documented in the reference manual. Other thread here cover IAP as well.
The datasheet does not mention a guaranteed number of erase/program cycles, assume the standard 10.000. This will spell trouble for frequently changing data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-12 3:17 AM
EEPROM emulation in STM32F0xx microcontrollers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-12 3:25 AM
I have found the answer.
EEPROM emulation in STM32F0xx microcontrollers (AN4061)
here i found the solution
check the files , I am uploading it here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-12 3:29 AM
Thanks AvaTar for good response
