I'm having a bit of trouble getting this thing fired up despite its supposed plug'n play configuration. I've done quite a bit of searching and haven't seen a solution.
Help me troubleshoot, Obi Wan Kenobi; you're my only hope!
Using an Arduino UNO. I also have an FTDI board available.
Here are my symptoms:
I initially uploaded the test sketch (https://github.com/sparkfun/OpenLog/blob/master/OpenLog_Test_Sketch/OpenLog_Test_Sketch.ino) with the OpenLog wired up. This was probably a mistake, but Sparkfun tells me the worst that would probably happen is the baud rate gets messed up. The LEDs flashed a few times when it was connected this way, but it wasn't functional.
The board was/is connected to the Arduino as explained in the Test Sketch comments
Currently, I don't get any response from OpenLog. Nothing causes the LEDs to flash.
I checked the uSD card and the OpenLog didn't write a CONFIG.TXT file on it—the card was empty—so, I believe it didn't recognize the card at first
I believe it's because I don't have the libraries saved correctly—I'm working on figuring this out and will provide update, but I'm doubtful this will do anything b/c I'm not seeing any response activity from the OpenLog as it is.
Any advice on troubleshooting?
Let me know if I missed any info you need. Be easy on me; I'm new to Arduino.
OpenLog_v3:130: error: expected constructor, destructor, or type conversion before '<' token
OpenLog_v3.cpp: In function 'void error(const char*)':
OpenLog_v3:248: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'void setup()':
OpenLog_v3:285: error: 'NewSerial' was not declared in this scope
OpenLog_v3:286: error: 'NewSerial' was not declared in this scope
OpenLog_v3:287: error: 'NewSerial' was not declared in this scope
OpenLog_v3:288: error: 'NewSerial' was not declared in this scope
OpenLog_v3:289: error: 'NewSerial' was not declared in this scope
OpenLog_v3:290: error: 'NewSerial' was not declared in this scope
OpenLog_v3:291: error: 'NewSerial' was not declared in this scope
OpenLog_v3:292: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'void newlog()':
OpenLog_v3:364: error: 'NewSerial' was not declared in this scope
OpenLog_v3:377: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'void seqlog()':
OpenLog_v3:418: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'uint8_t append_file(char*)':
OpenLog_v3:447: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'void read_config_file()':
OpenLog_v3:861: error: 'NewSerial' was not declared in this scope
OpenLog_v3:862: error: 'NewSerial' was not declared in this scope
OpenLog_v3:863: error: 'NewSerial' was not declared in this scope
OpenLog_v3:864: error: 'NewSerial' was not declared in this scope
OpenLog_v3:865: error: 'NewSerial' was not declared in this scope
OpenLog_v3:866: error: 'NewSerial' was not declared in this scope
OpenLog_v3:867: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'void record_config_file()':
OpenLog_v3:954: error: 'NewSerial' was not declared in this scope
OpenLog_v3:965: error: 'NewSerial' was not declared in this scope
OpenLog_v3:1003: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'void command_shell()':
OpenLog_v3:1033: error: 'NewSerial' was not declared in this scope
OpenLog_v3:1036: error: 'NewSerial' was not declared in this scope
OpenLog_v3:1038: error: 'NewSerial' was not declared in this scope
OpenLog_v3:1657: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'uint8_t read_line(char*, uint8_t)':
OpenLog_v3:1668: error: 'NewSerial' was not declared in this scope
OpenLog_v3:1669: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'uint8_t gotoDir(char*)':
OpenLog_v3:1769: error: 'NewSerial' was not declared in this scope
OpenLog_v3:1778: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'void print_menu()':
OpenLog_v3:1795: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'void baud_menu()':
OpenLog_v3:1830: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'void system_menu()':
OpenLog_v3:1951: error: 'NewSerial' was not declared in this scope
OpenLog_v3.cpp: In function 'void removeErrorCallback(const char*)':
OpenLog_v3:2191: error: 'NewSerial' was not declared in this scope
I can compile the Test Sketch with no problem. What happens when you try to compile the OpenLog_v3? This is the firmware that I'll need to upload to the board and it is returning all the errors.
My experience is lacking when it comes to debugging—any insight is appreciated!
It's returning some jargon for some reason. Haven't had time to really research this yet and unfortunately don't have time to work on my project today, but if anyone can point me in the right direction off the top of their head the advice would be greatly appreciated.
By no means am I asking for someone to do the research for me.
Here's a bit of what's being logged from the test sketch: