Arianna autonomous DAQ firmware

Dependencies:   mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW

Revisions of SnSDUtils.cpp

Revision Date Message Actions
122:c1b5023eac69 2017-12-01 Rev 121. 8Ch 1GHz SST. SBD only on boot up. Save def conf to SD card. File  Diff  Annotate
103:0ea896a0953a 2015-11-22 Stn17 with conf name. Fix so SD card loss does not stall station. No interface chip. Safety nets. File  Diff  Annotate
84:80b15993944e 2015-10-30 conf v11,12. ip to ints. write 64chr lbl. send status data packs. comm pwr as needed. comm each evt. conn/list TO separate afar, sbd. calc FFT, L1 trigger, L1 scaledown. pre-compl opts in own file. max comm fail 75. htbt and clock frames store vars. File  Diff  Annotate
76:f8383f0292c2 2015-02-22 Stn14 mac adr. Allow SD to be ignored. Only access run/seq list if going to send the list. File  Diff  Annotate
67:ec999336fcd1 2015-02-03 STN20 Hardcoded (mac adr and config label). Power off periphs before powering anything on. do NOT use interface chip for mac adr or files (except reprogramming) File  Diff  Annotate
66:685f9d0a48ae 2014-12-02 Bug fix: add "determineDir" parameter to SendOneFile. this allows it to be called when only the filename (not dir) is known, as is the case for multi-file loops File  Diff  Annotate
65:2cb3e99ce466 2014-11-28 same as 64 but remove debug and enable safety nets File  Diff  Annotate
64:6c7a316eafad 2014-11-28 add watchdog kicks to SnCommWin and SnSDUtils File  Diff  Annotate
63:4820a4460f00 2014-11-28 Revert to SDFileSystemFilInfo with no-stall changes to SDFileSystem.cpp . change watchdog to internal RC clock. move check power to after startup LED sequence. make InitSDCard try up to 26 init's. DEBUG ENABLED, NO SAFETY NETS File  Diff  Annotate
56:0bba0ef15697 2014-10-30 update ext libs, add tempr, allow SST/ATWD, improve handshaking, run/seq list, req seq range, allow SBD only in low pwr, all pins start off, can collect data to ram w/o SD card, add parameters to status update File  Diff  Annotate
47:fbe956b10a91 2013-11-06 afar and sbd on. debug ON. recursively make directories on the SD card so blank cards can be used. move debug block in procForce to before pin high so forced trigs work in debug mode File  Diff  Annotate
40:1324da35afd4 2013-10-05 first commit of major overhaul to 2013-2014 mbed code. NOT YET FULLY TESTED. too many changes to list (fix local file receive, fix rates, external comm packes, big SD cards, get to comm win w/o SD, v8 config frame, v4 files, SBD buffering changes...) File  Diff  Annotate
39:2f17131d22a5 2013-07-30 Temp commit so we can revert to other revisions. Changed some dynamic_casts to static_casts. Added NULL char to config label writing and updated io versions. Added battery hysteresis. File  Diff  Annotate
38:9070c17536cd 2013-05-29 Update SnCRCUtils to use templated function. Add MODSERIAL include to SnCommWinUsb when enabled. Move iridium constants to SnCommConstants. File  Diff  Annotate
36:87865913ae6f 2013-05-23 this will not compile. just starting to modularize the comms and essential packages for extraction (to use in both the DAQ and monitoring station) File  Diff  Annotate
31:b5bd3b189150 2013-01-23 Added option in SnConstants to allow for proper switching of peripheral power in stations that have the Afar and Iridium power lines spliced together. Afar, SBD and Twitter comms enabled. Afar and Iridium powered together. File  Diff  Annotate
30:f869ed4bcc08 2012-11-28 Change power so to account for the Iridium being on the same relay as afar. Afar, SBD, Twitter enabled. No Debugging. File  Diff  Annotate
27:efc4d654b139 2012-11-01 Afar comms enabled. Bug fixes: comm win opens with high rate now and no power to afar with afar comm enabled will not stall MBED. Features: stop file transfer, delete a specified run or delete all files on the SD card (file trans handshakes). File  Diff  Annotate
25:57b2627fe756 2012-10-30 AFAR comms. Upped baud to 921600. Store data in run-seq subdirs, max of 100 files per dir, to prevent station grinding to a halt due when 800 files are in one directory. Cache file size count. Stagger tickers. Fixed some gcc warnings. File  Diff  Annotate
22:f957c4f840ad 2012-10-16 USB comm only. Make firing of comm window independent of real time clock. Add heartbeat firing time to the data stream. File  Diff  Annotate
21:ce51bb0ba4a5 2012-10-10 Uses USB comm. Fix rates calc. Power up/down ETH with Afar. Fix sending evt with status. Add num files and bytes of data to status. Can save a local file (i.e. reprogram MBED) via comms. Set config after each comm win (need if cards pow cycle). File  Diff  Annotate
20:e5857b287b3b 2012-10-03 Bug fix in AfarNetIf - set fEthConnected to false upon CloseConn. In SnSDUtils::GetSeqNum, try to make the data directory on the sd card if it doesn't exist already File  Diff  Annotate
19:74155d652c37 2012-10-02 Moved output directory of event files to /sd/data in order to avoid the SD file system's maximum number of files in its root directory. Fix bug in SnConfigFrame::SizeOf to account for new i/o version 4 (number of bytes should be equal, tho). This versi... File  Diff  Annotate
16:744ce85aede2 2012-09-12 SBD comm seems to be working. USB comm seems to be working (at 115200 baud). AFAR comm seems to be working. This version is set for USB communication and has zero text output. File  Diff  Annotate
15:f2569d8e4176 2012-08-31 Removed debug output between trigger and and dFPGA->MB request that corrupted data. Lots of work on SBD, but not quite working yet. Debug output off, but start/stop running notifications are on. File  Diff  Annotate
12:d472f9811262 2012-08-18 Fixed bug in throttling timers. Now evt stores dt of triggers but throttle works on dt of events. AfarTCP communication possibly done. Debug output put behind precompiler macros. File  Diff  Annotate
10:3c93db1cfb12 2012-08-10 Ensure that lockRegisters (p20) is 0 before accessing the SD card, for example when closing the file. This fixes an issue seen when running in power count mode. Communications still under dev. Many debug outputs. File  Diff  Annotate
8:95a325df1f6b 2012-08-08 Check power for low pow running. Average power over 500 readings. Use RTOS timers instead of tickers. Allow data taking of events, power readings or both, even if cards are off. Bug in EthernetInterface prevents IPs being reset. Lots of debug output. File  Diff  Annotate
7:079617408fec 2012-08-04 Bug fix to seq finder. Comms totally disabled. Many debug messages. File  Diff  Annotate
6:6f002d202f59 2012-08-03 Remove line that powered amps outside of SetPower. Still lots of debugging output. Communication systems totally unimplemented. File  Diff  Annotate
5:9cea89700c66 2012-08-03 Bug fix to power: set 0 for cards and amps if on. Still working on communications. Many debug printouts. File  Diff  Annotate
4:a91682e19d6b 2012-08-02 Add power reading, once per file. Prevent seq number from wrapping around. Still many debugging messages. Communications not finished. File  Diff  Annotate
3:24c5f0f50bf1 2012-07-31 Test bench version. Communications not completed. Debugging output present. But will read the local config file and save events that can be used for testing. File  Diff  Annotate
2:e67f7c158087 2012-07-24 added header to i/o. still lots of debugging prints. File  Diff  Annotate
1:e392595b4b76 2012-07-20 many features checked and working. afar implemented. sending of data not yet tested. contains many debug prints File  Diff  Annotate
0:664899e0b988 2012-06-30 first version. SD card writing and data readout works. communications not tested. File  Diff  Annotate