Flashing and Debugging

Follow the below steps to flash and debugging the firmware of Healthypi Move.

  1. For debugging and flashing the Healthypi Move, you will need a nRF5340 DK (not included with Healthypi Move kit), a JTAG cable (not included with Healthypi Move kit), a C type cable, a B type cable (not included with Healthypi Move kit) and a Healthypi Move program adapter.

    Components

  2. Connect JTAG cable from the Debug out of the nRF5340-DK to the JTAG present on the Healthypi Move program adapter.

    JTAG

  3. Connect the Healthypi Move program adapter to the Healthypi Move using the C port present on the program adapter as shown below.

    program adapter

  4. Power the nRF5340 DK and the program adapter using the microUSB and C type cable respectively.

    power up

  5. Turn on the nRF5340 DK using the switch present on it. You should see the LED's glowing on the board.

    led

  6. In the VS Code, click on Flash option under the Actions tab, the firmware will be flashed sucessfully and for debugging, click on Debug option under Actions tab.

    Flash and debug