M.2 Slot Two PCIe Gen2x1 Lanes on Dell Inspiron 3880: Installing M.2 Accelerator Dual Edge TPU
The Dell Inspiron 3880, running on a Debian server, has an M.2 slot that currently houses a Wi-Fi/BT card. If you wish to install the M.2 Accelerator Dual Edge TPU, follow the steps below.
Preparation
- Ensure your system is powered off and unplugged from the power source.
- Open the laptop case to access the M.2 slot.
Installation
- Remove the Wi-Fi/BT card from the M.2 slot.
- Insert the M.2 Accelerator Dual Edge TPU into the M.2 slot, ensuring it is properly aligned and securely fastened.
Software Setup (Debian)
- Update the system by running the following commands:
sudo apt-get update
sudo apt-get upgrade
- Install the required libraries and tools:
sudo apt-get install libusb-1.0-0-dev libudev-dev
- Clone the Coral Edge TPU SDK repository:
git clone https://coral.googlesource.com/coral/+/refs/heads/main/sdk
- Navigate to the cloned SDK directory:
cd sdk
- Build the Coral TPU Tools:
./build.sh
- Install the Coral TPU Tools:
sudo ./install.sh
Usage
- Connect the M.2 Accelerator Dual Edge TPU to your system using a USB cable.
- Run the following command to detect the device:
coral-usb-device-info
- To run an example model, navigate to the
examples/pythondirectory and run the following command:
python3 mobilenet_v1_0_256_quant.py
References
- M.2 Accelerator Dual Edge TPU: https://coral.ai/products/accelerator/
- Coral Edge TPU SDK: https://coral.googlesource.com/coral/+/refs/heads/main/sdk
- Coral TPU Tools: https://coral.ai/docs/sdk/latest/tools/
- Debian Linux: https://www.debian.org/