2017-11-27 07:07 AM
Hello,
I am using the FLASH_EraseProgram example to write/read from the flash memory.
When I am trying to write the flash with double words(64 bits) and then read the values, the values doesn't save in the flash. I don't get any errors.
If I am doing the same thing with a word(32 bits - FLASH_TYPEPROGRAM_WORD) it works.
What am i doing wrong ? What could be the problem ?
Solved! Go to Solution.
2018-01-08 01:40 AM
I suggest reading the Reference Manual and Datasheet of the devices. I'm not going to do it for you, but I do remember that on F4 line the maximum achievable flash programming size is limited by the supply voltage, e.g. under 2.7V you can only program one byte at a time. At 3.3V supply you can program a word at a time, but for double word programming you need a 9V dedicated supply for the flash interface.
2018-01-05 05:44 AM
same problem on the stm32f427igt6 with the lastest stm32f4 1.18 library
2018-01-08 01:40 AM
I suggest reading the Reference Manual and Datasheet of the devices. I'm not going to do it for you, but I do remember that on F4 line the maximum achievable flash programming size is limited by the supply voltage, e.g. under 2.7V you can only program one byte at a time. At 3.3V supply you can program a word at a time, but for double word programming you need a 9V dedicated supply for the flash interface.
2018-01-08 06:04 AM
Thanks Sir, it was the problem