-
1Get proper hardware
This firmware can be programmed to any CC2540 board with USB support as it doesn’t require any external peripheral. However if your development board don't have USB already, make sure there is a 1.5K pull-up resistor on D+ line.
I used a development board to write firmware, then I bought a few small-factor dongles and all of them have programming pads.They can be got from Ebay or Aliexpress around $10~$15
-
2Flash firmware
In order to program them, I had to solder 3 wires, DC, DD and RST. Since there was already a USB port, I supplied power with a USB connector breakout board directly to save 2 wires.
Finally I used CC Debugger to re-flash all chips. I tried to use an Arduino as programmer but I didn't get setup correct. But it is worth trying if you don't have CC Debugger. Here are links:
https://github.com/RedBearLab/CCLoader
https://github.com/wavesoft/CCLib
http://magictale.com/2884/flashing-ble112-with-arduino-based-cc-debugger/
Once those dongle is re-flashed with new firmware, plug them to your Raspberry Pi and enjoy ~.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.