I'm beginner with nrf chips.
I have a custom board with ntf52840 module. I connect board to stlink via swd interface, then check:
st-info --probe
Found 1 stlink programmers
serial: 2c38010032124353354b4e00
openocd: "\x2c\x38\x01\x00\x32\x12\x43\x53\x35\x4b\x4e\x00"
flash: 0 (pagesize: 0)
sram: 0
chipid: 0x0000
descr: unknown device
openocd -f /usr/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/share/openocd/scripts/target/nrf52.cfg -d2
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
openocd.org/.../bugs.html
debug_level: 2
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 10000 kHz
Info : Unable to match requested speed 10000 kHz, using 4000 kHz
Info : Unable to match requested speed 10000 kHz, using 4000 kHz
Info : clock speed 4000 kHz
Info : STLINK v2 JTAG v29 API v2 SWIM v7 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 3.167187
Info : nrf52.cpu: hardware has 0 breakpoints, 2 watchpoints
telnet localhost 4444
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
> init
> reset halt
timed out while waiting for target halted
TARGET: nrf52.cpu - Not halted
in procedure 'reset'
in procedure 'ocd_bouncer'
Something wrong?