Hi there,
So for the Beginner crew on here, Check out this guys video, it’s a basic how too, using the West Flash and in m_y Test environment the openocd is a preinstalled windows version, so I had to provide the path to it in the previous step, before in order to flash.
he’s a little dry but it gets the point across, flash without debugger or SWD hardware connections just USB.
HTH
GL
PJ 
this issue,
FATAL ERROR: required program openocd not found; install it or add its location to PATH
D:\Nordic\myapps\workspace\blinky_1> west build -- -DOPENOCD="C:/openocd/bin/openocd.exe" -DOPENOCD_SCRIPTS="C:/openocd/share/openocd/scripts"
gave me this
nrf54l-load
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2886:0x0066, serial=E4E44CBA
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2886:0x0066, serial=E4E44CBA
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Serial# = E4E44CBA
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x6ba02477
Info : [nrf54l.cpu] Cortex-M33 r1p0 processor detected
Info : [nrf54l.cpu] target has 8 breakpoints, 4 watchpoints
Info : [nrf54l.cpu] Examination succeed
Info : [nrf54l.aux] Examination succeed
Info : [nrf54l.cpu] starting gdb server on 3333
Info : Listening on port 3333 for gdb connections
Info : [nrf54l.aux] gdb port disabled
TargetName Type Endian TapName State
-- ------------------ ---------- ------ ------------------ ------------
0* nrf54l.cpu cortex_m little nrf54l.cpu unknown
1 nrf54l.aux mem_ap little nrf54l.cpu unknown
[nrf54l.cpu] halted due to breakpoint, current mode: Thread
xPSR: 0xf9000000 pc: 0x00000d7c msp: 0x200019d0
36668 bytes written at address 0x00000000
6380 bytes written at address 0x00008f40
downloaded 43048 bytes in 0.627356s (67.010 KiB/s)
shutdown command invoked
I was able to duplicate his examples , for both video’s the GPIO one also.
HTH
GL
PJ 
Hi there,
Here is Another known youtuber that covers the MAC users perspective,
He also covers a few key observations in the process of building and flashing, a few incites into the new dev environment
HTH
GL
PJ 
1 Like
Hi there,
So More of an OpenOCD question to the group…
Here is my OpenOCD log when I flash
Open On-Chip Debugger 0.12.0 (2023-01-14-23:37)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
nrf54l-load
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2886:0x0066, serial=E4E44CBA
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Serial# = E4E44CBA
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x6ba02477
Info : [nrf54l.cpu] Cortex-M33 r1p0 processor detected
Info : [nrf54l.cpu] target has 8 breakpoints, 4 watchpoints
Info : starting gdb server for nrf54l.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : gdb port disabled
TargetName Type Endian TapName State
-- ------------------ ---------- ------ ------------------ ------------
0* nrf54l.cpu cortex_m little nrf54l.cpu running
1 nrf54l.aux mem_ap little nrf54l.cpu running
[nrf54l.cpu] halted due to debug-request, current mode: Thread
xPSR: 0xf9000000 pc: 0x0000435c msp: 0x2000da30
572176 bytes written at address 0x00000000
downloaded 572176 bytes in 10.586416s (52.781 KiB/s)
What does yours look like…?
HTH
GL
PJ 
Depends what I’m flashing, but only 1 line really varies, essentially where it says NRF 54l.cpu halted due to breakpoint,
Otherwise I get something pretty much identical to what you show. I actually got channel sounding running earlier on the Xiao nrf54L15. Mostly…
here’s the contents of the .overlay I use to compile channel sounding for the xiao:
&radio {
status = "okay";
bt_hci_sdc: bt_hci_sdc {
compatible = "nordic,bt-hci-sdc";
status = "okay";
};
};
/ {
chosen {
zephyr,bt-c2h-uart = &uart20;
};
};
// can't have two devices on the 20 id at the same time as per documentation.
&pdm20 {
status = "disabled";
};
&cpuapp_sram {
reg = <0x20000000 DT_SIZE_K(256)>;
ranges = <0x0 0x20000000 0x40000>;
};
but so far the results are… unsatisfactory as this device is 200mm from the reflector not 2180,
Estimated distance to reflector:
- Round-Trip Timing method: 7.494811 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.183756 meters (derived from 36 samples)
Not enough memory to store step data. (533 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 7.494811 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.183756 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 7.494811 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.183756 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 7.494811 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.183756 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 7.494811 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.183756 meters (derived from 36 samples)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (545 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (518 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (515 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (518 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (515 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (515 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (515 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (545 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (548 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (545 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (515 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (515 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (533 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
Not enough memory to store step data. (530 > 512)
Estimated distance to reflector:
- Round-Trip Timing method: 6.520485 meters (derived from 8 samples)
- Phase-Based Ranging method: 2.289868 meters (derived from 36 samples)
1 Like