You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I build OpenOCD from the sdk-2.0.0 branch, and use it with a Raspberry Pi Debug Probe to flash a binary to an RP2350, I get the following warnings:
/usr/local/bin/openocd -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 5000" -c "program src/main.elf verify ; reset ; exit"
Open On-Chip Debugger 0.12.0+dev-gebec950 (2024-11-16-18:36)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : Hardware thread awareness created
cortex_m reset_config sysresetreq
adapter speed: 5000 kHz
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6632891E3428C30
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 5000 kHz
Info : SWD DPIDR 0x4c013477
Info : [rp2350.dap.core0] Cortex-M33 r1p0 processor detected
Info : [rp2350.dap.core0] target has 8 breakpoints, 4 watchpoints
Info : [rp2350.dap.core0] Examination succeed
Info : [rp2350.dap.core1] Cortex-M33 r1p0 processor detected
Info : [rp2350.dap.core1] target has 8 breakpoints, 4 watchpoints
Info : [rp2350.dap.core1] Examination succeed
Info : starting gdb server for rp2350.dap.core0 on 3333
Info : Listening on port 3333 for gdb connections
Warn : [rp2350.dap.core1] VECTRESET is not supported on this Cortex-M core, using SYSRESETREQ instead.
Warn : [rp2350.dap.core1] Set 'cortex_m reset_config sysresetreq'.
[rp2350.dap.core0] halted due to breakpoint, current mode: Thread
xPSR: 0xf9000000 pc: 0x00000088 msp: 0xf0000000
[rp2350.dap.core1] halted due to debug-request, current mode: Thread
xPSR: 0xf9000000 pc: 0x00000088 msp: 0xf0000000
** Programming Started **
Info : RP2040 Flash Probe: 33554432 bytes @0x10000000, in 8192 sectors
Info : Padding image section 1 at 0x10000ce4 with 28 bytes (bank write end alignment)
Warn : Adding extra erase range, 0x10000d00 .. 0x10000fff
** Programming Finished **
** Verify Started **
** Verified OK **
Warn : [rp2350.dap.core1] VECTRESET is not supported on this Cortex-M core, using SYSRESETREQ instead.
Warn : [rp2350.dap.core1] Set 'cortex_m reset_config sysresetreq'.
In the rp2350 target, it appears that this is meant to be set, but it seems to be applied to the first core only. If I configure sysresetreq for the second core specifically:
then the warning goes away. I'm not familiar enough with the configuration system to know if the second core should be configured explicitly in the rp2350 config file, or if there is a bug somewhere else.
The text was updated successfully, but these errors were encountered:
If I build OpenOCD from the sdk-2.0.0 branch, and use it with a Raspberry Pi Debug Probe to flash a binary to an RP2350, I get the following warnings:
In the rp2350 target, it appears that this is meant to be set, but it seems to be applied to the first core only. If I configure sysresetreq for the second core specifically:
then the warning goes away. I'm not familiar enough with the configuration system to know if the second core should be configured explicitly in the rp2350 config file, or if there is a bug somewhere else.
The text was updated successfully, but these errors were encountered: