Cyton firmware update problem [resolved]
I am having a problem with my cyton board after a firmware update. The channels are now offset.
I have an older cyton board (~5 years).
The markings on the board identify it as "V3-32".
It was working fine with a version of OpenBCI_GUI installed last June (2019).
A new team in our lab wanted to work with it and were not able to get it to connect to the latest version of OpenBCI_GUI. The readme said that the firmware was not compatible so I updated the firmware with the latest version available.
The cyton will now connect to the latest OpenBCI_GUI but the channels are offset.
Channel 1 data stream in OpenBCI_GUI shows a steady pulsing pattern.
Channel 1 wire signal (N1P) shows up on Channel 2 data stream, wire 2 (N2P) on ch 3, up to wire 7(N7P) on ch8 and wire 8 (N8P)) signal is not visible anywhere.
I have not changed the wires, they are in the same positions they have always been and I have verified that they are connected with N1P going to left frontal lobe, N2P, right frontal, N3P left parietal, N4P right parietal, N5P left temporal, N6P right temporal, N7P left occipital, N8P, right occipital.
I have tried to re-upload the firmware two more times and have rebooted my computer twice and still get the same results.
I used Arduino 1.8.10 to upload the firmware.
I followed the instructions from here:
https://docs.openbci.com/docs/02Cyton/CytonProgram#install-chipkit-core-firmware
Comments
Marcus, hi.
Are you sure you updated ALL THREE firmwares as mentioned here,
https://github.com/OpenBCI/OpenBCI_Cyton_Library/blob/master/UPGRADE_GUIDE.md
Regards, William
Thank you for the link.
I am trying to update the firmware for the DEVICE (cyton board) but I keep getting the error "fail....fail....fail..." on the Arduino. I am using Arduino 1.5.8 beta and the RadioDevice32bit file.
I have followed the instructions for downloading the files and moving them to the correct locations. I am using board "RFduino" and the port is set to COM8 which is the same com port I am using to connect the board to openBCI_GUI.
I am trying the method described here:
https://docs.openbci.com/docs/02Cyton/CytonRadios#uploading-device-firmware-to-cyton-board
I am using Windows 10.
I suspected I was not holding the wires down securely enough so I have soldered them to the pads and I still get the failure.
I have tried uploading with the cyton board switch set to both "PC" and "BLE" and I get the same error with each. I have tried both a 0.1uF and a 0.01uF capacitor .
I have tried the trick I read about here:
https://openbci.com/forum/index.php?p=/discussion/269/unable-to-program-onboard-rfduino
and waited until both just before and just after the arduino says "uploading" to turn on the cyton board. I have tried this several times varying the timing and with setting the switch to both "PC" and "BLE".
My cyton board is connected to a battery pack with four AA batteries. They are fresh batteries that were installed yesterday.
My dongle is set to the GPIO6 position.
I can see the green RXD LED on the dongle flash every time but I only occasionally see a single flash of the red TXD LED.
This mostly happens when I use the trick to turn on the cyton board just before the arduino starts its upload and I have only seen it when I switch to "PC", I have not seen it when I switch to "BLE".
I have verified that the TX on the dongle is connected to RX on the board and RX on the dongle is connected to TX on the board.
I did test to see if reversing them had any effect and when I connect TX to TX, RX to RX, I still only see the green RXD LED blink and not the red TXD LED and I still get the same "fail....fail....fail..." error.
I have tried disconnecting both TX and RX wires and I see both the TXD and RXD LED's flash and I get the error:
"expecting 14, got 53
fail....fail....fail...."
I have also tested removing all of the sensor wires and jumpers and also tested with both jumpers "AVSS" and "AVDD" attached and with just "AVSS" and with just "AVDD" with the same results.
*** SOLVED ***
I have successfully updated my firmware and confirmed that everything is now functioning normally.
I used an FTDI basic breakout board to upload firmware to the cyton board and it worked on the first try.
I connected FTDI DTR to Cyton RFRST through a 0.1uF capacitor.
FTDI GND to Cyton GND
FTDI RX to Cyton RFTX
FTDI TX to Cyton RFRX
I set the switch on the Cyton board to "PC".
The dongle firmware also uploaded correctly on the first try.
I did have 3 failures re-uploading the Default_Board.ino file.
It would fail during the "Verify" step.
After each failure, I would turn the cyton board off and put it back in BLE programming mode by holding down both "RST" and "PROG" buttons, turning the switch to "BLE", releasing the "RST" button first, then releasing the "PROG" button. On the third try, I closed another process I had running simultaneously and the firmware updated successfully, I'm not sure if that's related or not.
I am now able to connect to the headset through OpenBCI_GUI and all channels read correctly and my python program that captures data is working as well.
I used the following pages to help:
https://docs.openbci.com/docs/02Cyton/CytonProgram#install-chipkit-core-firmware
https://github.com/OpenBCI/OpenBCI_Cyton_Library/blob/master/UPGRADE_GUIDE.md
https://github.com/OpenBCI/OpenBCI_Radios/blob/master/examples/RadioDevice32bit/RadioDevice32bit.ino
https://github.com/RFduino/RFduino
https://openbci.com/forum/index.php?p=/discussion/2330/guidance-in-upgrading-cyton-daisy-from-v1-to-v3-firmware
https://docs.openbci.com/docs/02Cyton/CytonProgram
https://docs.openbci.com/docs/02Cyton/CytonRadios#uploading-device-firmware-to-cyton-board
https://openbci.com/forum/index.php?p=/discussion/269/unable-to-program-onboard-rfduino
Thank you very much to everyone involved in helping to solve this problem!