HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
v2.1 - Fixed issue 35. Dropping characters at 57600bps. Power save no…
…t working. 26058 bytes out of 30720 Fixed a bug found by Salient (Issue 35). User settings where declared at chars which allowed them to be signed. If a user went from old firmware, to v2, the safety checks would fail because the settings would be read at -1 instead of 255. Declaring user settings as byte fixed issue. Added "a) Clear user settings" to set menu. This allows us to completely wipe an OpenLog (user settings and config file) to see how it will respond to future firmware changes. Improved the file 'size' command. Sequential logging is tested and works. Receive testing: Using the Test_Sketch found on Github, I am testing the receive reliability at different UART speeds. We need to test a lot of received data. At 57600, 115200, and both from an Arduino (lots of time in between characters becuase of software overhead) and from a raw serial port (almost no time in between characters). I am hoping to make sdfatlib hiccup at 115200, full speed, across a 1MB file. If I can make it fail, then we can start to increase the buffer size and look at how much RAM sdfatlib has left open for the buffer. 9600bps from Arduino works fine 57600bps from Arduino drops characters 115200 from Arduino drops characters It seems that sdfatlib takes longer to write to the SD card than the original file system from Robert Reigel. I'm thinking perhaps we should create a version of OpenLog firmware that is just sequantial logging, no fancy system menus... It might open up some RAM. If only we could get control of the UART from Arduino's clutches, we could probably handle the ring buffer much better. Not sure how to handle UART interrupts without tearing out HardwareSerial.cpp. Added README to the Test sketch. Added 115200bps to test sketch.
- Loading branch information...
Showing with 145 additions and 72 deletions.
|@@ -0,0 +1,2 @@|
|+This is a simple test sketch for OpenLog. It sends a large batch of characters to the serial port at 9600bps.|
|+Original test was recomended by ScottH on issue #12 : http://github.com/nseidle/OpenLog/issues#issue/12|