Commit 8a5b0299 authored by 李秉薇's avatar 李秉薇

fix:39846,39877(一类)

parent 38067988
...@@ -1056,7 +1056,7 @@ void UDS_Service_10_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t ...@@ -1056,7 +1056,7 @@ void UDS_Service_10_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
if ( UDS_ISO14229_Transfer[0] == 0x02 ){ if ( UDS_ISO14229_Transfer[0] == 0x02 ){
NegRes.code = requestCorrectlyReceivedResponsePending; NegRes.code = requestCorrectlyReceivedResponsePending;
UDS_Service_Response ( 0x10, NEGATIVE_RSP, DIAG_ID_Tx, 1, ( uint8_t * ) ( &NegRes.code ) ); UDS_Service_Response ( 0x10, NEGATIVE_RSP, DIAG_ID_Tx, 1, ( uint8_t * ) ( &NegRes.code ) );
for(i = 0; i < 500; ++i){ for(i = 0; i < 30000; ++i){
nop(); nop();
} }
WRITE_BZ_inDFLAH2Sector ( 0x3AA3 ); //进入编程模式 WRITE_BZ_inDFLAH2Sector ( 0x3AA3 ); //进入编程模式
...@@ -2238,7 +2238,7 @@ void UDS_Service_11_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t ...@@ -2238,7 +2238,7 @@ void UDS_Service_11_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
if( UDS_ISO14229_Transfer[0] == 0x01 ){ if( UDS_ISO14229_Transfer[0] == 0x01 ){
UDS_Service_Response ( 0x11, POSITIVE_RSP, DIAG_ID_Tx, 1, UDS_ISO14229_Transfer ); UDS_Service_Response ( 0x11, POSITIVE_RSP, DIAG_ID_Tx, 1, UDS_ISO14229_Transfer );
i = 3000; i = 30000;
while(i--){ while(i--){
nop(); nop();
} }
......
...@@ -11,7 +11,7 @@ Layout=C_layout.hwl ...@@ -11,7 +11,7 @@ Layout=C_layout.hwl
LoadDialogOptions=AUTOERASEANDFLASH RUNANDSTOPAFTERLOAD="main" LoadDialogOptions=AUTOERASEANDFLASH RUNANDSTOPAFTERLOAD="main"
CPU=HC12 CPU=HC12
AEFWarningDialog=FALSE AEFWarningDialog=FALSE
MainFrame=2,3,-1,-1,-1,-1,382,131,1859,919 MainFrame=2,3,-32000,-32000,-1,-1,382,131,1859,919
TOOLBAR=57600 57601 32795 0 57635 57634 57637 0 57671 57669 0 32777 32776 32782 32780 32781 32778 0 32806 TOOLBAR=57600 57601 32795 0 57635 57634 57637 0 57671 57669 0 32777 32776 32782 32780 32781 32778 0 32806
Configuration=TBDML.hwc Configuration=TBDML.hwc
Statusbar=1 Statusbar=1
......
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