Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32F4: flash loader run error #787

Closed
goog opened this issue Mar 29, 2019 · 1 comment · Fixed by #987
Closed

STM32F4: flash loader run error #787

goog opened this issue Mar 29, 2019 · 1 comment · Fixed by #987

Comments

@goog
Copy link

goog commented Mar 29, 2019

cheng@ubuntu:~/stlink/build/Release$ ./st-flash write /home/cheng/stm32f4/arm-rtems4.11/c/stm32f4/testsuites/samples/hello/hello.bin 0x8000000
st-flash 1.5.1-21-gc6836b4
2019-03-29T00:43:07 INFO usb.c: -- exit_dfu_mode
2019-03-29T00:43:07 INFO common.c: Loading device parameters....
2019-03-29T00:43:07 INFO common.c: Device connected is: F4 device, id 0x10076413
2019-03-29T00:43:07 INFO common.c: SRAM size: 0x30000 bytes (192 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 16384 bytes
2019-03-29T00:43:07 INFO common.c: Attempting to write 180852 (0x2c274) bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x08020000 erasedEraseFlash - Sector:0x5 Size:0x20000
2019-03-29T00:43:08 INFO common.c: Finished erasing 6 pages of 131072 (0x20000) bytes
2019-03-29T00:43:08 INFO common.c: Starting Flash write for F2/F4/L4
2019-03-29T00:43:08 INFO flash_loader.c: Successfully loaded flash loader in sram
enabling 32-bit flash writes
size: 32768
2019-03-29T00:43:47 ERROR flash_loader.c: flash loader run error
2019-03-29T00:43:47 ERROR common.c: stlink_flash_loader_run(0x8000000) failed! == -1
stlink_fwrite_flash() == -1

@xor-gate
Copy link
Member

xor-gate commented Apr 3, 2019

Please use the issue template which you fully removed when creating the ticket, this is not enough information. See https://raw.githubusercontent.com/texane/stlink/master/.github/ISSUE_TEMPLATE.md

@xor-gate xor-gate changed the title flash error STM32F4 flash loader run error Apr 3, 2019
@Nightwalker-87 Nightwalker-87 added this to the General milestone Feb 19, 2020
@Nightwalker-87 Nightwalker-87 removed this from the General milestone Feb 21, 2020
@Nightwalker-87 Nightwalker-87 added this to the Feedback required milestone Mar 18, 2020
@Nightwalker-87 Nightwalker-87 changed the title STM32F4 flash loader run error STM32F4: flash loader run error Apr 6, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: Feedback required, Flash-loader errors Apr 6, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: c) Flash loader run errors, v1.6.2 Jun 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.