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-07 16:16]
skube [Radio programming]
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 9: Line 9:
  
 <code> <code>
-> cd pc_util/crazyradio/ +> cd crazyradio-firmware 
-> python launchBootloader.py +> python usbtools/launchBootloader.py  
-Launching bootloader .+Launch bootloader . 
-Bootloader launched. +Bootloader started
->+
 </code> </code>
  
Line 21: Line 20:
  
 <code> <code>
-> python nrfbootload.py flash /path/to/cradio.bin+> cd crazyradio-firmware 
 +> python usbtools/nrfbootload.py flash cradio-0.51.bin 
 +Found nRF24LU1 bootloader version 18.0 
 +Flashing: 
 +  Flashing 5771 bytes... 
 +Flashing done! 
 +Verifying: 
 +  Reading cradio-0.51.bin... 
 +  Reading 5771 bytes from the flash... 
 +Verification succeded!
 </code> </code>
projects/crazyradio/programming.txt · Last modified: 2020-05-12 14:13 by kimberly