Skip to content

Instantly share code, notes, and snippets.

@jonathanpallant
Created July 6, 2023 14:00
Show Gist options
  • Save jonathanpallant/82e3da9e31f0985d9dca17d82a6d6a9b to your computer and use it in GitHub Desktop.
Save jonathanpallant/82e3da9e31f0985d9dca17d82a6d6a9b to your computer and use it in GitHub Desktop.
opened psoc6 log
openocd -f /opt/homebrew/share/openocd/scripts/interface/cmsis-dap.cfg -f /opt/homebrew/share/openocd/scripts/target/psoc6.cfg
Open On-Chip Debugger 0.12.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Using CMSIS-DAPv2 interface with VID:PID=0x04b4:0xf155, serial=171109F801071400
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x6ba02477
Info : [psoc6.cpu.cm0] Cortex-M0+ r0p1 processor detected
Info : [psoc6.cpu.cm0] target has 4 breakpoints, 2 watchpoints
Info : [psoc6.cpu.cm4] Cortex-M4 r0p1 processor detected
Info : [psoc6.cpu.cm4] target has 6 breakpoints, 4 watchpoints
Info : starting gdb server for psoc6.cpu.cm0 on 3333
Info : Listening on port 3333 for gdb connections
Info : starting gdb server for psoc6.cpu.cm4 on 3334
Info : Listening on port 3334 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
[psoc6.cpu.cm0] halted due to debug-request, current mode: Thread
xPSR: 0x81000000 pc: 0x10000ce0 msp: 0x0801ffe8
Info : SWD DPIDR 0x6ba02477
Error: Failed to read memory at 0x4025f00c
Info : SWD DPIDR 0x6ba02477
Error: Failed to read memory at 0x4025f00c
Info : SWD DPIDR 0x6ba02477
Error: Failed to read memory at 0x4025f00c
Info : SWD DPIDR 0x6ba02477
Error: Failed to read memory at 0x4025f00c
Info : SWD DPIDR 0x6ba02477
Error: Failed to read memory at 0x4025f00c
Info : SWD DPIDR 0x6ba02477
Error: Failed to read memory at 0x4025f00c
Info : New GDB Connection: 1, Target psoc6.cpu.cm0, state: halted
Info : SWD DPIDR 0x6ba02477
Warn : [psoc6.cpu.cm4] Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
[psoc6.cpu.cm0] halted due to debug-request, current mode: Thread
xPSR: 0x41000000 pc: 0x000000e0 msp: 0x080ff800
[psoc6.cpu.cm4] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x000000e0 msp: 0x080ff800
Info : [psoc6.cpu.cm4] external reset detected
Info : SWD DPIDR 0x6ba02477
Warn : [psoc6.cpu.cm4] Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
[psoc6.cpu.cm0] halted due to debug-request, current mode: Thread
xPSR: 0x41000000 pc: 0x000000e0 msp: 0x080ff800
[psoc6.cpu.cm4] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x000000e0 msp: 0x080ff800
Info : dropped 'gdb' connection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment