Browse Source

2022-09-05 / Simon Xue

Action:
1. [Add] Chiller alarm status code (012348) and chiller heater pin.
2. [Mod] Remove build_rootfs_copy.sh

Files
As the commit history files
Simon Xue 2 years ago
parent
commit
468e6f276a
2 changed files with 5 additions and 34 deletions
  1. 5 3
      EVSE/Projects/define.h
  2. 0 31
      build_rootfs_copy.sh

+ 5 - 3
EVSE/Projects/define.h

@@ -1419,7 +1419,7 @@ char AlarmStatusCode[160][6]=
     "012345",   // AC: Pilot negative error
     "012346",   // Psu Communication error with CSU
     "012347",   // AC: Local power sharing communication error (Slave disconnect from Master)
-    "012348",   // reserved
+    "012348",   // Chiller Alarm failure
     "012349",   // reserved
     "012350",   // reserved
     "012351",   // reserved
@@ -1599,7 +1599,8 @@ struct AlarmCodeData
             unsigned char PilotNegativeError:1;                     //bit 1
             unsigned char PsuComminicationErrWithCSU:1;             //bit 2
             unsigned char LocalPowerSharingCommunicationError:1;    //bit 3
-            unsigned char :4;                                       //reserved bit 4 ~ bit 7
+            unsigned char ChillerAlarmFail:1;                       //bit 4
+			unsigned char :3;                                       //reserved bit 4 ~ bit 7
             //AlarmVal[19]
             unsigned char PaymentCommTimeout:1;                     //Payment system communication timeout
             unsigned char :7;                                       //reserved bit 1 ~ bit 7
@@ -4121,7 +4122,8 @@ struct PrimaryMcuData
             unsigned char Key1:1;                               //bit 2,    H: ON,      L:OFF
             unsigned char Key2:1;                               //bit 3,    H: ON,      L:OFF
             unsigned char Key3:1;                               //bit 4,    H: ON,      L:OFF
-            unsigned char :3;                                   //bit 5~7,  Reserved
+            unsigned char Ac_Drop;                              //bit 4,    H: Trigger, L:Normal
+			unsigned char :2;                                   //bit 5~7,  Reserved
         }bits;
     }InputDet;
 };

+ 0 - 31
build_rootfs_copy.sh

@@ -1,31 +0,0 @@
-#!/bin/bash
-# Absolute path to this script, e.g. /home/user/bin/foo.sh
-SCRIPT=$(readlink -f "$0")
-
-# Absolute path this script is in, thus /home/user/bin
-SCRIPTPATH=$(dirname "$SCRIPT")
-echo $SCRIPTPATH
-
-ProjectPath="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/Projects"
-
-
-sudo rm /dev/ram*
-sleep 3
-sudo cp -r /mnt/d/Phihong/Project/DD360Audi/Apps/* $ProjectPath/DD360Audi/Apps/
-rm -rf $ProjectPath/DD360/Apps/;
-cp -r $ProjectPath/DD360Audi/Apps/ $ProjectPath/DD360/Apps;
-cp -r $ProjectPath/DD360Audi/ModelNameList.txt  $ProjectPath/DD360/ModelNameList.txt;
-
-#rm -rf $ProjectPath/DD360ComBox/Apps/;
-#cp -r $ProjectPath/DD360Audi/Apps/ $ProjectPath/DD360ComBox/Apps;
-#cp -r $ProjectPath/DD360Audi/ModelNameList.txt $ProjectPath/DD360ComBox/ModelNameList.txt;
-#sudo cp -r /mnt/d/Phihong/Project/DD360Tcci/Apps/* $ProjectPath/DD360Tcci/Apps/
-sudo make DD360-rootfs
-#cp /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/Projects/DD360Audi/Images/* /mnt/e/Image/DD360Audi/
-#sudo make DD360Tcci-rootfs
-#cp $ProjectPath/DD360Tcci/Images/* /mnt/d/Image/DD360Tcc/
-#sudo make DD360ComBox-rootfs
-#cp /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/Projects/DD360ComBox/Images/* /mnt/e/Image/DD360ComBox/
-#sudo make DD360UCar-rootfs
-#cp /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/Projects/DD360UCar/Images/* /mnt/d/Image/DD360UCar/
-