Unable to connect to Cyton Board with the GUI

rmib200rmib200 Bolivia

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 ?

Sign In or Register to comment.