bitcraze / crazyradio-firmware

Crazyradio firmware, programming scripts and driver.
Other
144 stars 106 forks source link

Make raspberry-pi unbricking script #27

Closed ataffanel closed 7 years ago

ataffanel commented 8 years ago

Flashing via USB Crazyradio can result in blocking the dongle. This is because the bootloader is launched by the firmware and so if a wrong firmware is flashed it will be impossible to reach the bootloader again.

The only fix then is to flash with SPI. The easier being to write the three bytes "0x02 0x78 0x00" which means "Jump to address 0x7800". The USB bootloader is at address 0x7800.

We should be able to do that with a python bit-banging program for Raspberypi.

ataffanel commented 7 years ago

Done and working!