Browse Source

2022.11.21 / Shayne Lo

        Actions:
        1. add Firmware Header File Type
			a. LCM advertise video
			b. CSU MLO
			c. CCS board MLO

        Files:
        1. As follow commit history

        Image version: 1.0.24.0
        Image checksum: XXXXXXXX

        Hardware PWB P/N : XXXXXXX
        Hardware Version : XXXXXXX
Robert 2 years ago
parent
commit
c749412f66

BIN
bin/Firmware Header Builder.exe


BIN
bin/Firmware Header Builder.zip


BIN
doc/FirmwareHeaderBuilder/Firmware Image and Update Behavior_1.4.docx


+ 17 - 5
src/main/FirmwareHeaderBuilder/Model/ImageType.cs

@@ -45,16 +45,22 @@ namespace FirmwareHeaderBuilder.Model
         public static ImageType F950_PSU_SecondaryController    = new ImageType(18, "F950 PSU secondary controller", new byte[] { 0x10, 0x00, 0x00, 0x13 }, OpenDialogFilter.HEX);
         /// <summary>LED control board。</summary>
         public static ImageType LED_control_board               = new ImageType(19, "LED control board", new byte[] { 0x10, 0x00, 0x00, 0x14 }, OpenDialogFilter.HEX);
-        /// <summary>BMU in BMS。</summary>
+        /// <summary>"LCM APK。</summary>
         public static ImageType LCM_APK                         = new ImageType(20, "LCM APK", new byte[] { 0x10, 0x00, 0x00, 0x15 }, OpenDialogFilter.ALL);
+        /// <summary>LCM advertise video。</summary>
+        public static ImageType LCM_Advertise_Video             = new ImageType(21, "LCM advertise video", new byte[] { 0x10, 0x00, 0x00, 0x16 }, OpenDialogFilter.ALL);
+        /// <summary>CSU MLO。</summary>
+        public static ImageType CSU_MLO                         = new ImageType(22, "CSU MLO", new byte[] { 0x10, 0x00, 0x00, 0x17 }, OpenDialogFilter.ALL);
+        /// <summary>CCS board MLO。</summary>
+        public static ImageType CCS_Board_MLO                   = new ImageType(23, "CCS board MLO", new byte[] { 0x10, 0x00, 0x00, 0x18 }, OpenDialogFilter.ALL);
         /// <summary>AC cord set controller。</summary>
-        public static ImageType AC_CordSetController            = new ImageType(21, "AC cord set controller", new byte[] { 0x20, 0x00, 0x00, 0x01 }, OpenDialogFilter.HEX);
+        public static ImageType AC_CordSetController            = new ImageType(24, "AC cord set controller", new byte[] { 0x20, 0x00, 0x00, 0x01 }, OpenDialogFilter.HEX);
         /// <summary>AC wall-mount (low-end) controller。</summary>
-        public static ImageType AC_WallMountController          = new ImageType(22, "AC wall-mount (low-end) controller", new byte[] { 0x20, 0x00, 0x00, 0x02 }, OpenDialogFilter.HEX);
+        public static ImageType AC_WallMountController          = new ImageType(25, "AC wall-mount (low-end) controller", new byte[] { 0x20, 0x00, 0x00, 0x02 }, OpenDialogFilter.HEX);
         /// <summary>CMU in BMS。</summary>
-        public static ImageType BMS_CMU                         = new ImageType(23, "CMU in BMS", new byte[] { 0x30, 0x00, 0x00, 0x01 }, OpenDialogFilter.HEX);
+        public static ImageType BMS_CMU                         = new ImageType(26, "CMU in BMS", new byte[] { 0x30, 0x00, 0x00, 0x01 }, OpenDialogFilter.HEX);
         /// <summary>BMU in BMS。</summary>
-        public static ImageType BMS_BMU                         = new ImageType(24, "BMU in BMS", new byte[] { 0x30, 0x00, 0x00, 0x02 }, OpenDialogFilter.HEX);
+        public static ImageType BMS_BMU                         = new ImageType(27, "BMU in BMS", new byte[] { 0x30, 0x00, 0x00, 0x02 }, OpenDialogFilter.HEX);
 
         #region Properties
         /// <summary>取得對應使用者操作介面之索引。</summary>
@@ -110,6 +116,9 @@ namespace FirmwareHeaderBuilder.Model
                 yield return F950_PSU_SecondaryController;
                 yield return LED_control_board;
                 yield return LCM_APK;
+                yield return LCM_Advertise_Video;
+                yield return CSU_MLO;
+                yield return CCS_Board_MLO;
                 yield return AC_CordSetController;
                 yield return AC_WallMountController;
                 yield return BMS_CMU;
@@ -144,6 +153,9 @@ namespace FirmwareHeaderBuilder.Model
                 yield return F950_PSU_SecondaryController.Text;
                 yield return LED_control_board.Text;
                 yield return LCM_APK.Text;
+                yield return LCM_Advertise_Video.Text;
+                yield return CSU_MLO.Text;
+                yield return CCS_Board_MLO.Text;
                 yield return AC_CordSetController.Text;
                 yield return AC_WallMountController.Text;
                 yield return BMS_CMU.Text;

+ 2 - 2
src/main/FirmwareHeaderBuilder/Properties/AssemblyInfo.cs

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
 // 您可以指定所有的值,或將組建編號或修訂編號設為預設值
 // 指定為預設值: 
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.23.0")]
-[assembly: AssemblyFileVersion("1.0.23.0")]
+[assembly: AssemblyVersion("1.0.24.0")]
+[assembly: AssemblyFileVersion("1.0.24.0")]