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 [2015-01-07 11:58]
macke
Line 1: Line 1:
-====== 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: 
- 
-<code> 
-> cd crazyradio-firmware 
-> python usbtools/launchBootloader.py  
-Launch bootloader . 
-Bootloader started 
-</code> 
- 
-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 nrfbootload.py script: 
- 
-<code> 
-> cd crazyradio-firmware 
-> python usbtools/nrfbootload.py flash firmware/bin/cradio.bin 
-Found nRF24LU1 bootloader version 18.0 
-Flashing: 
-  Flashing 5771 bytes... 
-Flashing done! 
-Verifying: 
-  Reading firmware/bin/cradio.bin... 
-  Reading 5771 bytes from the flash... 
-Verification succeded! 
-</code> 
projects/crazyradio/programming.txt · Last modified: 2020-05-12 14:13 by kimberly