Any tips, hints, pointers to documentation, or anything would be appreciated:
I have an Openlog https://www.sparkfun.com/products/13712. I did not flash it with latest firmware. I just ordered it a few weeks back.
Connected to a RedBoard https://www.sparkfun.com/products/13975
I connected all OpenLog pins to the Redboard as follows
OL Pin RB Pin
GRN RESET
RXI TX
TX0 RX
VCC 3.3V
GND GND
BLK GND
I’m connecting my RedBoard to my computer via the USB port. I’m using a Kingston USB card (https://www.amazon.com/gp/product/B0051 … UTF8&psc=1) I formatted it fresh with FAT32.
I’m running the provided sketch OpenLog_Text_Sketch. (By the way I learned that I can’t upload a sketch to RedBoard when the OpenLog RX/TX pins are connected. The OpenLog RX/TX circuitry seems to interact with the USB port. So each test cycle I power down, disconnect RX/TX, power up, upload sketch, power down, connect RX/TX, power up, wait for the sketch to complete, then check the memory card. )
Bottom line, the CONFIG.TXT and LOGnnnnn.TXT expected files are created on the memory card, however, the last few hundred (perhaps up to 512??) bytes are not written. It seems like the OL software isn’t flushing the last few bytes from the buffer and closing the file. If I just do a serial.println(“this is a test”), for example, a 0-byte file is created on the SD card.
Any tips, hints, pointers to documentation, or anything would be appreciated… Thanks in advance,
Chris