System Management code

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

Changes

RevisionDateWhoCommit message
39:ddf38df9699e 2015-02-11 pspatel321 Updated CAN IDs for datalogging. Changed profile encoding. default tip
38:8efacce315ae 2015-02-07 pspatel321 Updated with profiles, operating info, etc. Just like the other programs. Awaiting test in car.
37:2207b58b9a7f 2015-01-22 pspatel321 Tested in car with other systems. Most features working. Xbees need work. DC-DC protection features are glitchy due to spurious current readings. Thresholds may need adjustment.
36:0afc0fc8f86b 2015-01-22 pspatel321 Tested in car with other systems. Most features are good to go. Except xbees need work. The DC-DC protection features were giving problems due to spurious current measurements. They have been edited to reduce glitchy errors.
35:9337ac9f4e1b 2015-01-07 pspatel321 Brought in changes from AMS code. Added serial input to allow changing parameters as well.
34:18bcf276d3bf 2015-01-07 pspatel321 Added serial input. Updated glvBat coulomb counter to match AMS, brought in changes to outDiag and inCommands from AMS.
33:6bc82b6b62e5 2015-01-06 pspatel321 Updated IDs to match AMS, added a constants.h file.
32:e70407021ad2 2014-11-16 pspatel321 Changed watchdog to 110ms from 250ms. Forgot to change it back.
31:7eaa5e881b56 2014-11-14 pspatel321 Mostly working. Wrote CAN in/out code. Xbee still needs work. My guess is that MODDMA breaks when used with RTOS.
30:91af74a299e1 2014-11-13 pspatel321 Parth's edits for the week.; DC-DC completed and fixed, IMD updated, LatchMonitor and Temperature added. Serial dashboard updated. File structure changed Everything tested. Compiles and runs.; Still need to write CAN in/out interface.
29:f148490b5f65 2014-11-08 pspatel321 Parth edits branch
28:8c2fa2473b78 2014-10-24 pspatel321 Re-branch3
27:84885b1e5c45 2014-10-24 pspatel321 Re branch2
26:78c0d7facfa7 2014-10-24 pspatel321 Merge check.
25:900579201439 2014-10-24 pspatel321 Branch.
24:f58a3c0071c3 2014-11-07 martydd3 finally compiles
23:ebdb30592a4b 2014-11-07 martydd3 Moved over old mbed-rtos library.; Current errors in DigitalIn.h?
22:fc802e7715f8 2014-11-07 martydd3 CANController to link DC_DC and FanPump, as well as listen to CAN Messages (since only these 2 functions act based on incoming messages)
21:2e83002d452d 2014-11-07 martydd3 testing project
20:3dfa7e9461a0 2014-11-07 martydd3 Moved code over from another testing project
19:3a817d2cef11 2014-10-25 martydd3 Testing from basics;
18:915a235bc099 2014-10-25 martydd3 Martin's Testing branch
17:c9ce210f6654 2014-10-25 pspatel321 Parth's edits for 10/24/14, items remaining: DC-DC, XBee, reading AMS/IMD error, main code
16:a72ffe7d879d 2014-10-24 pspatel321 Another branch
15:370d320a11a9 2014-10-24 pspatel321 Re branch.
14:8d4959210d4b 2014-10-24 pspatel321 LPCDigitalIn pull down in pollswitch
13:fbd9b3f5a07c 2014-10-24 pspatel321 Fork showing Parth's changes to current monitor, IMD, and fanpump.
12:e0adb697fcdb 2014-10-21 martydd3 Added Error update thread, changed CAN message IDs
11:1d086618dd18 2014-10-19 martydd3 Minor Edits
10:db13782f05d9 2014-10-19 martydd3 Copied Kiran's calculations for monitoring batttery currents; To do: Test on car, Xbees, 10 Hz Can Message (what data is needed?)
9:ada056631cac 2014-10-16 martydd3 Imported team watchdog timer
8:ecf68db484af 2014-10-10 martydd3 Added IMD monitoring code based on Kiran's calculations
7:5f6e31faa08e 2014-10-10 martydd3 PollSwitch code;
6:6a04210a3f4f 2014-10-10 martydd3 Added Watchdog timer, put DC_DC converter and FanPump code into their own classes.; To do: Look into how to call class member functions in a thread. Current thread functions are not members of classes.
5:9258b685fea6 2014-10-08 martydd3 Added 10 Hz update threads for DC-DC and fans/pumps
4:e31528929150 2014-10-08 martydd3 Cleaned up code, messed around with threading, reverted changes after messing around, couldn't find better way to write threading code (aka waste of a few hours blagh)
3:1345f882d8f3 2014-10-07 martydd3 Added code for toggling DC_DC converter, turning off DC_DC on startup. Very simple starting code
2:baeb80c778f7 2014-10-05 martydd3 Add preliminary code to control fans and pumps using PWM; To do: Decide CANMessage format for controlling fans and pumps; Debug and test code; Add to toggle DC-DC converter via CAN;
1:e02eb179aed3 2014-10-04 martydd3 System Management code;
0:e516fcccccda 2014-10-01 martydd3 Added LPCDigitalOut, LPCDigitalIn, and CANBuffer Libaries; Comments on code in SysMngmt.cpp involving register and pin access; Note: LPCDigitalOut.h defines a void mode(PinMode) which isn't in LPCDigitalOut.cpp, causes a linking error if used