更新busoff

This commit is contained in:
sunbeam 2023-07-02 10:58:38 +08:00
parent 2e53cc04e4
commit c75fd21be6
6 changed files with 6924 additions and 2826 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
QualityReport QualityReport
2023年6月20日 11:08:58 2023年6月30日 15:42:17
------ Start build(ECU_APP, DefaultBuild) ------ ------ Start build(ECU_APP, DefaultBuild) ------
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe user\appTask.c -cpu=S3 -obj_path=DefaultBuild "-dev=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10BGG.DVF" -g -g_line -I diagnose\DTC -I diagnose\CanTrcv -I sys -I . -I rscan_driver -I diagnose -I DataFlash -I CanNw -I diagnose\CanTp -I diagnose\CanIf -I user -D DEBUG1 -c -msg_lang=english E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe user\appTask.c -cpu=S3 -obj_path=DefaultBuild "-dev=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10BGG.DVF" -g -g_line -I diagnose\DTC -I diagnose\CanTrcv -I sys -I . -I rscan_driver -I diagnose -I DataFlash -I CanNw -I diagnose\CanTp -I diagnose\CanIf -I user -D DEBUG1 -c -msg_lang=english
@ -16,7 +16,7 @@ E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\rlink.exe -subcommand=D
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product. W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
RAMDATA SECTION: 00000c41 Byte(s) RAMDATA SECTION: 00000c41 Byte(s)
ROMDATA SECTION: 000005ff Byte(s) ROMDATA SECTION: 000005ff Byte(s)
PROGRAM SECTION: 000050c3 Byte(s) PROGRAM SECTION: 000050b7 Byte(s)
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product. W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product. W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
Renesas Optimizing Linker Completed Renesas Optimizing Linker Completed
@ -106,9 +106,9 @@ DefaultBuild\ECU_APP.clnk :
--- SHA1 hash value of output files --- --- SHA1 hash value of output files ---
F:\FCB_project\temp\CFMOTOR\code\ECU_APP\DefaultBuild\ECU_APP.abs: c4ac72f02ca4eda1972a131685c8a303032b038a F:\FCB_project\temp\CFMOTOR\code\ECU_APP\DefaultBuild\ECU_APP.abs: 3efee4d9994113615a010ad13737591e01aa1ea2
F:\FCB_project\temp\CFMOTOR\code\ECU_APP\DefaultBuild\ECU_APP.mot: 3fd595d131eea24237bd20f1b59c936087619f94 F:\FCB_project\temp\CFMOTOR\code\ECU_APP\DefaultBuild\ECU_APP.mot: aa2af9b7ade2ac8fe0b8398000a8832bf79fb7e9
F:\FCB_project\temp\CFMOTOR\code\ECU_APP\output\ECU_APP.S19: b6a4dfacd1cfccc1bee31565552e9eba65adea4d F:\FCB_project\temp\CFMOTOR\code\ECU_APP\output\ECU_APP.S19: 302286016a025ae655f22e8553fce88b691a006f
--- System Information --- --- System Information ---
@ -136,11 +136,11 @@ F:\FCB_project\temp\CFMOTOR\code\ECU_APP\output\ECU_APP.S19: b6a4dfacd1cfccc1bee
E:\Program Files (x86)\renesas\CS+\CC E:\Program Files (x86)\renesas\CS+\CC
*Memory Usage *Memory Usage
*Private Working Set *Private Working Set
271 MB 267 MB
*Number of GDI Objects *Number of GDI Objects
2097 2079
*Number of USER Objects *Number of USER Objects
1132 1126
*Opened Files *Opened Files
2 editors, 2 files, 24 KB 2 editors, 2 files, 24 KB

View File

@ -31,7 +31,7 @@ __far const unsigned char SW_VERSION[]={
'1' , //AC_SW_VERSION_04 '1' , //AC_SW_VERSION_04
'.' , //AC_SW_VERSION_05 '.' , //AC_SW_VERSION_05
'0' , //AC_SW_VERSION_06 '0' , //AC_SW_VERSION_06
'2' , //AC_SW_VERSION_07 '3' , //AC_SW_VERSION_07
' ' , //AC_SW_VERSION_08 ' ' , //AC_SW_VERSION_08
' ' , //AC_SW_VERSION_09 ' ' , //AC_SW_VERSION_09
' ' , //AC_SW_VERSION_10 ' ' , //AC_SW_VERSION_10

View File

@ -60,7 +60,7 @@ void Apply_task(void)
Nw28sTxRxStatus = GetNetworkMsgSts(); Nw28sTxRxStatus = GetNetworkMsgSts();
// DiagnosticSession_Present=MngDcm_GetDiagnosticSession(); // DiagnosticSession_Present=MngDcm_GetDiagnosticSession();
if(CAN_STB == 0 && ucBusOffModeState == 0)//Tx enable if(CAN_STB == 0 && BusOff_flag == 0)//Tx enable
{ {
TxServe(); TxServe();
} }
@ -387,7 +387,7 @@ void Can_Msg_Change(void)
CAN_212.Msg_Part.MSW_TogReq = toggle_req; CAN_212.Msg_Part.MSW_TogReq = toggle_req;
CAN_212.Msg_Part.MSW_BtnFltSts = 0; CAN_212.Msg_Part.MSW_BtnFltSts = 0;
CAN_212.Msg_Part.MSW_RotStep = xn_tx_num; CAN_212.Msg_Part.MSW_RotStep = xn_tx_num;
//CAN_212.Msg_Part.Reserve_7 = BusOff_flag; CAN_212.Msg_Part.Reserve_7 = ucBusOffModeState;
} }
static uint8_t EEL_BUF[50]; static uint8_t EEL_BUF[50];
@ -559,7 +559,7 @@ void BusOff_Detect(void)
if (ucBusOffModeState == 0) if (ucBusOffModeState == 0)
{ {
uiBusOffCnt = FAST_BUSOFF_THRESHOULD; uiBusOffCnt = FAST_BUSOFF_THRESHOULD;
BusOff_Recovery(); //BusOff_Recovery();
} }
if ((ucBusOffModeState > 0) && (ucBusOffModeState < 5)) if ((ucBusOffModeState > 0) && (ucBusOffModeState < 5))
{ {
@ -587,7 +587,7 @@ void BusOff_Detect(void)
{ {
if (uiBusOffCnt == 0) if (uiBusOffCnt == 0)
{ {
ucBusOffModeState = 0; //ucBusOffModeState = 0;
// 原来程序的标志位 // 原来程序的标志位
} }