-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Milestone
Description
I have a similar problem than the issues #593 and #579. I can't flash my STM32L0 anymore and I have the failure "l1_stlink_flash_loader_run(0x8000000) failed! == -1".
- Stlink/v2-1 onboard
- Don't know, never changed, board bought in February 2018
- Linux Ubuntu 16.04
- st-flash version V1.5.0
- st-flash
- STM32L072CZ on the board "STM32L0 Discovery kit LoRa, Sigfox, low-power wireless"
st-flash write obj/l072.bin 0x8000000
st-flash 1.5.0
2018-03-21T19:35:00 INFO common.c: Loading device parameters....
2018-03-21T19:35:00 INFO common.c: Device connected is: L0x Category 5 device, id 0x20086447
2018-03-21T19:35:00 INFO common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x30000 bytes (192 KiB) in pages of 128 bytes
2018-03-21T19:35:00 INFO common.c: Ignoring 96 bytes of 0x00 at end of file
2018-03-21T19:35:00 INFO common.c: Attempting to write 57100 (0xdf0c) bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x0800df00 erased
2018-03-21T19:35:02 INFO common.c: Finished erasing 447 pages of 128 (0x80) bytes
2018-03-21T19:35:02 INFO common.c: Starting Half page flash write for STM32L core id
2018-03-21T19:35:02 INFO flash_loader.c: Successfully loaded flash loader in sram
2018-03-21T19:35:05 ERROR flash_loader.c: flash loader run error
2018-03-21T19:35:05 WARN common.c: l1_stlink_flash_loader_run(0x8000000) failed! == -1
2018-03-21T19:35:05 WARN common.c:
write_half_pages failed == -1
445/446 pages written
2018-03-21T19:35:57 INFO common.c: Starting verification of write complete
2018-03-21T19:35:57 ERROR common.c: Verification of flash failed at offset: 0
stlink_fwrite_flash() == -1