Dual CANbus monitor and instrumentation cluster

Dependencies:   SPI_TFTx2 TFT_fonts TOUCH_TFTx2 beep mbed

Fork of CANary by Tick Tock

Revisions of utility.cpp

Revision Date Message Actions
125:f58b7ab2abee 2013-07-21 Re-centered efficiency screen File  Diff  Annotate
124:0d622967b764 2013-07-20 Added tire pressure from canbus File  Diff  Annotate
123:a8c0042df617 2013-07-19 First attempt to add tire pressure File  Diff  Annotate
122:138a40892a4c 2013-07-17 Updated display formatting. Temporarily dumping all 7bb messages to ascii log for exploration. File  Diff  Annotate
121:553faf139a20 2013-07-11 Added shunt identification to cpbars display File  Diff  Annotate
120:041edeec08f5 2013-07-08 Changed Resr algorithm to one requiring less computation. Ignore data for small delta_V. File  Diff  Annotate
119:0e2b641e98a2 2013-07-05 fixed bugs in health screen File  Diff  Annotate
118:02010b18efdc 2013-07-05 Added Resr tracking and health display; File  Diff  Annotate
117:49883c779a74 2013-07-04 Added delay to initial poll to give BMS time to measure; File  Diff  Annotate
116:5cd72bae7c12 2013-07-04 Attempting to move buffer dump to ISR; File  Diff  Annotate
115:549410af477d 2013-07-04 Added delay to powerup ping (apparently BMS needs some time). Made all logging enabled by default File  Diff  Annotate
114:3f8c59a8a2b9 2013-07-02 fixed bug in battery log files (pointing to wrong cellpair locations) File  Diff  Annotate
112:b41b35401eb6 2013-07-01 Fixed lockup bug when USB already present File  Diff  Annotate
111:d1559bb25c43 2013-06-30 Added USB insertion detect. Logging will start once usb drive is inserted. File  Diff  Annotate
110:ffddff3ad2f2 2013-06-30 Got battery and trip logs working. Fixed canlog to append (was overwriting previous data). File  Diff  Annotate
109:3e6f0e8fca0d 2013-06-30 Change filesystem library. Got logging and playback working. File  Diff  Annotate
108:29b5a760adc2 2013-06-30 Fixed temperature bug but USB logging is disabled File  Diff  Annotate
107:e9be732c1ad4 2013-06-29 Added trip meter File  Diff  Annotate
106:f016912a03db 2013-06-28 added logging indicator on main screen File  Diff  Annotate
104:5a19101aaac5 2013-06-28 Fixed 000 msgId logging bug File  Diff  Annotate
102:fd19f777a0b4 2013-06-20 Added Ah, SOH, and more precise temperature measurement. File  Diff  Annotate
100:63a7456fc972 2013-06-15 reset display when fw update fails File  Diff  Annotate
99:c05abf8e1cdc 2013-06-15 Merged and moved check for firmware.bin *before* deleting old *.bin. File  Diff  Annotate
98:9f8bab96edff 2013-06-10 Metric Initial Commit File  Diff  Annotate
97:a25940fd7b5b 2013-06-15 . File  Diff  Annotate
95:248b3c25a7df 2013-05-03 Stop auto-polling when asleep; added battery temp to main display File  Diff  Annotate
94:c3a14b3975d6 2013-05-03 Cleaned up dte miles remaining display (right justified and clear old values better) File  Diff  Annotate
93:c2402e8cd0e2 2013-05-01 Merged in tested logCan reentry fix File  Diff  Annotate
92:935adef49ea4 2013-04-22 Reverting to keep latest as last know *tested* revision. logCan interrupt fix work moved to CANaryTest fork. File  Diff  Annotate
91:33ab084a184f 2013-04-22 changed interrupt priorities (RTC,CAN,Ticker) File  Diff  Annotate
89:2263d349b484 2013-04-20 Moved headlight detection out of logCan. File  Diff  Annotate
88:45185a5f1c9b 2013-04-20 Made logCan reentry safe so logTS & logEven can be safely interrupted by logCan. File  Diff  Annotate
87:46ac3f2519d6 2013-04-19 Toggle Debug on Config Screen, Store all 5 Groups of Requested data. File  Diff  Annotate
86:d1c9e8ac1c4b 2013-04-17 Fixed introduced ts bug File  Diff  Annotate
85:5c27e88b3fbe 2013-04-17 Merged with Gary's lost message counter File  Diff  Annotate
83:52b1f330a62d 2013-04-17 Fixed DTE drawing bug where grid drew over graph File  Diff  Annotate
81:cf009a64eedd 2013-04-16 Merge with v78 File  Diff  Annotate
80:24f1793171e7 2013-04-16 logCan counts overflow Lost Messages, and others File  Diff  Annotate
79:68f0dd8d1f19 2013-04-16 Just turn on the message-send ticker when actually sending (instead of continuously triggering). File  Diff  Annotate
78:a383971fe02f 2013-04-16 Moved message request to ticker instead of wait_ms delay to stop buffer overrun caused by wait_ms blocking usb write. Also requests other four frames so raw data can be logged for analysis. File  Diff  Annotate
77:7c136766466c 2013-04-16 Fixed various bugs. Added proper overrun test. File  Diff  Annotate
75:77bd26829dca 2013-04-15 Fixed overrun reporting bug but has problem with mbed41 library File  Diff  Annotate
69:6bfdfc002036 2013-04-14 Log Date-Time once per minute, and Log the firmware Version. File  Diff  Annotate
58:4d06288d75a2 2013-04-09 Button-Highlight Experiment - GG from v57 File  Diff  Annotate
51:6187c5264a73 2013-04-07 Fixed power accounting bug when in reverse (need to use absolute value of speed - dropping sign). File  Diff  Annotate
50:83d5864c64a0 2013-04-07 Removed DTE flicker. Added efficiency screen. Added configurable DTE interval. Allowed CP update even if CP logging disabled. File  Diff  Annotate
48:d1ce92104a1f 2013-04-06 Merged in gg's edits. Fixed config load (problem with floats) File  Diff  Annotate
43:e7f6f80590e3 2013-04-02 Fixed bench button display bugs File  Diff  Annotate
41:8d4609ea7259 2013-03-31 Added mpkWh display File  Diff  Annotate
40:0e6e71a7323f 2013-03-31 eliminated flicker on 12V display; File  Diff  Annotate
39:eef8beac7411 2013-03-25 Fixed minor bug using tick to trigger refresh (changed to using change on accV) File  Diff  Annotate
38:155ec32c5e91 2013-03-24 Fixed kW update routine File  Diff  Annotate
37:fea2c1d52c5f 2013-03-24 Got kW computation working File  Diff  Annotate
36:dbd39c315258 2013-03-23 Added playback option File  Diff  Annotate
35:5acbd8a64a89 2013-03-21 Added 12V monitor; configurable 12V adjustment & dled brightness (via config file); new config file format 2; fixed reset on select bug File  Diff  Annotate
34:4751a8259b18 2013-03-20 Added auto-dim File  Diff  Annotate
33:a277743ebdeb 2013-03-19 Added auto dim based on daylight sensor File  Diff  Annotate
32:c9d9b6cb5de1 2013-03-19 removed wait_ms commands in CP request File  Diff  Annotate
31:082372c83f68 2013-03-17 Removed wait_ms() on cellpair request so prevent blocking in log File  Diff  Annotate
26:462ccb580472 2013-03-16 Got brake screen working except doesn't clear File  Diff  Annotate