Arianna autonomous DAQ firmware

Dependencies:   mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW

Revisions of main.cpp

Revision Date Message Actions
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
28:484943132bb0 2012-11-24 Afar, SBD, twitter enabled. Debug disabled. Safety nets on config parameters. Patched up netif code to connect to multiple sockets. Add default mbed IP according to mac address. 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
23:ccf39298f205 2012-10-23 SBD communication enabled. Fix bug in which the SBD message number would be repeatedly increased upon failed sending attempts. Add check in SBD recv in case message is longer than buffer. Add SendString to SnCommWin 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
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
18:55f1581f2ee4 2012-09-29 This version uses USB communication only. Changed forced trigger period to be a float, so subsecond trigs are possible. Changed from EthernetInterface to NetServicesMin. This allows slow (2KBps) transfer over TCP, but at least it's robust. File  Diff  Annotate
17:4687bf932b8c 2012-09-12 Same as Rev16, but opens a communication window at the end of running in single sequence mode (in StopRunning). 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
14:2736b57bbbed 2012-08-21 Same as rev 13 but with no debug output. File  Diff  Annotate
13:7a1fb885a8e4 2012-08-21 Put resetting of event/power number counters to directly after making of file. Move startup config to inside OpenCommWin (and force it on startup). This should ensure that even numbers always correspond to sequence numbers. 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
11:de443350ec4a 2012-08-13 Added p20 being set to 0 before every write to the SD card, to protect against the writing causing the system to stall. Comms under dev. Many debug messages. 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
9:a1a39573dd43 2012-08-09 Same as Rev8, but the rms values in power readings are actually the square root of the variance 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