Commit a35590a5 authored by 崔立宝's avatar 崔立宝

修改QAC禅道高危问题43378

parent c7b843b4
......@@ -66,6 +66,7 @@ ReadDTCInformation
#define U300316 0xF00316 //Internal local voltage < 16V
#define U300317 0xF00317 //Internal local voltage > 32V
#define U111087 0xD11087 //NM Limphome failure
#define U014087 0xC14087 //Lost communication with BCM 0x10FF7521
#define U012187 0xC12187 //Lost communication with ABS 0x18FEBF0B
#define U010087 0xC10087 //Lost communication with EMS 0x0CF00400
......
......@@ -98,10 +98,9 @@
//DTC
uint32_t msgList[3][4] = {
{0x10FF7521, 8, 4000, 0, },
{0x18FEBF0B, 8, 1000, 0, },
{0x0CF00400, 8, 400, 0, },
{0x10FF7521, 8, 4000, 0,},
{0x18FEBF0B, 8, 1000, 0,},
{0x0CF00400, 8, 400, 0,},
};
uint16_t DTCTimerList [ cnDTCslen ] = {0};
uint8_t isNeedSaveDTC = 0;
......@@ -2609,7 +2608,7 @@ void setDTCEnableTimer(uint16_t Timer)
isEnable = 0;
enableTimer = 0;
enableMaxTimer = Timer;
for ( i = 0; i < 8; ++i )
for ( i = 0; i < 3; ++i )
{
msgList [ i ][ 3 ] = 0;
}
......@@ -2819,9 +2818,9 @@ void ReceivedMsg(uint32_t MsgID, uint8_t DLC)
uint8_t i;
if ( CoCANCtrl.RxEnable == CoCAN_ENABLE )
{
for ( i = 0u; i < 8; ++i )
for ( i = 0u; i < 3; ++i )
{
if ( (MsgID == msgList [ i ][ 0 ]) )//&& (DLC == msgList [ i ][ 1u ]) )
if ( (MsgID == msgList [ i ][ 0 ]) )
{
msgList [ i ][ 3 ] = 0u;
break;
......@@ -3346,6 +3345,7 @@ void UDS_Service_14_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
DiagDtc[ i ].Status.Flag = 0x00;
DTCTimerList[i] = 0;
DTCUpdataStatusList [ i ] = 1u;
if (i<3)
msgList[i][3] = 0;
}
......
......@@ -29,6 +29,7 @@
//20240446 修改车厂问题:0x18FE8E17外发不对(新报文矩阵无平均油耗输出)
//20240430 修改软件版本号
//20240515 修改禅道QAC高危问题:42983、42982、42979
//20240522 修改禅道QAC高危问题:43378
#include "main.h"
#include "fuelconfig.h"
......
1、WZ_EF01_BootApp_S0.11_FV0.08_240516.s19,完整版,适用于新生产的无程序仪表
2、WZ_EF01_UpdateApp_S0.11_F0.08_240516.s19,APP版,适用于烧过完整版程序仪表,需配合诊断工具使用
1、WZ_EF01_BootApp_S0.11_FV0.08_240522.s19,完整版,适用于新生产的无程序仪表
2、WZ_EF01_UpdateApp_S0.11_F0.08_240522.s19,APP版,适用于烧过完整版程序仪表,需配合诊断工具使用
#new Option
#Thu May 16 17:45:22 CST 2024
#Wed May 22 16:01:36 CST 2024
IsSort=true
MergeFlashIsCompression=false
ChangeAppFilePath=
......
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