2016-08-17 05:53 AM
Hi,
I have a stm32f405 on board connected to stlink v2. I am using both stm32 stlink utility 3.9 as well as stvp 3.3.8. When I erase/program sectors 0-3, all is fine. Sometime, I receive failure message on erasing sectors 4-6. However, I always receive this failure message when programming sectors 4-6 (sector by sector). Any help is appreciated. Thanks. ''Programming failed. Check that the device is erased before programming.'' I have tried with various speed and JTAG/SWD comms but none help. #stm32f405-programming-failed