Sample rate increase using OpenBCI_32bit_SD_Only

amohamud03amohamud03 Grand Forks
edited May 2017 in Cyton
I am getting this error every time I try to run the code
How do I proceed?

Arduino: 1.8.2 (Windows 7), Board: "OpenBCI 32"

C:\Users\charles.schneider\AppData\Local\Temp\Temp1_OpenBCI_2kHz-master.zip\OpenBCI_2kHz-
master\OpenBCI_32bit_SD_Only\OpenBCI_32bit_SD_Only.ino: In function 'void loop()':

OpenBCI_32bit_SD_Only:242: error: 'writeBdataToSdCard' was not declared in this scope

if(Bin_format ) { writeBdataToSdCard(); if( IC4CON & 0x0008 ) { OBCI.ere |=0x400 ; OBCI.push(); } ; }

^

OpenBCI_32bit_SD_Only:251: error: 'writeDataToSDcard' was not declared in this scope

writeDataToSDcard ( SDsampleCounter++ );

^

OpenBCI_32bit_SD_Only:265: error: 'setupSDcard' was not declared in this scope

if(!SDfileOpen && SessionSize){ SDfileOpen = setupSDcard( /* & SessionSize */ ); if(!SDfileOpen)

SessionSize = 0 ; } // open a new file if the session is not finished

^

C:\Users\charles.schneider\AppData\Local\Temp\Temp1_OpenBCI_2kHz-master.zip\OpenBCI_2kHz-
master\OpenBCI_32bit_SD_Only\OpenBCI_32bit_SD_Only.ino: In function 'void eventSerial()':

OpenBCI_32bit_SD_Only:446: error: 'closeSDfile' was not declared in this scope

case 'j': if(SDfileOpen){ SDfileOpen = closeSDfile(); } SessionSize = 0 ; break;// close the file

and the session

^

OpenBCI_32bit_SD_Only:477: error: 'stampSD' was not declared in this scope

if(SDfileOpen) stampSD(ACTIVATE); // time stamp the start time

^

OpenBCI_32bit_SD_Only:492: error: 'stampSD' was not declared in this scope

if(SDfileOpen) stampSD(ACTIVATE); // time stamp the start time

^

OpenBCI_32bit_SD_Only:498: error: 'stampSD' was not declared in this scope

if(SDfileOpen) stampSD(DEACTIVATE); // time stamp the stop time

^

exit status 255

'writeBdataToSdCard' was not declared in this scope

Thank You
-Abdi

Comments

  • wjcroftwjcroft Mount Shasta, CA
    Are you referring to this repo?


    It's from 2015 with the V1 firmware. There is another thread (or several really) on sample rate increasing.
  • amohamud03amohamud03 Grand Forks
    I can't seem to compile and upload the default board due to this error.

    error at address 1D0000FC: file=9D0012A4, mem=9D0012A0
    error at address 1D0000FC: file=9D0012A4, mem=9D0012A0

    I can't seem to find discussions on it either.

    Thank You
    -Abdi
Sign In or Register to comment.