stm32f0x mit JLink und openocd funktioniert nicht

#4019196
Lesenswert?

Hallo,

Ich hab mir jetzt auch einen JLink angeschafft um den ST-ĹINK v2 zu 
ersetzen, den ich vorher benützt habe.
Jetzt habe ich aber das Problem das openocd nicht so recht will:
1
$ openocd
2
(..)
3
Info : J-Link caps 0xb9ff7bbf
4
Info : J-Link hw version 80000
5
Info : J-Link hw type J-Link
6
Info : J-Link max mem block 8368
7
Info : J-Link configuration
8
Info : USB-Address: 0x0
9
Info : Kickstart power on JTAG-pin 19: 0x0
10
Info : Vref = 3.267 TCK = 1 TDI = 0 TDO = 0 TMS = 0 SRST = 0 TRST = 0
11
Info : J-Link JTAG Interface ready
12
Info : clock speed 1000 kHz
13
Error: JTAG scan chain interrogation failed: all zeroes
14
Error: Check JTAG interface, timings, target power, etc.
15
Error: Trying to use configured scan chain anyway...
16
Error: stm32f0x.cpu: IR capture error; saw 0x00 not 0x01
17
Warn : Bypassing JTAG setup events due to errors
18
Warn : Invalid ACK 0 in JTAG-DP transaction
19
Info : accepting 'gdb' connection from 3333
20
undefined debug reason 7 - target needs reset
21
Error: Target not examined yet
22
Error: JTAG scan chain interrogation failed: all zeroes
23
Error: Check JTAG interface, timings, target power, etc.
24
Error: Trying to use configured scan chain anyway...
25
Error: stm32f0x.cpu: IR capture error; saw 0x00 not 0x01
26
Warn : Bypassing JTAG setup events due to errors
27
Warn : Invalid ACK 0 in JTAG-DP transaction
28
Error: Target not examined yet
openocd.cfg:
1
gdb_memory_map disable
2
source [find interface/jlink.cfg]
3
source [find target/stm32f0x.cfg]
Mit den GDB Server von SEGGER funktionierts, aber ich will nicht alle 
meine Makefiles umschreiben. Ich habe die aktuellste openocd version aus 
dem arch repository.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren