User Tools

Site Tools


projects:crazyradio:programming

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
projects:crazyradio:programming [2013-05-11 19:22]
macke
projects:crazyradio:programming [2013-05-14 09:19]
arnaud [USB bootloader (command line instructions)]
Line 1: Line 1:
 ====== Radio programming ====== ====== 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.+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**). Unless you have equipment to re-flash the dongle via SPI (currently requires a JtagKEY jtag interface), **program only Bitcraze released firmware** via USB (last firmware image can be found [[https://bitbucket.org/bitcraze/crazyradio-firmware/downloads|there]]).
  
-In Linux it might be required to launch the commands accessing the USB port as root (ie. with ''sudo'')+In Linux it might be required to launch the commands accessing the USB port as root (ie. with ''sudo''). Also the scripts are written in Python2 so if you distribution has python3 by default replace //python// by //python2// in the commands.
 ===== USB bootloader (command line instructions) ===== ===== USB bootloader (command line instructions) =====
  
Line 21: Line 21:
 <code> <code>
 > cd crazyradio-firmware > cd crazyradio-firmware
-> python usbtools/nrfbootload.py flash firmware/bin/cradio.bin+> python usbtools/nrfbootload.py flash cradio-0.51.bin
 Found nRF24LU1 bootloader version 18.0 Found nRF24LU1 bootloader version 18.0
 Flashing: Flashing:
Line 27: Line 27:
 Flashing done! Flashing done!
 Verifying: Verifying:
-  Reading firmware/bin/cradio.bin...+  Reading cradio-0.51.bin...
   Reading 5771 bytes from the flash...   Reading 5771 bytes from the flash...
 Verification succeded! Verification succeded!
 </code> </code>
projects/crazyradio/programming.txt · Last modified: 2020-05-12 14:13 by kimberly