Open On-Chip Debugger 0.11.0+dev-00515-g1ad6ed38b (2021-12-02-15:52)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'adapter driver' not 'interface'
DEPRECATED! use 'bcm2835gpio peripheral_base' not 'bcm2835gpio_peripheral_base'
DEPRECATED! use 'bcm2835gpio speed_coeffs' not 'bcm2835gpio_speed_coeffs'
DEPRECATED! use 'bcm2835gpio swd_nums' not 'bcm2835gpio_swd_nums'
DEPRECATED! use 'adapter speed' not 'adapter_khz'
Info : BCM2835 GPIO JTAG/SWD bitbang driver
Info : clock speed 1004 kHz
Info : SWD DPIDR 0x2ba01477
Info : nrf52840.cpu: Cortex-M4 r0p1 processor detected
Info : nrf52840.cpu: target has 6 breakpoints, 4 watchpoints
Info : starting gdb server for nrf52840.cpu on 3333
Info : Listening on port 3333 for gdb connections
Error: Wrong parity detected
Error: Wrong parity detected
Info : SWD DPIDR 0x2ba01477
Info : SWD DPIDR 0x2ba01477
Info : SWD DPIDR 0x2ba01477
Error: Wrong parity detected
Error: Wrong parity detected
Info : SWD DPIDR 0x3ba01476
Error: Wrong parity detected
Info : SWD DPIDR 0x2ba0146f
Error: Wrong parity detected
Error: Could not find MEM-AP to control the core
Info : SWD DPIDR 0x2ba01477
Error: Target not examined, reset NOT asserted!
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
> targets
TargetName Type Endian TapName State
-- ------------------ ---------- ------ ------------------ ------------
0* nrf52840.cpu cortex_m little nrf52840.cpu halted
> flash banks
#0 : nrf52840.flash (nrf5) at 0x00000000, size 0x00000000, buswidth 1, chipwidth 1
#1 : nrf52840.uicr (nrf5) at 0x10001000, size 0x00000000, buswidth 1, chipwidth 1
--> No idea why it tells me. that there are 6 breakpoints and 4 watchpoints...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
And here is the log when I connect with openocd:
--> No idea why it tells me. that there are 6 breakpoints and 4 watchpoints...