Commit Graph

47 Commits

Author SHA1 Message Date
Nathan Seidle
bc12729f30 Terminate filename strings and increase any array by 1 that uses strcpy_P.
strcpy_P null terminates the provided string. strlen does not count \0s so any string that uses strcpy_P needs an extra byte for \0.
2021-10-12 15:00:08 -06:00
Nathan Seidle
795dc84f68 Typo fixes 2021-10-12 10:46:33 -06:00
Nathan Seidle
edf672ca49 Small changes to get rid of compiler warnings 2021-10-12 10:30:18 -06:00
EmbeddedMan
52bf9b1ce2 Adds support for new "Rotate" log mode (issue #244)
* Removed extra comments related to MAX_CFG (could be confusing to future developers)
* Added two new parameters to config file (Max Filesize and Max Filenumber, both only used in MODE_ROTATE)
* Added new mode (3) : MODE_ROTATE
* Added debug prints to help see max filesize and max filenumber (inside #if DEBUG)
* Commented out decrimenting newFileNumber when it is read from EEPROM
* Added three new entries to the 'set' menu:
*  4) - Sets mode to MODE_ROTATE
*  8) and 9) - sets the new Max Filesize and Max Filenumber config values
* Added code to print out max fileszie and file number at top of 'set' menu
* Updated 'set' menu strings to be more descriptive
* Fixed 'set' menu 7) (set number of escape characters) with new routine getSerialByte() to read in a 3 digit integer properly rather than a single character
* Added code to save/ restore Max Filesize and Max Filenumber from EEPROM and config file

