2016-11-25 05:34 AM
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
2016-11-25 06:24 AM
Hi,
Did you tried to use the ST-Link Utility tool for Flash erase?You'd really help if you provide more details about your environment and your complete code.
Regards