This shows you the differences between two versions of the page.
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 [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 '' | ||
- | ===== 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 pc_util/ | ||
- | > python launchBootloader.py | ||
- | Launching bootloader .. | ||
- | Bootloader launched. | ||
- | > | ||
- | </ | ||
- | |||
- | After running this tool the Crazyradio dongle should have disappeared and a new device named '' | ||
- | |||
- | To flash the firmware use the nrfbootload.py script: | ||
- | |||
- | < | ||
- | > python nrfbootload.py flash / | ||
- | </ |