cancel
Showing results for 
Search instead for 
Did you mean: 

Flash writing is not working

TaronKim
Associate II

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

TaronKim_0-1730701297775.png

 

 

Thanks.

2 REPLIES 2
Sarra.S
ST Employee

Hello @TaronKim

Check STM32CubeF4/Projects/STM32446E_EVAL/Examples/FLASH/FLASH_WriteProtection at master · STMicroelectronics/STM32CubeF4 (github.com)

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.

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. 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..