Skip to content

Segmentation fault on armbian for STM32F407 Discovery #1165

@rusefillc

Description

@rusefillc
  • Programmer/board type: [enter here] (e.g STLINK /V1, /V2, /V2-onboard, /V2-clone, /V3)
  • Operating system an version: armbian debian Linux orangepizero 5.10.43-sunxi 21.05.6 SMP Mon Jun 21 15:07:45 UTC 2021 armv7l GNU/Linux
  • stlink tools version and/or git commit hash: master 1.7.0-77-ga52e1bc
  • stlink commandline tool name: st-flash
  • Target chip (and board, if applicable): STM32F407 discovery
root@orangepizero(rw):/rw/stlink# uname -a
Linux orangepizero 5.10.43-sunxi #21.05.6 SMP Mon Jun 21 15:07:45 UTC 2021 armv7l GNU/Linux


root@orangepizero(rw):/rw/stlink# lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 0483:374b STMicroelectronics ST-LINK/V2.1
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


root@orangepizero(rw):/rw/stlink# /rw/stlink/bin/st-flash --debug write rusefi.bin 0x08000000
st-flash 1.7.0-77-ga52e1bc
/usr/local/etc/stlink/chips: No such file or directory
2021-07-25T21:38:07 DEBUG common.c: *** looking up stlink version
2021-07-25T21:38:07 DEBUG common.c: st vid         = 0x0483 (expect 0x0483)
2021-07-25T21:38:07 DEBUG common.c: stlink pid     = 0x374b
2021-07-25T21:38:07 DEBUG common.c: stlink version = 0x2
2021-07-25T21:38:07 DEBUG common.c: jtag version   = 0x19
2021-07-25T21:38:07 DEBUG common.c: swim version   = 0xe
2021-07-25T21:38:07 DEBUG common.c: stlink current mode: debug (jtag or swd)
2021-07-25T21:38:07 DEBUG usb.c: JTAG/SWD freq set to 0
2021-07-25T21:38:07 DEBUG common.c: stlink current mode: debug (jtag or swd)
2021-07-25T21:38:07 DEBUG common.c: Loading device parameters....
2021-07-25T21:38:07 DEBUG common.c: *** stlink_core_id ***
2021-07-25T21:38:07 DEBUG common.c: core_id = 0x2ba01477
2021-07-25T21:38:07 DEBUG common.c: *** stlink_read_debug32 0x410fc241 at 0xe000ed00
2021-07-25T21:38:07 DEBUG common.c: *** stlink_read_debug32 0x10076413 at 0xe0042000
Segmentation fault

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions