Skip to main content

Firmware Setup & Flashing

Check before you flash firmware

Switch on the Sticky.

If you see a blinking blue light, firmware is already flashed — skip ahead to Using the App.

If there's no blink, either the firmware hasn't been flashed yet (continue with this guide) or the battery is dead.

If you have physical Stickies but haven't flashed firmware onto them yet, start here. For each Sticky, the firmware only needs to be flashed once, after PCB assembly, over an SWD interface using a pogo-pin probe clip and a J-Link programmer.

What you'll need
clip Connection
  • Install the J-Link Software and Documentation Pack.
  • Connect the pogo-pin probe clip to the J-Link: From left to right as shown in the image (here we show an example with the feedback sticky but the order remains the same for a sensing sticky) below. Use male-to-male DuPont wires to wire VDD, SWDIO, SWDCLK, GND to corresponding pins on the J-Link.

Flash the Firmware

jlink step 1
  • Launch JLinkExe, from the downloaded J-Link Software and Documentation Pack.
  • Type connect. Press the Return key.
  • Type NRF52832_XXAA to specify the target device. Press the Return key. Jlink Step2
  • Type s to select SWD. Jlink Step3
  • Choose the default speed by pressing the Return key. Jlink Step4
  • Type erase before each firmware upload. Press the Return key. Jlink Step5
  • Wait for Erasing done and type loadfile <filepath.hex> to upload each hex file (use absolute path) separately. Sensing sticky firmware binaries and feedback sticky firmware binaries are available at our GitHub Repo. Jlink Step6-1
  • After uploading, type reset. Press the Return key. Jlink Step7
  • Wait for resets, then type go. Press the Return key. Jlink Step8
  • You should a few blinking blue lights after go. You can check whether the Sticky is properly advertising over BLE using the nRF Connect mobile app. nRF Connect Screenshot

The Sticky is now ready to use! Continue to Using the App to connect them.

note

Two role-specific firmware images exist: one shared across all sensing stickies, one shared across all feedback stickies. After firmware flashing, each Sticky advertises with the naming convention STICKY-XX-XXXXXX. The middle field identifies the Sticky type: SENSE for a sensing Sticky or FB for a feedback Sticky. The final six characters are taken from the unique chip identifier and distinguish individual devices.