---
title: "Edge AI Expansion Board troubleshooting"
description: "Symptoms, causes and fixes for the Edge AI Expansion Board: NPU detection, the PCIe cable and pogo pins, the SSD and modem, power, temperature and frame rate."
url: "https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/troubleshooting/"
last_updated: "2026-10-12"
---

# Edge AI Expansion Board troubleshooting

Symptoms, causes, and fixes for the Sixfab Edge AI Expansion Board: NPU detection, the runtime, the PCIe cable and pogo pins, the SSD and modem on the USB Bridge, power, temperature, and frame rate.

## Quick diagnostics

Run these six commands first. Their output narrows most issues to one of the entries below.

```bash
# 1. Full NPU status: runtime/firmware versions, PCIe link speed, per-core voltages and temperatures
dxrt-cli -s

# 2. Confirm the DX-M1 is visible on the PCIe bus
lspci

# 3. Confirm the USB bridge, NVMe, and cellular modem are enumerated on USB
lsusb

# 4. Confirm the DEEPX kernel module (dx_dma) is loaded
lsmod | grep -i dx

# 5. Check the kernel ring buffer for driver / PCIe errors
dmesg | grep -i dx

# 6. Live NPU telemetry: per-core utilisation, temperature, throttle observation
dxtop
```

## Common issues

### NPU not detected: `lspci` shows no DEEPX device

#### Symptom

`lspci` lists no DEEPX device and `dxrt-cli -s` reports *no device found*, although the runtime is installed.

#### Cause

Almost always the 40 mm PCIe cable is reversed or partly seated, or loose M2.5 spacers keep the pogo pins from making contact. The Raspberry Pi 5 sees no PCIe link, so the DX-M1 never appears.

#### Fix

1. **Power off and check cable orientation.**

   The board is not hot-pluggable: disconnect the USB-C supply first. The `RPi5` end goes to the Raspberry Pi 5, the `EDGE AI` end to the board; labels face out, contacts face the board. A reversed cable gives no link.

2. **Reseat cable at both ends.**

   Open both latches, reinsert the cable firmly, and close the latches. A latch that feels closed but is not flush with the connector body leaves the cable without contact.

3. **Tighten M2.5 spacers.**

   The board powers the Raspberry Pi 5 through four pogo pins (2 × 5 V, 2 × GND) under its GPIO header. Loose spacers leave the pins without pressure: the Raspberry Pi 5 may not power on, or boot without a PCIe link. Tighten the four spacers by hand, firmly.

4. **Check kernel log.**

   ```bash
   dmesg | grep -i dx
   ```

   A healthy stack shows `dx_dma_pcie` probe messages ending in `Probe Done!!`. `PCIe link failed`, `link training timeout`, or nothing after the boot lines means no link: go back to the cable and the pogo pins.

5. **Check that the PCIe lane is enabled.**

   Both lines must be in `/boot/firmware/config.txt` and not commented out; without them no link comes up. Reboot after a change.

   ```text filename="/boot/firmware/config.txt"
   dtparam=pciex1
   dtparam=pciex1_gen=3
   ```

6. **Check bus after reboot.**

   ```bash
   lspci
   ```

   The DEEPX device is listed:

   ```text
   00:00.0 PCI bridge: Broadcom Inc. BCM2712 x1 PCI Express Bridge (rev 21)
   01:00.0 Processing accelerators: DEEPX Co., Ltd. DX-M1 AI Accelerator (rev 01)
   ```

### Driver installed but `dxrt-cli -s` reports “no device found”

#### Symptom

`sixfab-dx` is installed and `dxrt-cli` is on the `PATH`, but `dxrt-cli -s` prints *no device found*. `lspci` may or may not list the DEEPX device.

#### Cause

The DEEPX kernel module (`dx_dma`) is not loaded. DKMS normally rebuilds it after a kernel update, but the load fails if the build failed against the running kernel or the system was not rebooted after the install.

#### Fix

1. **Check kernel module.**

   ```bash
   lsmod | grep -i dx
   ```

   A `dx_dma` line means it is loaded; no output means it is not.

2. **Reboot.**

   Right after a fresh install the module is often loaded only after a reboot. Check again with `lsmod | grep -i dx` and `dxrt-cli -s`.

   ```bash
   sudo reboot
   ```

3. **Reinstall `dxrt-driver-dkms`.**

   This rebuilds the module with DKMS for the running kernel.

   ```bash
   sudo apt update
   sudo apt install --reinstall dxrt-driver-dkms
   ```

