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 [2013-05-14 09:18] 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 <abbr title=" | + | 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 |
- | In Linux it might be required to launch the commands accessing the USB port as root (ie. with '' | + | In Linux it might be required to launch the commands accessing the USB port as root (ie. with '' |
===== USB bootloader (command line instructions) ===== | ===== USB bootloader (command line instructions) ===== | ||
Line 9: | Line 9: | ||
< | < | ||
- | > cd pc_util/crazyradio/ | + | > cd crazyradio-firmware |
- | > python launchBootloader.py | + | > python |
- | Launching | + | Launch |
- | Bootloader | + | Bootloader |
- | > | + | |
</ | </ | ||
Line 21: | Line 20: | ||
< | < | ||
- | > python nrfbootload.py flash /path/to/cradio.bin | + | > cd crazyradio-firmware |
+ | > python | ||
+ | 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! | ||
</ | </ |