Hi,
I was trying to program a STM32F411CE which was in LPM (Standby) perhaps I should have power cycled it first. Anyways, it seems to have been left in a partially erased state and I cannot recover it. Any ideas to recover and reprogram ?
Thanks
Display All
I was trying to program a STM32F411CE which was in LPM (Standby) perhaps I should have power cycled it first. Anyways, it seems to have been left in a partially erased state and I cannot recover it. Any ideas to recover and reprogram ?
Thanks
Source Code
- Firmware: J-Link V9 compiled Oct 9 2015 20:34:47
- Hardware: V9.30
- PC = FFFFFFFE, CycleCnt = 00000008
- R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
- R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000
- R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000
- R12= 00000000
- SP(R13)= FFFFFFD8, MSP= FFFFFFD8, PSP= 00000000, R14(LR) = FFFFFFF9
- XPSR = 01000003: APSR = nzcvq, EPSR = 01000000, IPSR = 003 (HardFault)
- CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00
- FPU regs: FPU not enabled / not implemented on connected CPU.
- Reset delay: 0 ms
- Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
- Erasing device (STM32F411CE)...
- ****** Error: Failed to erase sectors 0 @ address 0x08000000 (erase error)
- Info: J-Link: Flash download: Total time needed: 0.057s (Prepare: 0.051s, Compare: 0.000s, Erase: 0.001s, Program: 0.000s, Verify: 0.000s, Restore: 0.004s)
- ERROR: Erase returned with error code -5.
- Downloading file [test.bin]...Info: J-Link: Flash download: Restarting flash programming due to program error (possibly skipped erasure of half-way erased sector).
- Info: J-Link: Flash download: Skip optimizations disabled for second try.
- Error while programming flash: Programming failed.