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
Last revision Both sides next revision
projects:crazyradio:programming [2013-05-19 12:17]
macke
projects:crazyradio:programming [2019-09-05 14:53]
kimberly
Line 1: Line 1:
 +<WRAP center round important 60%>
 +This page is deprecated and is moved to the main Bitcraze website. Please go to:
 +
 + [[
 +https://www.bitcraze.io/docs/crazyradio-firmware/master/programming/
 +]]
 +
 +</WRAP>
 +
 +
 ====== Crazyradio firmware upgrade ====== ====== Crazyradio firmware upgrade ======
  
Line 26: Line 36:
 <code> <code>
 > cd crazyradio-firmware > cd crazyradio-firmware
-> python usbtools/nrfbootload.py flash cradio-0.51.bin+> python usbtools/nrfbootload.py flash cradio-0.53.bin
 Found nRF24LU1 bootloader version 18.0 Found nRF24LU1 bootloader version 18.0
 Flashing: Flashing:
-  Flashing 5771 bytes...+  Flashing 5810 bytes...
 Flashing done! Flashing done!
 Verifying: Verifying:
-  Reading cradio-0.51.bin... +  Reading cradio-pa-0.53.bin... 
-  Reading 5771 bytes from the flash...+  Reading 5810 bytes from the flash...
 Verification succeded! Verification succeded!
 </code> </code>
  
 ===== Step-by-step upgrade using the Bitcraze VM ===== ===== Step-by-step upgrade using the Bitcraze VM =====
-Below is a short guide with step-by-step instructions on how to upgrade the Crazyradio with the latest firmware using the [[projects:virtualmachine:index|Bitcraze VM]]+Below is a short guide with step-by-step instructions on how to upgrade the Crazyradio with the latest firmware using the [[projects:virtualmachine:index|Bitcraze VM]]. There are two different firmwares for the Crazyradio, one for the first generation Crazyradio and one for the Crazyradio PA.
  
-  * Start up the VM and download the latest firmware from [[https://bitbucket.org/bitcraze/crazyradio-firmware/downloads|here]] (currently v0.51). Place the firmware in **/home/bitcraze/projects/crazyradio-firmware**+  * Start up the VM and download the latest firmware from [[https://github.com/bitcraze/crazyradio-firmware/releases|GitHub]]. Place the firmware in **/home/bitcraze/projects/crazyradio-firmware**
   * Open up a terminal   * Open up a terminal
   * Insert the Crazyradio and pass it to the VM   * Insert the Crazyradio and pass it to the VM
Line 50: Line 60:
 Bootloader started Bootloader started
 </code> </code>
-  * Once the bootloader is started the Crazyradio dongle will dissapear ad a new device named **nRF24LU1P-F32 BOOT LDR** will appear. Pass this to the VM.+  * Once the bootloader is started the Crazyradio dongle will dissapear ad a new device named **Nordic Semiconductor nRF24LU1P-F32 BOOT LDR** will appear. If you do not have a filter set up for the bootloader in the VM then script will say that it failed. This is ok. Pass the bootloader device into the VM and continue.
   * Run the following command:   * Run the following command:
   * <code>   * <code>
-> python usbtools/nrfbootload.py flash cradio-0.51.bin+> python usbtools/nrfbootload.py flash cradio-0.53.bin
 Found nRF24LU1 bootloader version 18.0 Found nRF24LU1 bootloader version 18.0
 Flashing: Flashing:
-  Flashing 5771 bytes...+  Flashing 5810 bytes...
 Flashing done! Flashing done!
 Verifying: Verifying:
-  Reading cradio-0.51.bin... +  Reading cradio-pa-0.53.bin... 
-  Reading 5771 bytes from the flash...+  Reading 5810 bytes from the flash...
 Verification succeded! Verification succeded!
 </code> </code>
   * If you see **Verification succeded** then unplug the dongle and re-insert it again. If you do not see this message, but instead some error. Do **NOT** unplug the dongle, try to reflash the firmware instead.   * If you see **Verification succeded** then unplug the dongle and re-insert it again. If you do not see this message, but instead some error. Do **NOT** unplug the dongle, try to reflash the firmware instead.
 +
 +===== Check your firmware version =====
 +Run the following command:
 +<code>
 +> lsusb -d 1915:7777 -v | grep bcdDevice
 +</code>
 +This should return the version (e.g. "0.52").
projects/crazyradio/programming.txt · Last modified: 2020-05-12 14:13 by kimberly