解决UDS任务饿死问题

This commit is contained in:
LGM 2024-03-10 16:13:13 +08:00
parent 417c55798d
commit 067521a322
19 changed files with 10286 additions and 10264 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

10201
OBJ/LED.hex

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -144,8 +144,8 @@ void DTC_SignalInit(void)
faultInfo.w |= 1 << index;
}
}
UdsDtcUpdateVehicle();
diagStart_InitTimer = DIAG_START_INIT_TIME;
// UdsDtcUpdateVehicle();
// diagStart_InitTimer = DIAG_START_INIT_TIME;
// diagStart_Timer = DIAG_START_TIME;
dtcOptions.w = 0xffffffff;
SnapshotRecordNumberGet(dtcComm.DTCStatus.recordData, dtcSnapshotDataBuf, &dtcsnapshotNumberTotal);
@ -636,7 +636,7 @@ void GetFaultInfo(void)
wrIndex = 0;
}
if (++timer100ms >= 100) {
if (++timer100ms >= 10) {
timer100ms = 0;
UdsDtcUpdateVehicle();
}

File diff suppressed because one or more lines are too long

View File

@ -888,7 +888,7 @@
<Group>
<GroupName>FWLib</GroupName>
<tvExp>0</tvExp>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
@ -1270,7 +1270,7 @@
<Group>
<GroupName>KC</GroupName>
<tvExp>0</tvExp>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
@ -1302,7 +1302,7 @@
<Group>
<GroupName>EVENT</GroupName>
<tvExp>0</tvExp>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>

Binary file not shown.