2024-11-03 10:22 PM
Hello, Flash writing is not working.
When i update firmware, then Writing is working well only one time.
But after this time, result is fail in HAL_FLASH_PROGRAM()
MCU : STM32F446RCT7
Thanks.
2024-11-04 02:17 AM
Hello @TaronKim,
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-11-04 02:25 AM
Please use the code pasting tool </> and not bitmapped screen shots.
Working once suggest you fail to erase the blocks on the second go around.
You don't show enough code to fully convey the context.
2024-11-04 11:19 PM
hello,
Before you program the flash, you need to erase it first.
2024-11-04 11:49 PM
Oh i see.
Then for example, when i use 0x0801FFF0 address for flag, how can i erase only 0x0801FF0 address?
Do you have any solution?