4. **Read kernel log.**

   ```bash
   dmesg | grep -i dx
   ```

   If the module is still missing, the log shows why: look for DKMS build errors or missing kernel headers.

> [!NOTE]
> Started after an OS update? See [Driver stopped working after a Raspberry Pi OS update](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/troubleshooting/#issue-os-update): the recovery is different.

### PCIe link errors in `dmesg` or link does not train at Gen 3

#### Symptom

`dmesg | grep -i dx` shows `link failed`, `link training timeout`, or enumeration messages followed by nothing. `dxrt-cli -s` finds the device only sometimes, reports `Gen2 X1` instead of `Gen3 X1`, or inference fails.

#### Cause

An unstable PCIe link: the cable partly seated or reversed, `dtparam=pciex1_gen=3` missing from `config.txt`, or another cable used instead of the included one.

#### Fix

1. **Power off and reseat cable.**

   Open both latches, reinsert the cable firmly, close the latches, and check that each sits flush with the connector body.

2. **Check cable orientation.**

   The ends are not interchangeable: `RPi5` to the Raspberry Pi 5, `EDGE AI` to the board. Labels face out, contacts face the board.

3. **Use only included cable.**

   Signal integrity is validated for the included 40 mm cable only; a longer or different cable is not recommended.

4. **Check that the PCIe lane is enabled.**

   The Raspberry Pi 5 runs the lane at Gen 2 unless Gen 3 is set. Both lines must be in `/boot/firmware/config.txt` and not commented out; reboot after a change.

   ```text filename="/boot/firmware/config.txt"
   dtparam=pciex1
   dtparam=pciex1_gen=3
   ```

5. **Check link after reboot.**

   ```bash
   dxrt-cli -s
   ```

   The `PCIe` line should read `Gen3 X1` (800 to 900 MB/s; Gen 2 gives 400 to 450 MB/s). If errors persist, the cable is damaged: contact Sixfab support for a replacement.

### NVMe SSD installed but does not appear in `lsblk` or `lsusb`

#### Symptom

An NVMe SSD is in the `M.2-SSD` slot, but `lsblk` shows no `/dev/sda` or `lsusb` does not list the Realtek USB-to-NVMe bridge.

#### Cause

The slot is USB-attached: the SSD sits behind a Realtek RTL9210B-CG bridge on the board’s USB 3.0 hub, which reaches the Raspberry Pi 5 through the USB Bridge. A loose module or a loose USB Bridge breaks the path. The SSD is a USB storage device, so check it with `lsblk`, not `nvme list`.

#### Fix

1. **Power off and reseat SSD.**

   Loosen the M2 flat-head screw, remove the SSD, reinsert it at 30° with the contacts fully seated, lower it flat, and tighten the screw by hand. The SSD should sit parallel to the board.

2. **Reseat USB Bridge.**

   It carries both the SSD and the modem data; when it is loose, both disappear even though the modules are fitted correctly. Reseat it firmly at both ends.

3. **Check USB and block devices.**

   ```bash
   lsusb
   lsblk
   ```

   `lsusb` lists `RTL9210 NVMe Bridge`, and `lsblk` shows `/dev/sda` at the SSD’s size. If the bridge is listed but `/dev/sda` has no partition, prepare it as on [NVMe storage](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/connectivity-storage/nvme-storage/#setup).

4. **Check power.**

   A weak supply makes USB devices drop out. If the SSD appears and disappears, see [System reboots, shows an under-voltage warning, or pauses at boot](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/troubleshooting/#issue-power). Use 27 W or more; 45 W with the NPU, SSD, and modem fitted.

### LTE/5G modem installed but does not appear in `lsusb`

#### Symptom

A modem is in the `CELLULAR LTE/5G` slot, but `lsusb` does not list it and no modem network interface appears.

#### Cause

The modem is USB-attached, on the board’s USB 3.0 hub behind the USB Bridge. A loose USB Bridge or a modem not fully seated in the Key-B slot keeps it from appearing.

#### Fix

1. **Power off and reseat modem.**

   Loosen the M2 flat-head screw, remove the modem, reinsert it at 30° with the contacts fully seated, lower it flat, and tighten the screw by hand.

2. **Reseat USB Bridge.**

   It carries both the modem and the SSD data; when it is loose, both disappear.

3. **Check for modem on USB.**

   ```bash
   lsusb | grep 2c7c
   ```

   A Quectel modem shows the vendor ID `2c7c`; the product IDs are listed on [Cellular connectivity](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/connectivity-storage/cellular-connectivity/#verify-enum).

4. **Find network interface.**

   ```bash
   ip a
   ```

   In QMI mode, as set up on the cellular page, the interface is `wwan0`; in other USB modes the name differs (for example `usb0`). Test with that name:

   ```bash
   ping -I wwan0 -c 3 8.8.8.8
   ```

5. **If it appears but does not register, continue on the cellular page.**

   Registration, APN, SIM activation, and signal checks are on [Cellular connectivity](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/connectivity-storage/cellular-connectivity/#diagnose).

### System reboots, shows an under-voltage warning, or pauses at boot

#### Symptom

One of three: the Raspberry Pi 5 pauses at boot and asks you to press its button to allow more USB current; the taskbar shows a yellow lightning bolt; or the system reboots under inference load, or the SSD disconnects now and then.

#### Cause

Almost always the power supply. The board powers the whole stack from one USB-C PD input and back-powers the Raspberry Pi 5 through four pogo pins; below 27 W the system crashes, the SSD disconnects, and under-voltage warnings appear. The boot pause comes from the Raspberry Pi 5 USB current limit when it boots from the SSD. Loose M2.5 spacers give the pogo pins too little pressure, which looks like under-voltage.

#### Fix

1. **Use 27 W supply or more.**

   The Raspberry Pi 27 W USB-C PD supply is the minimum; with the NPU, SSD, and modem all fitted, use the Raspberry Pi 45 W supply.

2. **Booting from SSD? Lift USB current limit.**

   Add this line to the end of `/boot/firmware/config.txt` and reboot. Without it, a Raspberry Pi 5 booting from the SSD stops and asks you to press its button to allow more than 1.6 A of USB current. Not needed when booting from the microSD card.

   ```text filename="/boot/firmware/config.txt"
   usb_max_current_enable=1
   ```

3. **Tighten M2.5 spacers.**

   The four pogo pins carry all the power to the Raspberry Pi 5. Tighten the four spacers by hand, firmly; loose ones give intermittent power that looks like under-voltage.

4. **Use one power input only.**

   Power comes from the board’s USB-C port. With a supply also in the Raspberry Pi 5’s own USB-C port, only the Raspberry Pi 5 runs and the M.2 modules stay silent. Keep the included cap on that port.

5. **Check that the warning has cleared.**

   ```bash
   vcgencmd get_throttled
   ```

   `throttled=0x0` means no under-voltage since boot; any other value means one was recorded.

> [!WARNING]
> **Unplugging under power**
>
> Pulling the USB-C cable does no physical damage, but unsaved data is lost and the SSD filesystem may need repair. Shut down with `sudo shutdown -h now` before unplugging.

### Frame rate drops over time during sustained inference

#### Symptom

Inference starts at the expected frame rate, then slows after several minutes of continuous load. It settles lower and recovers when the load pauses; the system does not crash.

#### Cause

The NPU reaches its throttling temperature, about 90 °C, and the runtime lowers its clocks. Passive cooling covers bursty workloads, but sustained 100 % load in a closed enclosure or a warm room can push the cores past that point.

#### Fix

1. **Watch NPU temperature.**

   ```bash
   dxtop
   ```

   It shows voltage, clock, temperature, and load for each core. Run it in a second terminal during the load and look for a steady rise toward 90 °C; `dxrt-cli -s` gives a single snapshot.

2. **Add active cooling for sustained full load.**

   Recommended for benchmarks, continuous multi-camera inference, and sealed enclosures. The board has no fan connector; the Raspberry Pi Active Cooler runs from the Raspberry Pi 5 fan header.

3. **Check ambient temperature and ventilation.**

   Near the top of the operating range the thermal headroom shrinks. Move the system somewhere cooler or improve the airflow before suspecting the hardware. Ventilation needs depend on the ambient temperature, the duty cycle, and whether a fan is fitted.

4. **Log temperature over time.**

   Continuous NPU telemetry is covered on [System monitoring](https://docs.sixfab.com/edge-ai/ai-model-deployment/system-monitoring/).

### Inference runs but frame rate is much lower than expected

#### Symptom

Inference runs without errors, but well below the published figure for the model.

#### Cause

One of four: the PCIe link runs at Gen 2, the model runs on the CPU (a raw `.onnx` file), a YOLO model was compiled without PPU so post-processing runs on the CPU, or CPU capture and pre-processing keep the NPU waiting.

#### Fix

1. **Check that the link is at Gen 3.**

   ```bash
   dxrt-cli -s
   ```

   The `PCIe` line should read `Gen3 X1`. At Gen 2 the link carries 400 to 450 MB/s instead of 800 to 900 MB/s: add `dtparam=pciex1_gen=3` to `/boot/firmware/config.txt` and reboot.

2. **Run compiled model.**

   A raw `.onnx` file passed to the runtime falls back to the CPU, one to two orders of magnitude slower. Compile it to `.dxnn` with DX-COM first; see [Custom models (DXNN SDK)](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/).

3. **Compile YOLO models with PPU.**

   Without the Post-Processing Unit, the confidence filtering and class selection of the detection head run on the CPU after every inference and limit the frame rate. With the PPU flag in DX-COM they run on the NPU; non-maximum suppression stays on the CPU.

4. **Check NPU load.**

   Run `dxtop` in a second terminal. NPU load near 100 % with a low frame rate means the model is too heavy for the NPU: use a smaller model or a lower input resolution. A low NPU load means CPU capture and pre-processing keep the NPU waiting: fix those first.

5. **Use asynchronous API.**

   The `dxrt` API can submit the next frame while the NPU processes the current one. This hides pre-processing time and raises throughput.

> [!NOTE]
> **SSD and cellular traffic do not slow NPU**
>
> The DX-M1 has its own PCIe link; the SSD and modem share the USB path. SSD writes and LTE/5G traffic during inference cause no measurable drop in AI throughput. If inference slows with disk or network activity, the CPU is the bottleneck, not the NPU.

### Driver stopped working after a Raspberry Pi OS update

#### Symptom

The board worked before `sudo apt upgrade` or a kernel update. After the reboot, `dxrt-cli -s` reports *no device found*, `lsmod | grep -i dx` prints nothing, and `lspci` may or may not list the DEEPX device.

#### Cause

DKMS should rebuild the DEEPX module for every new kernel, and usually does. When it cannot (no matching kernel headers, or a build that failed silently), `dx_dma` is missing from the new kernel and the NPU disappears. Reinstalling `dxrt-driver-dkms` rebuilds it for the running kernel.

#### Fix

1. **Check kernel version.**

   ```bash
   uname -r
   ```

   If the kernel did not change, the update is not the cause: run the quick diagnostics first.

2. **Check module.**

   ```bash
   lsmod | grep -i dx
   ```

   No output matches this cause.

3. **Reinstall `dxrt-driver-dkms`.**

   ```bash
   sudo apt update
   sudo apt install --reinstall dxrt-driver-dkms
   ```

   `--reinstall` rebuilds the module for the running kernel even if the package version did not change. The build takes most of the time and prints a lot of compiler output.

4. **Reboot.**

   The rebuilt module then loads cleanly.

   ```bash
   sudo reboot
   ```

5. **Check result.**

   ```bash
   lsmod | grep -i dx
   dxrt-cli -s
   ```

   The module is listed, and the runtime reports the device:

   ```text
   DXRT v3.5.0
   =======================================================
    * Device 0: M1, Accelerator type
   ---------------------   Version   ---------------------
    * RT Driver version   : v2.7.0
    * PCIe Driver version : v2.7.0
   -------------------------------------------------------
    * FW version          : v2.7.6
   --------------------- Device Info ---------------------
    * Memory : LPDDR5 5600 Mbps, 3.92GiB
    * Board  : M.2, Rev 1.0
    * Chip Offset : 0
    * PCIe   : Gen3 X1 [01:00:00]
   NPU 0: voltage 750 mV, clock 1000 MHz, temperature 45'C
   NPU 1: voltage 750 mV, clock 1000 MHz, temperature 45'C
   NPU 2: voltage 750 mV, clock 1000 MHz, temperature 45'C
   =======================================================
   ```

> [!WARNING]
> **DKMS build errors**
>
> The usual cause is missing kernel headers. Install them with `sudo apt install linux-headers-rpi-2712`, then run the reinstall again. If the reinstall still fails, follow the [Quickstart](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/quickstart/) from the start.

## Still need help?

Contact Sixfab support with the output of the six quick diagnostic commands; it is usually enough to pinpoint the issue.

- [Open support ticket](https://sixfab.com/contact): One-on-one with the Sixfab team. Best for blocking issues.
- [Ask community](https://community.sixfab.com): Browse threads or post a question on the Sixfab forum.
