Flashing and Debugging
Follow the below steps to flash and debugging the firmware of Healthypi Move.
-
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.
-
Connect JTAG cable from the Debug out of the nRF5340-DK to the JTAG present on the Healthypi Move program adapter.
-
Connect the Healthypi Move program adapter to the Healthypi Move using the C port present on the program adapter as shown below.
-
Power the nRF5340 DK and the program adapter using the microUSB and C type cable respectively.
-
Turn on the nRF5340 DK using the switch present on it. You should see the LED's glowing on the board.
-
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.