AnsweredAssumed Answered

erase sector in STM32f407

Question asked by ASSAAD on Nov 25, 2016
Latest reply on Nov 25, 2016 by ForumSTM32.ForumSTM3

Hello all

I am use the USB flash upgrade  in the discovery in my boards ;

where  the user code starts at  0x8008000

in some boards about 10%  the usb flash upgrade does not work ; after debugging we noticed that the sector erase always return the error FLASH_ERROR_PROGRAM;

    erasestatus = FLASH_EraseSector(sectorindex, VoltageRange_3);

Could you please guide me to find the reason to solve my problem

Thank you inadvanced