Movesense Programming Jig
Movesense Programmming Jig is a device that connects the Movesense sensor to the developers computer for programming and debugging. The Jig makes it possible to:
- program the sensor, including the softdevice and bootloader
- read sensor flash and ram memories
- display the debugging messages from the sensor firmware (debug builds only) with JLinkRTTViewer
- run sensor firmware with the debugger such as Ozone or gdb
- send Whiteboard commands to the sensor over UART using wbcmd-command
- measure the current consumption of the sensor with multimeter (needs microamp current measurement), or specialized current measurement device such as Otii power analyzer.
Connecting Jig
Follow the instructions in the User Guide for the Movense Sensor Programming and Debugging Jig 2024.pdf to connect Jig to your computer.
Enabling UART
To communicate with the sensor over serial cable (UART), the UART support on the sensor needs to be enabled. That can be done either with the Movesense Showcase App (Android or iOS), or by running the following commands that clean the settings page on the sensor. After reset of the sensor, the UART is enabled and the wbcmd can be used to communicate with the sensor.
nrfjprog -f nrf52 --erasepage 0x7D000
nrfjprog -f nrf52 --reset
NOTE: The UART connection is slower than modern BLE (115kbps vs 2Mbps), so the largest dataspeeds cannot be transferred over it.
NOTE: Enabled UART uses a lot of power (1.2 mA all the time). Remember to disable the UART before using your sensor with the battery power, or the battery will drain in a short time.