Hallo Zusammen,
ich versuche openOCD unter OS X mit einem STM32F4 via ST Link
anzusprechen.
OpenOCD wurde wie folgt installiert:
1 | brew install openocd --enable_ft2232_libftdi --enable_stlink
|
Konigurationsfile für STM32F401:
1 | stm32f4.cfg
|
2 | source [find interface/stlink-v2.cfg]
|
3 | source [find target/stm32f4x_stlink.cfg]
|
4 | reset_config srst_only srst_nogate
|
Programmaufruf mit Debuginfo:
1 | openocd -f stm32f4.cfg -d 3
|
2 | ....
|
3 | Debug: 178 3 stlink_usb.c:1573 stlink_usb_open(): stlink_usb_open
|
4 | Debug: 179 3 stlink_usb.c:1588 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748
|
5 | Error: 180 73 stlink_usb.c:1601 stlink_usb_open(): open failed
|
6 | Debug: 181 73 hla_layout.c:49 hl_layout_open(): failed
|
7 | Debug: 182 73 command.c:628 run_command(): Command failed with error code -4
|
8 | User : 183 73 command.c:666 command_run_line(): in procedure 'transport'
|
9 | Debug: 184 73 command.c:628 run_command(): Command failed with error code -4
|
10 | User : 185 73 command.c:666 command_run_line(): in procedure 'init'
|
11 | Debug: 186 73 hla_interface.c:116 hl_interface_quit(): hl_interface_quit
|
Programmaufruf als user root bringt auch keine Änderung.
Irgendwelche Ideen?
Vielen Dank