User Tools

Site Tools


This is an old revision of the document!

Radio programming

The Radio dongle can be programmed either via USB bootloader or via SPI. The USB bootloader does not require any hardware but is not currently (as of 2012-09) full-proof (if the flash procedure does not complete well the dongle will have to be reprogrammed via spi). It is recommended to program only released firmware via USB.

In Linux it might be required to launch the commands accessing the USB port as root (ie. with sudo)

USB bootloader (command line instructions)

First Crazyradio has to be rebooted in USB bootloader mode. To do so insert the dongle in the pc, open a terminal window and run the bootloader launcher:

> cd crazyradio-firmware
> python usbtools/ 
Launch bootloader .
Bootloader started

After running this tool the Crazyradio dongle should have disappeared and a new device named nRF24LU1P-F32 BOOT LDR should appear.

To flash the firmware use the script:

> cd crazyradio-firmware
> python usbtools/ flash firmware/bin/cradio.bin
Found nRF24LU1 bootloader version 18.0
  Flashing 5771 bytes...
Flashing done!
  Reading firmware/bin/cradio.bin...
  Reading 5771 bytes from the flash...
Verification succeded!
projects/crazyradio/programming.1368292927.txt.gz · Last modified: 2015-07-15 16:30 (external edit)