error connecting to Cyton Board [resolved, old firmware]

rmib200rmib200 Bolivia
edited June 27 in Cyton

Hi! I recently tried to connect a Cyton board (the same as the attached image) but I got an error when I try to connect it to the GUI. I'm using GUI v.5.0.3 and the board is Cyton V3-32. The dongle is recognized but the trouble appears when trying to connect to the board. I've tried different usb ports for the dongle but no success. This board was kindly donated by Taran from Linus Media, and we are trying to set it running for our projects. Please any help would be appreciated.

This is the Log I get.

Console Log Started at Local Time: 2021-03-23_15-05-33
Screen Resolution: 1366 X 768
Operating System: Windows
Welcome to the Processing-based OpenBCI GUI!
For more information, please visit: https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs
OpenBCI_GUI::Setup: GUI v5 Sample Data exists in Documents folder.
ControlP5 2.3.1 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
TopNav: Internet Connection Successful
Local Version: v5.0.3, Latest Version: v5.0.3
GUI is up to date!
CP: Playback History Size = 2
OpenBCI_GUI::Setup: Setup is complete!
sourceList: click! 
Channel count set to 8
ControlPanel: Found Cyton Dongle on COM port: COM9

-------------------------------------------------
ControlPanel: Attempting to Auto-Connect to Cyton
-------------------------------------------------

ControlPanel: Found Cyton Dongle on COM port: COM9
CytonAutoConnect: Error reading from Serial/COM port
[WARN]: Found a Cyton dongle, but could not connect to the board. Auto-Scanning now...
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
CytonAutoConnect: Error reading from Serial/COM port
[ERROR]: Unable to connect to Cyton. Please check hardware and power source.
ConsoleLog: Copying console log to clipboard!

