...
Code Block | ||||
---|---|---|---|---|
| ||||
# Run from the root of the zephyr repository eg: ~/zephyrproject/zephyr west build -p auto -b 96b_nitrogen samples/basic/blinky # Connect Nitrogen board to host computer via micro usb cable # Wait for the MBED folder to mount automatically # Run OpenOCD from its source folder ./src/openocd -s tcl/ -f interface/cmsis-dap.cfg -c "transport select swd" -f target/nrf52.cfg # Start gdb and load blinky demo onto Nitrogen board's flash memory /opt/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb ~/zephyrproject/zephyr/build/zephyr/zephyr.elf -ex 'target remote :3333' -ex 'monitor halt' -ex 'monitor reset' -ex load |
Expected output of OpenOCD console after successfully connecting with Nitrogen board
Expected output of GDB console after successfully loading blinky demo:
...