OpenBCI 32bit Upgrade Guide
The purpose of this document is to provide instruction, resources, and advice for upgrading an OpenBCI 32bit 8-16 channel board firmware.
Upgrading to 2.0.0
You must re-program three (3) different microcontrollers: Chipkit Pic32 (hereafter called Pic) on the Board, RFduino on the Board (hereafter called Device), and the RFdunio on the Dongle (hereafter called Host).
The order of programming should go as follows
- Flash the
DevicewithRadioDevice32bit - Flash the
HostwithRadioHost32bit - Flash the
PicwithDefaultBoard
Awesome New Features
- Examples folder contains a bunch of awesome code to get you started as fast as possible!
- Time syncing
- Send custom packet types for your openbci driver to decipher!
- Send user defined packet types (let's you do custom code on the pic and still use our high speed mode!)
- Change baud rate on
Hostto230400or921600 - Change radio channel number from the computer
What this update set out to solve
- Removed burger code. Now you can send strings of commands from a driver instead of one at a time.
- Moved mission critical code into library. Play around in the
.inofiles without breaking the core features of the board. - Over the air (OTA) programming stabilization.
- Always send
$$$after any text send from the board. (i.e.dandcjust sent text with not$$$)
Resources
In depth tutorials
- How to get/install/upload code to Pic32
Board - How to get/install/upload code to
HostandDevice - Packet protocol, including the new stop byte
New commands
Installing Previous Versions
To install previous versions of the firmware checkout the Releases folder to download 1.0.0: