STM32 F7 HAL_FLASH_Program() on sector 0
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-08-24 2:20 AM
Posted on August 24, 2016 at 11:20
hi,
ive problems to write some flash areas. using HAL_FLASH_Program() at higher sectors is working correctly. but if i want to write at the end of flash sector 0 it doesnt work. the value value is still 0xFFFF FFFF after writing. the program code is only using about the first 50% of sector 0. i checked the FLASH_OPTCR register nWRP[7:0] bits - all value 1 HAL_FLASH_Unlock(); is also done before writing to flash. thanks for help
This discussion is locked. Please start a new topic to ask your question.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-08-24 4:15 AM
Posted on August 24, 2016 at 13:15
Hi,
May be you can check if bootloader is used for section 0.RegardsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-08-24 5:34 AM
Posted on August 24, 2016 at 14:34
Hi,
i dont use any bootloader : MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 320K } regardsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-08-30 6:25 AM
Posted on August 30, 2016 at 15:25
any ideas?
thanks!Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-08-30 6:34 AM
Posted on August 30, 2016 at 15:34
Without attempting to gain real understanding: caching issue?
JWOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-06 12:36 AM
Posted on September 06, 2016 at 09:36
Hi,
Problem was caused by Segger j-link . Debugging with ST Link works as excepted. regards