firmware update failed on version 1.x.x for wifi shield / plib.h

edited April 2018 in Cyton
I referred to this instruction: http://docs.openbci.com/Hardware/05-Cyton_Board_Programming_Tutorial#cyton-board-programming-tutorial-firmware-version-1xx-2014-fall-2016

Error message read when I uploaded the code. It read as below. Please advise.

Arduino: 1.8.5 (Windows 10), Board: "OpenBCI 32"

C:\Users\Admin\Documents\Arduino\libraries\OBCI32_SD\utility\Sd2Card.cpp:21:18: fatal error: plib.h: No such file or directory

 #include <plib.h>

                  ^

compilation terminated.

exit status 255
Error compiling for board OpenBCI 32.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Comments

  • edited April 2018
    Tried the recommended step here http://openbci.com/forum/index.php?p=/discussion/598/openbci-32bit-compile-error-plib-h-no-such-file-or-directory, to download and use the specified chipkit core https://chipkit.s3.amazonaws.com/chipkit-core/builds/win/chipkit-core-windows.16778039.v1.0.0-27-gdfa0309.zip , but it returns a new error now when I upload the code:

    [.......]
    Archiving built core (caching) in: C:\Users\Admin\AppData\Local\Temp\arduino_cache_823628\core\core_chipkit-core_pic32_openbci_a200e4a3dca6f2785ca85a5aab76cdde.a
    [...........]LC:\Users\Admin\AppData\Local\Temp\arduino_build_375218 -lm  -T "C:\Users\Admin\Documents\Arduino\hardware\chipkit-core\pic32\cores\pic32/chipKIT-application-32MX250F128.ld" -T "C:\Users\Admin\Documents\Arduino\hardware\chipkit-core\pic32\cores\pic32/chipKIT-application-COMMON.ld"
    pic32-g++: C:\Users\Admin\AppData\Local\Temp\arduino_build_375218/core\core.a: No such file or directory

    Using library OBCI32_SD in folder: C:\Users\Admin\Documents\Arduino\libraries\OBCI32_SD (legacy)
    Using library DSPI in folder: C:\Users\Admin\Documents\Arduino\hardware\chipkit-core\pic32\libraries\DSPI (legacy)
    Using library EEPROM in folder: C:\Users\Admin\Documents\Arduino\hardware\chipkit-core\pic32\libraries\EEPROM (legacy)
    Using library OpenBCI_32_Daisy in folder: C:\Users\Admin\Documents\Arduino\libraries\OpenBCI_32_Daisy (legacy)
    exit status 1
    Error compiling for board OpenBCI 32.
  • Please advise!
  • wjcroftwjcroft Mount Shasta, CA
    I'm just guessing here, but I see a mix of forward and backslash folder conventions in your line:

    pic32-g++: C:\Users\Admin\AppData\Local\Temp\arduino_build_375218/core\core.a: No such file or directory

    Is there indeed a 'core.a' in the 'core' folder? Windows does not understand forward slash.

  • I noticed that as well, it's gotta be a programming error because the folder structure is fine and I see 'core.a'.
    How do I fix it so that it's writing backward slash instead of forward slash?
  • wjcroftwjcroft Mount Shasta, CA
    Looks like some problem in the Makefile or auto generated compile lines. I assume your IDE files / folders are all in the proscribed places...
  • As far as it concerns the instructions for updating Cyton firmware, yes, the folder structure as it should be.
    Some of the folders for OpenBCI changed after installation, but it runs fine.
  • wjcroftwjcroft Mount Shasta, CA
    edited April 2018
    Do you have another laptop (non Windows 10) that you could try? Or even a Mac. Could be something incompatible with this IDE and Win 10.

    Also, just tried this search, is pulling up some related links,


  • I have the same problem and I have tried in two different OS:  Win7 and
    Linux. This error appears in both cases. What is the problem?
  • wjcroftwjcroft Mount Shasta, CA
    AJ @pushtheworld, do you have any insights? Is it possible the recommended chipKIT core has been changed? Also mentioning @biomurph, @openbci.

    I have not looked through the "core.a: No such file or directory" search link above. It looks like others (circa 2015) are hitting this message, outside of OpenBCI firmware.

  • Does anybody have an answer about this issue? I have been trying to update the firmware since last Thursday but it's still not possible. Do I need to use a different version?
Sign In or Register to comment.