3.8 KiB
3.8 KiB
OpenBCI 32bit Upgrade Guide
The purpose of this document is to provide instruction, resources, and advice for upgrading an OpenBCI Cyton 8-16 channel board firmware.
Upgrading to 3.0.0
Upgrading from 2.x.x
Flash the Pic with DefaultBoard
Awesome New Features
- Wifi shield support
- Read from analog or digital ports in a single line or command. (board mode)
- Simplified user experience
- Variable sample rate with wifi shield or Serial1 (with baud of 468000)
What this update set out to solve
- Have a single
.sendChannelData()data function to call that manages the stop byte behind the scenes. I.e. if accel data should be added to aux bytes vs. reading from analog input pins and putting that in the aux bytes. - Add wifi support without breaking any firmware v2.0.0 or v1.0.0 features.
- Prevent users from having to upload custom code to the pic
In depth tutorials
New commands
Upgrading from 1.x.x
Read Upgrading to 2.0.0 below:
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: