adafruit / Adafruit_nRF51822_Flasher

Wrapper for the Segger J-Link or STLink/V2 (via OpenOCD) to flash nRF51822 MCUs
41 stars 11 forks source link

Add BLESNIFFER as a board target? #1

Open microbuilder opened 8 years ago

microbuilder commented 8 years ago

It might be useful to add BLESNIFFER as a board to flash devices with the sniffer firmware since this would allow customers to debrick their own boards? Perhaps we can just ignore the other fields if BLESNIFFER is provided as the board type?

sudo python flash.py --jtag=rpigpio --board=blesniffer

When flashing the sniffer, the board should be erased first since no bootloader or SD are required.

liath commented 3 months ago

In case anyone else comes across this post looking for hints on updating their BLE sniffer firmware, Nordic provides an app that works well for this. Grab it and open the "Programmer" tool inside it, as OP here says there is no other images to flash, just drop the sniffer hex into it and hit "erase and write". It throws an error after but the hex still gets written so its fine to ignore :)

Oh, and if you want to use the latest sniffer firmware, the nrf51422 hex from the extcap download works just fine on the nrf51822. No clue if it's advisable but it does unlock the new 1000000 baud mode and firmware-synchronized timestamping.