🤠 nRF54L15 Xiao USB West Flash How to;

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 :slight_smile: PJ :v:

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 :slight_smile: PJ :v: