rosvall.github.io

cc2531

Turning a stock CC2531USB-RD dongle into a Linux-supported WPAN adapter

Quick howto

Prerequisites

Kernel module

# Clone driver repo
git clone 'https://github.com/rosvall/cc2531_linux.git' 
cd cc2531_linux

# Build
make

# Install module
sudo make modules_install

Hack the stock CC2531USB-RD dongle

Download the oem flasher

# Flash bootloader to CC2531 dongle (that runs stock sniffer firmware)
python oem_flasher.py stub.bin bootloader/bootloader.bin

Download WPAN firmware to dongle

Download the WPAN firmware

# Flash firmware to CC2531 through USB device firmware upgrade
dfu-util -D wpan_fw.dfu