Commit 6135c7d8 authored by 崔立宝's avatar 崔立宝

变更项7.屏蔽胎压检测界面及所有功能;删除无用目录cmd;修改EPS报警值

parent 14606082
...@@ -50,7 +50,7 @@ void Menu_Processing_Service(void) ...@@ -50,7 +50,7 @@ void Menu_Processing_Service(void)
// Time_Seting(); //按键信息调用 // Time_Seting(); //按键信息调用
if (IO_TIME_DISPLAY_ENABLE) if (IO_TIME_DISPLAY_ENABLE)
{ {
if (SetMenu == 0) //设置界面 /*if (SetMenu == 0) //设置界面
{ {
TFT_LCD_Clear_Multi_Layer(LAYER_MENU01, LAYER_MENU14); TFT_LCD_Clear_Multi_Layer(LAYER_MENU01, LAYER_MENU14);
TFT_LCD_Display_Sprite(LAYER_MENU01, SN_menu04_png, 337, 150, 64); TFT_LCD_Display_Sprite(LAYER_MENU01, SN_menu04_png, 337, 150, 64);
...@@ -79,10 +79,10 @@ void Menu_Processing_Service(void) ...@@ -79,10 +79,10 @@ void Menu_Processing_Service(void)
break; break;
} }
} }
else if (SetMenu == 1) //用户设置 else*/ if (SetMenu == 1) //用户设置
{ {
TFT_LCD_Clear_Multi_Layer(LAYER_MENU06, LAYER_MENU14); TFT_LCD_Clear_Multi_Layer(LAYER_MENU01, LAYER_MENU14);
TFT_LCD_Clear_Layer(LAYER_MENU01); //TFT_LCD_Clear_Layer(LAYER_MENU01);
//TFT_LCD_Display_Sprite(LAYER_MENU01, SN_Set_2_01_png, 337, 150, 64); //时间设置 //TFT_LCD_Display_Sprite(LAYER_MENU01, SN_Set_2_01_png, 337, 150, 64); //时间设置
TFT_LCD_Display_Sprite(LAYER_MENU02, SN_zhaomingliangdu_png, 337, 150/*184*/, 64); //照明亮度 TFT_LCD_Display_Sprite(LAYER_MENU02, SN_zhaomingliangdu_png, 337, 150/*184*/, 64); //照明亮度
TFT_LCD_Display_Sprite(LAYER_MENU03, SN_Set_2_02_png, 337, 184/*218*/, 64); //小计里程清零 TFT_LCD_Display_Sprite(LAYER_MENU03, SN_Set_2_02_png, 337, 184/*218*/, 64); //小计里程清零
...@@ -222,6 +222,7 @@ void Time_Seting(void) ...@@ -222,6 +222,7 @@ void Time_Seting(void)
if (SetMenu == 0) if (SetMenu == 0)
{ {
//设置界面短按切换选项 //设置界面短按切换选项
/*
if (IO_CAN_KEY_RIGHT == IO_KEY_PRESS) if (IO_CAN_KEY_RIGHT == IO_KEY_PRESS)
{ {
keytime = 0; keytime = 0;
...@@ -257,7 +258,8 @@ void Time_Seting(void) ...@@ -257,7 +258,8 @@ void Time_Seting(void)
default : default :
break; break;
} }
} }*/
SetMenu = 1;
} }
//用户设置 //用户设置
if (SetMenu == 1) if (SetMenu == 1)
......
...@@ -177,7 +177,7 @@ void Popups_Polling(void) ...@@ -177,7 +177,7 @@ void Popups_Polling(void)
Popup_Request(POPUP_LowPress_ReleaseLimit); Popup_Request(POPUP_LowPress_ReleaseLimit);
else else
Popup_Delete(POPUP_LowPress_ReleaseLimit); //低压释放限制状态 Popup_Delete(POPUP_LowPress_ReleaseLimit); //低压释放限制状态
#if 0
if (IO_DISP_TEST_OFF_TIME > 102) if (IO_DISP_TEST_OFF_TIME > 102)
{ {
if (NVM_CONFIG_TPMS == 0) if (NVM_CONFIG_TPMS == 0)
...@@ -311,6 +311,7 @@ void Popups_Polling(void) ...@@ -311,6 +311,7 @@ void Popups_Polling(void)
Popup_Clear(POPUP_TireIDStudy_Right); // 右轮ID未学习 Popup_Clear(POPUP_TireIDStudy_Right); // 右轮ID未学习
} }
} }
#endif
} }
else // 非IGON else // 非IGON
{ {
......
...@@ -901,7 +901,7 @@ void Telltale_LCD_Display(void) ...@@ -901,7 +901,7 @@ void Telltale_LCD_Display(void)
TFT_LCD_Clear_Layer(LAYER_LED16); TFT_LCD_Clear_Layer(LAYER_LED16);
//EPS故障指示灯 46 //EPS故障指示灯 46
if (EPS_Status_signal == 1) if (EPS_Status_signal == 2)
TFT_LCD_Display_Sprite(LAYER_LED09, SN_zhishideng_18_png, 400, 9, 64); TFT_LCD_Display_Sprite(LAYER_LED09, SN_zhishideng_18_png, 400, 9, 64);
else else
TFT_LCD_Clear_Layer(LAYER_LED09); TFT_LCD_Clear_Layer(LAYER_LED09);
......
...@@ -201,13 +201,13 @@ void IO_Management_Service(void) ...@@ -201,13 +201,13 @@ void IO_Management_Service(void)
SetMenu = 3; SetMenu = 3;
} }
#endif #endif
if ((IO_DRIVE_INFO_DISPLAY_ENABLE) && (!IO_POPUP_DISPLAY_ENABLE) && (IO_CAN_KEY_RIGHT == IO_KEY_LONG)) /*if ((IO_DRIVE_INFO_DISPLAY_ENABLE) && (!IO_POPUP_DISPLAY_ENABLE) && (IO_CAN_KEY_RIGHT == IO_KEY_LONG))
{ {
IO_CAN_KEY_RIGHT = IO_KEY_IDLE; IO_CAN_KEY_RIGHT = IO_KEY_IDLE;
IOTFTLCDAccessRight = 0x00; IOTFTLCDAccessRight = 0x00;
IOTFTLCDAccessRight = (IO_TIME_BIT | IO_BG_INFO_BIT); IOTFTLCDAccessRight = (IO_TIME_BIT | IO_BG_INFO_BIT);
SetMenu = 2; SetMenu = 2;
} }*/
if (IO_BG_INFO_DISPLAY_ENABLE) if (IO_BG_INFO_DISPLAY_ENABLE)
{ {
Time_Seting(); //按键信息调用 Time_Seting(); //按键信息调用
...@@ -234,6 +234,7 @@ void IO_Management_Service(void) ...@@ -234,6 +234,7 @@ void IO_Management_Service(void)
ClockPOS = 0; ClockPOS = 0;
SetMenupage = 0; SetMenupage = 0;
SetMenu = 0; SetMenu = 0;
TFT_LCD_Clear_Multi_Layer(LAYER_MENU01, LAYER_MENU14);
IODispFuncSwitch = 1; IODispFuncSwitch = 1;
IOTFTLCDAccessRight = 0x00; IOTFTLCDAccessRight = 0x00;
IOTFTLCDAccessRight |= (IO_BG_INFO_BIT | IO_TELLTALE_BIT | IO_DRIVE_INFO_BIT); IOTFTLCDAccessRight |= (IO_BG_INFO_BIT | IO_TELLTALE_BIT | IO_DRIVE_INFO_BIT);
......
// ver 0.2 (28-Mar-06)
// HCS12XE Core erasing + unsecuring command file:
// These commands mass erase the chip then program the security byte to 0xFE (unsecured state).
DEFINEVALUEDLG "Information required to unsecure the device" "FCLKDIV" 17 "To unsecure the device, the command script needs \nthe correct value for the FCLKDIV onchip register.\n\nDatasheet proposed values:\n\noscillator frequency\tFCLKDIV value (decimal)\n\n 16 \tMHz\t\t17\n 12 \tMHz\t\t13\n 8 \tMHz\t\t9\n 4 \tMHz\t\t5\n"
FLASH RELEASE
reset
wb 0x03c 0x00 //disable cop
wait 20
WB 0x100 FCLKDIV // clock divider
WB 0x106 0x30 // clear any error flags
WB 0x102 0x00 // CCOBIX = 0
WB 0x10A 0x08 // load erase all blocks command
WB 0x106 0x80 // launch command
WAIT 10
reset
WB 0x100 FCLKDIV // clock divider
WB 0x106 0x30 // clear any error flags
WB 0x102 0x00 // CCOBIX = 0
WB 0x10A 0x06 // load program command
WB 0x10B 0x7F // load GPAGE
WB 0x102 0x01 // CCOBIX = 1
WB 0x10A 0xFF // load addr hi
WB 0x10B 0x08 // load addr lo
WB 0x102 0x02 // CCOBIX = 2
WB 0x10A 0xFF // load data
WB 0x10B 0xFF // load data
WB 0x102 0x03 // CCOBIX = 3
WB 0x10A 0xFF // load data
WB 0x10B 0xFF // load data
WB 0x102 0x04 // CCOBIX = 4
WB 0x10A 0xFF // load data
WB 0x10B 0xFF // load data
WB 0x102 0x05 // CCOBIX = 5
WB 0x10A 0xFF // load data
WB 0x10B 0xFE // load data
WB 0x106 0x80 // launch command
WAIT 1
undef FCLKDIV // undefine variable
// After load the commands written below will be executed
// Before load the commands written below will be executed
// After reset the commands written below will be executed
// At startup the commands written below will be executed
// After programming the flash, the commands written below will be executed
// Before programming the flash, the commands written below will be executed
1、完整版:WZ_EF01_BootApp_S00.14_FV0.08_250731.s19 1、完整版:WZ-EF01_BootApp_S00.15_FV0.08_250926.s19
2、升级版:WZ_EF01_UpdateApp_S00.14_F0.08_250731.s19 2、升级版:WZ-EF01_UpdateApp_S00.15_F0.08_250926.s19
3、FLASH: WZ_EF01_Flash_F0.08_FullBin_231117.bin 3、FLASH: WZ_EF01_Flash_F0.08_FullBin_231117.bin
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment