nRF52 DK

Sample firmware

  • zephyr-sample-blinky.hex: Example “blinky” firmware for nRF52DK

  • nrf52832_xxaa.hex: ble_app_hrs firmware (nRF5 SDK example)

  • s132_nrf52_6.0.0_softdevice.hex (Available from Nordic)

  • zephyr-sample-blinky-200ms.hex: “blinky” firmware for nRF52DK, with 200ms duty cycle

  • Zephyr Samples > Firmware Binaries

References

Zephyr Shell Interaction

  • Uses Zephyr ‘shell’ sample firmware image for nRF52DK

  • Firmware is programmed using nRF52DK built-in Segger-OB SWD programmer

  • UART interaction using the Segger USB CDC UART bridge

title: "Zephyr Shell Interaction (nRF52DK)"
suite:
 - ident: DEFINE
   steps:
     - command: |
         define FIRMWARE.elf "zephyr-shell-nrf52dk_nrf52832-3.3.0.elf"
     - command: define DUT.target "nRF52_JLink"
     - command: define DUT.uart "UART2"
  - ident: POWER
    steps:
     - command: ground all
     - command: power usb on
     - command: sleepms 100
  - ident: JLINK
    steps:
     - command: usb detect
       id: "1366:1015"
     - command: uartCfg %DUT.uart% 115200
       id: "1366:1015"
     - command: sleepms 500
  - ident: PROG
    steps:
     - command: identify %DUT.target%
     - command: program %DUT.target% %FIRMWARE.elf%
     - command: sleepms 100
  - ident: SHELL
    steps:
    - command: uart %DUT.uart%
      send: "\r\nkernel version\r\n"
      extract: "\r\n(.*) version (.*)\r\n"
      extractkey: KERNEL_NAME KERNEL_VERSION
    - command: uart %DUT.uart%
      send: "\r\nhwinfo devid\r\n"
      extract: "\r\n(.*)devid(.*)\r\n"
      extractkey: HWINFO_DEVID_A HWINFO_DEVID_B