Program sketch using FTDI Friend, failed, photos

edited May 2017 in Ganglion
Hello.

I am trying to program Ganglion using FTDI Friend. I followed the tutorial, however, when I uploaded the default Ganglion sketch, it failed.

image

imageimage

Is there any incorrect connection?
How can I solve this problem and upload the default sketch successfully?
Thank you for any help!

Comments

  • Winnie,

    I'm using a different FTDI adaptor, but for mine Tx is connected to Tx and Rx to Rx.  Your photos show Rx and Tx connections reversed.  Also, I think the Ganglion board needs to be connected to batteries and powered on.

    Best regards,
    Michael
  • Hi, Michael,

    I'd like to thank you firstly. Actually I reinstalled the Arduino and set it following the steps mentioned in the tutorial exactly. For this time, the error message is arduino-1.8.3\\portable\\packages\\Simblee\\hardware\\Simblee\\1.1.0/{compiler.zip.cmd}": file does not exist. Do you know how to solve it? When I tried, I tried in both ways, I connected TX to TX and tried TX to RX also, but both were failed.

    Thank you in advance,
    Winnie
  • Winnie,

    Could you tell me whether you using a PC or a Mac?  I may be able to help if you are using a Mac.

    Best regards,
    Michael
  • Michael,

    Unfortunately, I am using Windows system. Thank you for your kind help.

    Best regards,
    Wininie
  • Winnie,

    I also started with a PC and couldn't get the upgrade to work.  Last time I looked, the openBCI tutorials still had no instructions for the PC.  The tutorial for the Mac didn't work, either, but I found an alternative method.  If you are able to get access to a Mac, I'll be happy to tell you what I did.

    Best regards,
    Michael
  • Michael,

    I would like to keep trying with the PC, because I may not be able to change to a Mac. If there is any progress using a PC, I will be happy to tell you too. Besides, may I know what the alternative method is?

    Best regards,
    Winnie
  • Michael,

    Finally, I am fortunate to get a Mac. However, I was not able to find the Ganglion library. Where should I put the Ganglion_Library folder in? I followed the tutorial, but there is no 'Arduino' folder in 'Documents'. I am not used to the Mac OS, could you please tell me how to do it?

    Thanks and regards,
    Winnie
  • Winnie,

    Here are my notes on upgrading the Ganglion with a Mac:

    1.  Install Arduino in Applications and download OpenBCI_Ganglion_Library from github.

    2.  In Applications, right-click on Arduino and select Show Package Contents.

    3.  Place OpenBCI_Ganglion_Library folder in Contents/Java/libraries/ folder.

    4.  (Still in Arduino Package Contents) Find DefaultGanglion.ino in Contents/Java/libraries/OpenBCI_Ganglion_Library/examples/DefaultGanglion/

    5.  Double-click on this file and open with Arduino IDE.  Delete the quotation marks from this line: #include <"openBCI.Ganglion_Library.h">.  Save the revised file.

    6.  Connect battery and USB adaptor to Ganglion.  Turn Ganglion On.  Set Arduino for connection to Ganglion.

    7.  Open DefaultGanglion.ino with the Arduino IDE, compile and download to Ganglion.

    8.  In serial monitor, type "v" and look for version 1.1.2 to verify download.

    Good luck with the upgrade.  Please let me know how it works for you,

    Best regards,
    Michael

  • edited June 2017
    Michael,

    Thanks for your kind help. I followed your notes, but the board failed to be compiled. The error message is shown below.

    Arduino: 1.8.3 (Mac OS X), Board: "Simblee"

    Traceback (most recent call last):
      File "PyInstaller/loader/rthooks/pyi_rth_pkgres.py", line 11, in <module>
      File "/private/tmp/pip-build-l15Jd9/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
      File "pkg_resources.py", line 706, in <module>
      File "pkg_resources.py", line 709, in Environment
      File "pkg_resources.py", line 148, in get_supported_platform
      File "pkg_resources.py", line 241, in _macosx_vers
      File "platform.py", line 809, in mac_ver
      File "platform.py", line 786, in _mac_ver_xml
      File "plistlib.py", line 78, in readPlist
      File "plistlib.py", line 401, in parse
      File "/private/tmp/pip-build-l15Jd9/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
      File "xml/parsers/expat.py", line 4, in <module>
      File "/private/tmp/pip-build-l15Jd9/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 546, in load_module
    ImportError: dlopen(/var/folders/3p/80r2pzh50jz4ysqflqjvtqw40000gp/T/_MEICs2NsA/pyexpat.so, 2): Symbol not found: _XML_SetHashSalt
      Referenced from: /var/folders/3p/80r2pzh50jz4ysqflqjvtqw40000gp/T/_MEICs2NsA/pyexpat.so (which was built for Mac OS X 10.11)
      Expected in: /usr/lib/libexpat.1.dylib
     in /var/folders/3p/80r2pzh50jz4ysqflqjvtqw40000gp/T/_MEICs2NsA/pyexpat.so
    Failed to execute script pyi_rth_pkgres
    exit status 255
    Error compiling for board Simblee.

    Did you ever experience this issue before?

    Thanks and regards,
    Winnie
Sign In or Register to comment.