2015-05-02 04:46 PM
Hello,
I have strange problem with flash programming ''on the fly'' on STM32F411-Nucleo When I use FLASH_ProgramDoubleWord (STD drivers 1.5.0), programming does not work. I know, it says that voltage needs to be between 2.7 and 3.6. I have 3.3V power supply. Code looks like similar:u8 data[200];
u16 pointer = 0;
/* NOT WORKS, program stuck */
for
(i = 0; i < (200 / 8); i++) {
FLASH_ProgramDoubleWord(0x08000000 + pointer, *(uint64_t*) &data[i * 8]);
pointer += 8;
}
/* WORKS */
for
(i = 0; i < (200 / 4); i++) {
FLASH_ProgramWord(0x08000000 + pointer, *(uint32_t*) &data[i * 4]);
pointer += 4;
}
Any ideas why is this happening?
#flash #programming #double-word
2015-05-03 05:13 AM
Do you have an external Vpp?
FLASH_ProgramDoubleWord needs between 7V and 9V applied to BOOT0 on stm32f4112015-05-03 06:26 AM
I see now, something is about 8-9V on VPP pin.
I will check more about that.