From 35658817edec8f07b94247ab525be719b8d29313 Mon Sep 17 00:00:00 2001
From: tszwingli
Date: Sat, 11 Jan 2025 16:11:04 -0500
Subject: [PATCH] mirror bmsfault upper and lower 32-bit
---
cangen/can-messages/bms.json | 377 ++++++++++++++++++++++++++++++++++-
1 file changed, 374 insertions(+), 3 deletions(-)
diff --git a/cangen/can-messages/bms.json b/cangen/can-messages/bms.json
index 6d3a33a..0026f8e 100644
--- a/cangen/can-messages/bms.json
+++ b/cangen/can-messages/bms.json
@@ -956,19 +956,390 @@
]
},
{
- "name": "BMS/Faults/Non_Critical",
+ "name": "BMS/Faults/Extra",
+ "unit": "",
+ "send": false,
+ "points": [
+ {
+ "size": 14
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/CCL_Enforce",
"unit": "",
"sim": {
"options": [
[
0,
- 1
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
]
]
},
"points": [
{
- "size": 32
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Charger_Can",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Battery_Therm",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Charger_Safety",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/DCL_Enforce",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/External_Can",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Weak_Pack",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Low_Cell_Volts",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Charge_Reading",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Current_Sense",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/IC_Comm",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Thermal_Err",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Software",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Open_Wire",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Pack_Overheat",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Cell_Undervoltage",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Cell_Overvoltage",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
+ }
+ ]
+ },
+ {
+ "name": "BMS/Faults/Cells_Not_Balancing",
+ "unit": "",
+ "sim": {
+ "options": [
+ [
+ 0,
+ 0.5
+ ],
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ },
+ "points": [
+ {
+ "size": 1
}
]
}