Comments

  • retiututretiutut Louisiana, USA

    @wjcroft Does this need a firmware update?

  • wjcroftwjcroft Mount Shasta, CA

    Richard and Rmib, hi.

    Yes, I believe Taran purchased this multiple years ago, and the firmware likely needs updating both the two RFduinos (dongle and mainboard), and the main cpu, PIC32 / chipKIT.

    https://github.com/OpenBCI/OpenBCI_Cyton_Library/blob/master/UPGRADE_GUIDE.md
    https://docs.openbci.com/docs/02Cyton/CytonRadios
    https://docs.openbci.com/docs/02Cyton/CytonProgram

    William

  • wjcroftwjcroft Mount Shasta, CA

    Just to verify the boards work, could he first try a very old GUI version? Which one?

  • retiututretiutut Louisiana, USA

    I think it would be easier to use the Cyton SDK and Arduino Serial monitor to check board version. Another way is to run GUI v4.2.0 and it might print the Cyton firmware version to the console log.

  • wjcroftwjcroft Mount Shasta, CA

    Richard, thanks. Other programs which are known to work with the original Cyton serial port protocol are BrainBay and OpenViBE.

  • rmib200rmib200 Bolivia

    This is the Log that I get when using GUI v.4.2.0.
    I guess the Cyton firmware is v1.0.0

    Console Log Started at Local Time: 2021-03-24_14-39-30
    Screen Resolution: 1366 X 768
    Welcome to the Processing-based OpenBCI GUI!
    For more information, please visit: https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs
    Launching application from local data dir
    OpenBCI_GUI: hubStart: OS Detected: Windows
    TopNav: Internet Connection Successful
    Local Version: 420, Latest Version: 503
    GUI needs to be updated. Download at https://github.com/OpenBCI/OpenBCI_GUI/releases/latest
    OpenBCI_GUI::Setup: Sample Data exists in Documents folder.
    ControlP5 2.2.6 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
    The file "C:\Users\Win10\Documents\OpenBCI_GUI\Settings\UserPlaybackHistory.json" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
    OpenBCI_GUI::Control Panel: Playback history file not found or other error.
    OpenBCI_GUI::Setup: Setup is complete!
    Instantiating hub object...
    Hub: CheckHubInit: The GUI is connected to the Hub!
    sourceList: click! 
    setInterface: curInterface: -1
    channel count set to 8
    Setting Latency to 10000
    Setting WiFi Internet Protocol to udpBurst
    Setting WiFi style to dynamic
    [DEFAULT]: Protocol Serial Selected for Cyton
    setInterface: curInterface: 0
    Setting sample rate for Cyton to 250Hz
    
    
    sample rate set to: 250
    [DEFAULT]: Transfer Protocol set to serial
    ControlPanel: Attempting to connect to COM9
    Settings: LogFileMaxDuration = 60 minutes
    [DEFAULT]: Attempting to Start Session...
    initButtonPressed: Calling initSystem() after next draw()
    OpenBCI_GUI: Start session. Calling initSystem().
    
    
    =================================================
    ||             INITIALIZING SYSTEM             ||
    =================================================
    
    Hub: processConnect: made it -- 17074 code: 200
    Hub: setBoardType(): sending 'cyton -- 17074
    Hub: processBoardType: success -- 17075
    [SUCCESS]: The GUI is done initializing. Settings Loaded! Press "Start Data Stream" to start streaming! --  Cyton firmware v1.0.0
    openBCI_GUI: haltSystem: Halting system for reconfiguration of settings...
    Cyton: startDataTransfer(): writing 's' to the serial port...
    Hub: sendCommand(char): sending 's'
    SoftwareSettings: 3 active widgets saved!
    Closing any open SD file. Writing 'j' to OpenBCI.
    Hub: sendCommand(char): sending 'j'
    Hub: processCommand: success -- 17969
    Disconnecting serial...
    [ERROR]: Check that the device is powered on and in range. Also, try AUTOSCAN. Otherwise, Cyton firmware is out of date.
    The file "C:\Users\Win10\Documents\OpenBCI_GUI\Settings\UserPlaybackHistory.json" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
    OpenBCI_GUI::Control Panel: Playback history file not found or other error.
    ConsoleLog: Copying console log to clipboard!
    
    
  • retiututretiutut Louisiana, USA

    [SUCCESS]: The GUI is done initializing. Settings Loaded! Press "Start Data Stream" to start streaming! -- Cyton firmware v1.0.0

    @wjcroft @rmib200 My Cyton with latest firmware shows v3.1.2 using GUI v4.2.0.

  • rmib200rmib200 Bolivia

    Btw, I tried with an older version of the GUI v3.4.0 and also no luck :/

  • rmib200rmib200 Bolivia

    @wjcroft Do I need to upgrade to v. 2. 0 first and then upgrade to v 3.0? or can it be upgraded directly to v.3?

  • wjcroftwjcroft Mount Shasta, CA

    Follow the steps at "Upgrading to 2.0.0" in,

    https://github.com/OpenBCI/OpenBCI_Cyton_Library/blob/master/UPGRADE_GUIDE.md

    Going from 2 to 3 is just a new PIC32 mainboard firmware. You need to upgrade the RFduino radios first in the "Upgrading to 2.0.0" steps, since you have firmware 1.

  • rmib200rmib200 Bolivia

    @wjcroft Hey there! I've been trying to follow the guide but I'm stuck in one step.
    ---In the Arduino IDE 1.5.8 go File-->Examples-->OpenBCI_Radios-->RadioDevice32bit which will launch the Device firmware.
    I unzipped the folder with the OpenBCI_Radios and from the Arduino Examples list I cannot find the "RadioDevice32bit" option. I looked many times but I don't find an exact (or similar) option. Could I have done something wrong? Or maybe the option that I'm looking for is under a different name ?

  • rmib200rmib200 Bolivia


    Hi!! I managed to get this far. I followed the tutorial for the usb dongle and now I'm trying to update the board. With Arduio 1.8.15. But I get this error.
    The board still is not recognized by the GUI. It seems that the problem arises when the code is being uploaded to the Cyton board.
    I'm using ChipKIT core 2.0.6.
    What can be done to solve this issue?? :/

  • wjcroftwjcroft Mount Shasta, CA

    Did you complete all these steps in the order required? Which steps were successful, and which are not? To be upgraded are the two RFduinos (mainboard and dongle), and the PIC32.

    https://github.com/OpenBCI/OpenBCI_Cyton_Library/blob/master/UPGRADE_GUIDE.md
    https://docs.openbci.com/docs/02Cyton/CytonRadios
    https://docs.openbci.com/docs/02Cyton/CytonProgram

  • rmib200rmib200 Bolivia

    I would say that all the steps where succesful until this last one. Is there a way to make sure that the Pass Thru Radio Firmware was correctly uploaded to the Cyton Board?

  • wjcroftwjcroft Mount Shasta, CA

    Can you answer my question? Which chips have been successfully reprogrammed?

  • wjcroftwjcroft Mount Shasta, CA

    Your photo seems to imply that you are at the VERY FIRST step in the three chip reprogramming. This first step reprograms the mainboard RFduino (called the 'device'), using the dongle RFduino ('host') as a passthrough.

    https://github.com/OpenBCI/OpenBCI_Cyton_Library/blob/master/UPGRADE_GUIDE.md

    https://docs.openbci.com/docs/02Cyton/CytonRadios#uploading-device-firmware-to-cyton-board

  • wjcroftwjcroft Mount Shasta, CA
    edited June 28

    I would say that all the steps where successful until this last one. Is there a way to make sure that the Pass Thru Radio Firmware was correctly uploaded to the Cyton Board?

    Are you certain about this statement? Your photo seems to show NOT the last step, but the first. (Programming setup for flashing the mainboard RFduino.) The pass thru program is loaded onto the dongle, so that it can then be used to reprogram the mainboard RFduino, via the link below. This uses hand held contacts to the underside of the board.

    https://docs.openbci.com/docs/02Cyton/CytonRadios#uploading-device-firmware-to-cyton-board

  • rmib200rmib200 Bolivia

    I'm not on the first step. I've completed the steps on the Cyton Radios. Just sending the pic to confirm that. I'm trying to upload the Cyton Firmware. Is there a way to check if the previous steps where done correctly? I don't know anything about hardware so I'm pretty much working blind here. A little help wouldn't be bad.

  • wjcroftwjcroft Mount Shasta, CA

    OK, your photo confused me, it looked like you were setting up the passthrough. Did you get all the correct messages from the Arduino IDE app, as you completed the firmware uploads to the mainboard ('device') RFduino, and dongle RFduino ('host') ?

    If your RFduinos are healthy, you should be able to use the features in the OpenBCI_GUI that change or adjust the radio channels.

    https://docs.openbci.com/docs/01GettingStarted/01-Boards/CytonGS#5-optional-settings

    Expand section 5 by clicking the arrow. Try the commands: Get Channel, Change Channel, Autoscan.

Sign In or Register to comment.