AnsweredAssumed Answered

stm32f405 failed erase/programming from sector 4-6

Question asked by cheon.benedict on Aug 17, 2016

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.