Skip to the content.

Troubleshooting

Problems in roughly the order you are likely to encounter them.


A device makes no sound on the charger

A healthy device plays four rising tones within a second or two of being placed on a charger.

  1. Is it charging at all? Reposition it on the pad. Wireless charging alignment is fussier than it looks.
  2. Is the firmware loaded? A device that has never been flashed does nothing. Redo Getting Started.
  3. Was it flashed for the right board revision? Firmware built for the wrong revision compiles cleanly and then drives the wrong pins — a device that looks dead is the usual symptom. Check the letter silkscreened on the board and reflash with the matching BOARD_REV.
  4. Is the battery completely dead? Leave it on the charger for an hour and try again.
  5. Is the buzzer broken? Try to scan for the device using the dashboard. If it shows up when the device is on the charger, but the device makes no sound when removed, the buzzer is broken.

A device doesn’t appear when I scan

It is almost always the charger. Devices only stay awake and reachable while plugged in. An unplugged device that is outside its study window powers itself off and cannot answer a scan.

If it is on a charger and still missing:


A device recorded nothing, or far less than the others

Work through these in order.

1. Was it part of the study? Use Get Scheduled Deployment Details on that device. A device that was not on its charger when you pressed Schedule never learned about the study.

2. Was it on a charger during the study? Look for charging events in its log. A device on a charger is awake but not recording.

3. Did its battery run out? Check the voltage trace. A recording device powers off when its battery falls to 3680 mV, and will not start again below 3750 mV until it is charged.

4. Was it within range? Count how many rounds each peer appears in:

import collections
peers = collections.Counter()
rounds = 0
for r in records:
    if 'r' in r:
        rounds += 1
        peers.update(r['r'].keys())
for uid, n in sorted(peers.items()):
    print(hex(uid), f'{100*n/rounds:.0f}% of rounds')

A device seen in nearly every round had a good link. One seen in half had a marginal link — real data, but weaker. One absent entirely was never in the network with this device.

5. Were the groups ever within range of each other? Devices switched on in different places start out as separate networks and merge on their own once they can hear each other. Two clusters that each range internally but never with each other were never within range of each other during the study.


One device is consistently weaker than the others

If a device ranges well with close neighbors but drops out with distant ones while other devices report those same distances fine, that device has a weaker radio link than its peers.

The test that separates “far away” from “weak radio” is to compare links at the same distance. If device A contains 99% of rounds with a peer at 2.4 m but only 58% with another peer at the same 2.4 m, distance is not the explanation.

This is usually a hardware matter — for instance, a faulty antenna connection — rather than anything configurable. Worth identifying before a real study, because a weak device that becomes the network’s coordinator degrades the whole group rather than only itself.

Checking devices on the bench

Both tools do this comparison for you, live over Bluetooth: Live Radio Check in the desktop dashboard, or the Radio check tab in the browser tool.

  1. Put the devices on their chargers, or leave them running a deployment, so they can be reached.
  2. In the desktop dashboard, Scan for TotTags, then choose Live Radio Check and select each device. In the browser tool, open Radio check → Live over Bluetooth and add each device. Devices the browser has seen before can be added all at once.
  3. Choose how long to run, 2 to 10 minutes (2 by default), and start the test. Each device restarts into a radio test mode and starts ranging.
  4. Put them on a table where they can all see each other, every device at least 2 feet from every other: a circle or a line works. Include at least two devices known to be good. The test carries on while you move them. Note where each one sits if you can. Devices that measure closer than 2 feet are called out, because that close even damaged antennas reach each other.

Verdicts appear within the first minute and update every 15 seconds. They firm up once every device has a minute of data. In the browser tool, a bar at the top of the page counts down to the end of the test, and each verdict reads so far until the test is over; Run another test then sets up another with the same devices. A radio test logs nothing and leaves a device’s deployment as it was. When it ends, or when you stop it, each device restarts into whatever task it would otherwise be doing. A device that was running a deployment picks it up again, with a gap in its log for the test. A device that is off its charger without a scheduled deployment switches off.

The browser tool can also run the same check on the downloaded logs of a deployment that already ran: choose From downloaded logs and open every device’s log.

Both tools apply the same rules. Each device is judged against the others and gives a Pass, Check, or Fail verdict along with the reason. If nothing can be judged against, every verdict is Unknown (see below).

The Links grid shows how often each pair ranged. A device that is weak on every link indicates a problem with that specific device; a single weak pair is more likely an obstruction between the devices.

With that same firmware, the browser tool’s Receives grid shows how often each device decoded each other device. A row low across the board is a device that hears poorly, or one near something else transmitting, such as a tag running a different deployment; a column low across the board is a device the others cannot hear.


A download reported missing pages

Lines like this during a download are normal:

Requesting 7 of 7 missing page(s), round 1...

The tool noticed a page did not survive the transfer and asked the device to resend it. It is self-correcting and nothing is lost.

This is not normal:

WARNING: log from 31 is incomplete:
   transfer ended early: 8 of 10 pages received

Download the device again before clearing it. The data is still on the device — an incomplete download means the transfer failed, not that the recording did. A second attempt usually succeeds.

If it persists, keep the device as-is and note the message, including the sequence numbers. The data remains recoverable.


A device restarted unexpectedly

Restarts are listed in the log:

import datetime
for r in records:
    if 'rst' in r:
        print(datetime.datetime.fromtimestamp(r['t']), r['rst'])

SW Power-On is normal and expected. A device deliberately restarts every time it is plugged in or unplugged, so these should match your charging routine. Several per day in a study where devices are charged nightly is expected.

Anything mentioning Watchdog is a genuine fault — the firmware stopped responding and recovered itself. The entry names the part that stalled, for example Watchdog + stalled: BLETask. An isolated one is survivable; several in a short window on the same device is worth reporting, with the log.

Other causes you may see — hard fault, stack overflow, assertion failed — are firmware faults. Keep the log and report it.


The clock is wrong

Devices run roughly 160–190 ppm slow, about 15 seconds per day. Over a week that is about a minute and a half of drift against wall clock time.

All devices in a deployment share a network clock, so they stay consistent with each other even as the group drifts against real time. Cross-device analysis is unaffected; only alignment against an external record is.

Scheduling a deployment sets the clock, so the drift restarts from zero at the start of each study. The 5-minute housekeeping records carry the device’s own clock alongside the network clock, so drift can be measured and corrected after the fact. See Your Data.


The programmer won’t connect

If a make ... flash stops at Connecting to J-Link via USB... and prints nothing more:


Still stuck

Collect, before asking:

The .ttg is the file that matters most. It is the original record and almost every question can be answered from it.