NOTE: Crashes happen when returning from "set" menu after certain operations if compiled with latest Arduino IDE. Tested with 1.6.8 and it works fine. (See issue #245 for more details)
2021-10-10 19:12:43 -05:00
Nathan Seidle
b11a9cb8c8 Incrementing version number 2018-11-27 21:16:34 -07:00
Nathan Seidle
895264421b Fix echo and verbose bug in issue #224. 2018-11-27 21:16:07 -07:00
nseidle
2846e32658 Driving SPI pins low to avoid power consumption on some SD cards. See issue 215. 2018-04-30 16:30:24 -06:00
nseidle
d1aefc7c94 Adding 'read firmware version' example 2018-04-25 15:41:17 -06:00
Nathan Seidle
5ca695ae07 Fix verbose bug issue 208 2018-02-09 11:41:47 -07:00
Nathan Seidle
55df7ec356 Rewriting examples. 2018-02-09 11:32:22 -07:00
Nathan Seidle
e4bdee0912 Fixes issue 205 2016-10-10 21:45:28 -06:00
Toni Klopfenstein
addd0fe9f3 Fixing readme description 2016-04-07 17:25:17 -06:00
Toni Klopfenstein
7126fc1b0e Updating directory structure, updating fritzing documentation 2016-04-07 17:21:04 -06:00
Nathan Seidle
76b67852a5 Swapped resistor on grn LED to 330 for better visibility 2016-03-21 15:11:57 -06:00
Nathan Seidle
02bf31a717 Best performance at 512/256 RAM split. Fixed odd zero newlog EEPROM glitch. 2015-11-25 10:16:20 -07:00
Nathan Seidle
ca836f0150 Updating changelog. Removing extraneous code from OpenLog_Minimal. 2015-11-24 21:40:27 -07:00
Nathan Seidle
9376d21e64 Removes escape sequence from log. Changelog and code whitespace reformatting. 2015-11-24 21:22:38 -07:00
Nathan Seidle
a8223381d8 Now compiles under Arduino v1.6.x. A large number of changes. See CHANGELOG
Significant changes to reduce RAM footprint. Updated to most recent
SdFatlib-beta.
2015-11-23 21:10:27 -07:00
Nathan Seidle
d063f6a8f7 Adding an additional tool to make SD testing and benchmarking easier. 2015-11-22 15:30:03 -07:00
Nathan Seidle
a7c7fb7bf6 Fixed bug 178. Log numbers should display correctly over 15 bits. 2015-08-20 16:24:37 -06:00
Nathan Seidle
1fc13aa2e9 Resolving issue 1 2015-03-24 08:30:39 -06:00
Nathan Seidle
c4aebc214e Re-write large file example to report without character errors.
This example reads characters from OpenLog over the hardware serial at
9600 and passes them out over the software serial at 14400. This is
needed for issue 170.
2014-08-11 16:14:51 -06:00
Nathan Seidle
ac3d8523b1 Adding large file testing for issue 169.
When reading back a file it seems there are 5 extra bytes read. One of
these is the '>' that OpenLog responds with. The other four are probably
newline and other white space chars.
2014-08-04 15:59:17 -06:00
Pete Lewis
34a71ad624 Updated production hex and combined hex to v33
Also moved v321 into an "old" folder to keep around in case anyone needs
to use that.
2014-03-10 11:07:04 -06:00
Nathan Seidle
e10bd621ac Increase local buffer to 128 bytes
After testing increasing the local buffer to 128 helped maintain
constant record at 115200bps.
2013-12-14 14:55:05 -07:00
Nathan Seidle
e391f1fbff Increase MAX_CFG length to allow larger escape char values.
Increase length of max config string from 2 chars (14) to 3 chars (214).
2013-12-14 14:19:24 -07:00
Nathan Seidle
324679495a Increased number of escape chars, log name increment and memory bug.
The number of escape chars was increased to 0 to 254. The log name now
increments even if there are no files and the receive buffer was
decreased to prevent memory bugs.
2013-12-14 14:10:41 -07:00
Nathan Seidle
0df7f4c164 Added 'disk' checking in the read example sketch.
Related to issue 158.
2013-09-22 20:22:31 -06:00
Kade Jensen
2b37b0ea50 Updated .hex files to reflect v3.21 changes
Firmware was updated to fix a nasty bug. Updated combined hex file used
in production and cpp.hex to reflect those changes.
2013-07-16 09:43:45 -06:00
Nathan Seidle
521a7e0680 Removed a fixed length array from Light version. 2013-07-15 23:26:53 -06:00
Nathan Seidle
d0b7a6ebab Updating Light with unlimited baud rate feature.
Added text based baud rates to light. Now OpenLog_v3_Light can handle
*any* baud rate from 300 to 1,000,000bps. Also fixed the hard coded
array length to avoid the bug found in the main branch.
2013-07-15 23:23:55 -06:00
Nathan Seidle
45960c3d21 Added feature: no new file if old file is zero bytes.
See issue #136. Thank you dlkeng! You rock. Again. Thanks for adding
this feature. When starting in new log mode, if the LOG00256.txt is zero
bytes, OpenLog will use LOG00256 instead of LOG00257.
2013-07-15 22:19:06 -06:00
Nathan Seidle
3fe82cfb40 (v3.21) Removed a hard coded array size. 2013-07-15 19:14:09 -06:00
Nathan Seidle
995ba95369 Fix array size bug that caused echo to fail.
The array size was too small which caused echo to act oddly and it
caused the config file record to corrupt the file. This would show
itself when the SD was read on a computer and windows would insist on
scanning and fixing.
2013-07-15 18:39:48 -06:00
Kade Jensen
423d275620 Updated the .hex files to reflect v3.2 changes
Two .hex files in this commit: One is a .hex version of the Arduino
sketch. The other .hex file is a "combined" .hex file that contains both
the optiboot bootloader and the v3.2 firmware.
2013-04-15 16:52:18 -06:00
Nathan Seidle
8b08e962cf No code changes. Updated comments. 2013-04-08 17:29:11 -06:00
Nathan Seidle
50ee63bc0e Added support for ls wildcards. Issue 135 fixed.
Fixed issue #135: ls with wildcard works again. Thank you dlkeng!
2013-04-08 17:19:44 -06:00
Nathan Seidle
1888d3df36 Fixed rm issue #134. dlkeng is my new favorite person.
Fixed issue #135: When removing files and there is a directory, all
wildcard files are now removed correctly. Thank you dlkeng! Your patch
worked great!
2013-04-08 17:10:35 -06:00
Nathan Seidle
20d5c5a2bc Added support for newlines when using the 'write' command.
Should fix issue #149.
2013-04-08 16:23:52 -06:00
Nathan Seidle
e802fd3c13 Added ability to ignore RX.
You can now ignore the state of RX at power up. See issue #150.
2013-04-08 15:49:09 -06:00
Nathan Seidle
a1ba215665 Re-wrote baud menu system.
Now supports any baud rate from 300bps to 1,000,000bps and anything in
between. This will allow you to really configure OpenLog to anything you
need, but remember you can always hardware reset OpenLog to 9600 by
pulling the RX line low during power up.
2013-04-08 15:20:49 -06:00
Theo Simpson
7dbd636d2c Updated the .hex files to reflect v3.14 changes
Created new COMBINED .hex file (bootloader and v3.14 sketch) and updated
OpenLog_v3.cpp.hex to be consistent with v3.14
2013-03-14 11:01:45 -06:00
Nathan Seidle
378a676890 Added support for 1200bps.
We lose about 182 bytes for this addtional support. It will be left in
for now. We may want to go to a different baud input system rather than
a selection menu.
2013-03-09 15:21:21 -07:00
Nathan Seidle
c61a3e0619 Cleanup readme files. 2013-03-07 10:00:16 -07:00
Nathan Seidle
a9391631bd Cleaning up readme files. 2013-03-07 09:58:33 -07:00
Nathan Seidle
9fb29b816a Cleaning up readme files. 2013-03-07 09:51:49 -07:00
Nathan Seidle
dcc9b26b70 Cleaning up directory structure.
Filing firmware and hardware into their own directories.
2013-03-07 09:39:07 -07:00