Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISUZU
VC66_7C
Commits
f3e1cac1
Commit
f3e1cac1
authored
Mar 10, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整EEP存储
parent
59cfa7f1
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
100 additions
and
103 deletions
+100
-103
GUI.c
source/Application/Graphic/GUI/GUI.c
+2
-2
kwp2000_service.c
source/Application/K_BUS/kwp2000_service.c
+50
-51
kwp2000_service.h
source/Application/K_BUS/kwp2000_service.h
+0
-30
Common_Interface.c
source/Application/RTE/Common_Interface.c
+20
-2
Common_Interface.h
source/Application/RTE/Common_Interface.h
+26
-16
Emulated_EEPROM.c
source/Driver/Memory/Emulated_EEPROM.c
+1
-1
Emulated_EEPROM.h
source/Driver/Memory/Emulated_EEPROM.h
+1
-1
No files found.
source/Application/Graphic/GUI/GUI.c
View file @
f3e1cac1
...
...
@@ -140,8 +140,8 @@ void GUI_Display_Value_Init(void)
/*应用*/
User_App
.
User_Language
=
1u
;
User_App
.
User_Company
=
1u
;
User_App
.
User_Light1
=
K_Line_Set
.
ReservedB
;
User_App
.
User_Light2
=
K_Line_Set
.
ReservedB
;
User_App
.
User_Light1
=
10u
;
User_App
.
User_Light2
=
10u
;
User_App
.
Trip_Type
=
0u
;
/*保养状态标识*/
...
...
source/Application/K_BUS/kwp2000_service.c
View file @
f3e1cac1
This diff is collapsed.
Click to expand it.
source/Application/K_BUS/kwp2000_service.h
View file @
f3e1cac1
...
...
@@ -145,36 +145,6 @@ extern _ECUStatus ECUStatusONE;
#define ECUSTATUST_F 00
/*修正系数 EOL系数*2048*/
/******************************************************************************
5.2.5. ECU ID_ECU件号写入(SID=$3B LID=$91)
******************************************************************************/
typedef
union
{
unsigned
char
No_Digit1
;
//01 8
unsigned
char
No_Digit2
;
//02 9
unsigned
char
No_Digit3
;
//03 7
unsigned
char
No_Digit4
;
//04 9
unsigned
char
No_Digit5
;
//05 6
unsigned
char
No_Digit6
;
//06 8
unsigned
char
No_Digit7
;
//07 3
unsigned
char
No_Digit8
;
//08 0
unsigned
char
No_Digit9
;
//09 1
unsigned
char
No_Digit10
;
//10 0
unsigned
char
ECUStatus1
;
//11
unsigned
char
ECUStatus2
;
//12
unsigned
char
ECUStatus3
;
//13
unsigned
char
ECUStatus4
;
//14
unsigned
char
ECUStatus5
;
//15
unsigned
char
METERCOUNT
;
//16 修正率次数
unsigned
char
NoOfDTCFF00
;
//17
unsigned
char
NoOfDTC8000
;
//18
unsigned
char
TesterECU
;
//19 车速修正码
unsigned
char
TesterECUCAN
;
//20 CAN发送用修正码
}
_NVMNODIGIT
;
extern
_NVMNODIGIT
NVMNODIGIT
;
extern
unsigned
char
Sendseed1
;
/*仪表计算*/
extern
unsigned
char
Sendseed2
;
extern
unsigned
char
Sendseed3
;
...
...
source/Application/RTE/Common_Interface.c
View file @
f3e1cac1
...
...
@@ -901,6 +901,24 @@ void K_LINE_EOL_InitVal(void)
K_Line_Set
.
K_Line_LID51
=
0x01u
;
/* 01 工作模式 */
K_Line_Set
.
K_Line_LID52
=
0x00u
;
/* 00 电子部件设定 */
K_Line_Set
.
ReservedB
=
0x0A
;
K_Line_Set
.
ReservedC
=
0x0A
;
K_Line_Set
.
No_Digit1
=
0x38u
;
//01
K_Line_Set
.
No_Digit2
=
0x39u
;
//02
K_Line_Set
.
No_Digit3
=
0x37u
;
//03
K_Line_Set
.
No_Digit4
=
0x39u
;
//04
K_Line_Set
.
No_Digit5
=
0x36u
;
//05
K_Line_Set
.
No_Digit6
=
0x38u
;
//06
K_Line_Set
.
No_Digit7
=
0x33u
;
//07
K_Line_Set
.
No_Digit8
=
0x30u
;
//08
K_Line_Set
.
No_Digit9
=
0x31u
;
//09
K_Line_Set
.
No_Digit10
=
0x30u
;
//10
K_Line_Set
.
ECUStatus1
=
0x00u
;
//11
K_Line_Set
.
ECUStatus2
=
0x00u
;
//12
K_Line_Set
.
ECUStatus3
=
0x00u
;
//13
K_Line_Set
.
ECUStatus4
=
0x00u
;
//14
K_Line_Set
.
ECUStatus5
=
0x00u
;
//15
K_Line_Set
.
METERCOUNT
=
0x00u
;
//16
K_Line_Set
.
NoOfDTCFF00
=
0x00u
;
//17
K_Line_Set
.
NoOfDTC8000
=
0x00u
;
//18
K_Line_Set
.
TesterECU
=
0x00u
;
//19
K_Line_Set
.
TesterECUCAN
=
0x00u
;
//20
}
\ No newline at end of file
source/Application/RTE/Common_Interface.h
View file @
f3e1cac1
...
...
@@ -73,22 +73,32 @@ typedef struct
uint8_t
K_Line_LID50
;
/* -- 预留 */
uint8_t
K_Line_LID51
;
/* 01 工作模式 0-工厂模式 1-通常模式 2-销售模式*/
uint8_t
K_Line_LID52
;
/* 00 电子部件设定 0-500K 1-250k*/
uint8_t
Reserved0
;
uint8_t
Reserved1
;
uint8_t
Reserved2
;
uint8_t
Reserved3
;
uint8_t
Reserved4
;
uint8_t
Reserved5
;
uint8_t
Reserved6
;
uint8_t
Reserved7
;
uint8_t
Reserved8
;
uint8_t
Reserved9
;
uint8_t
ReservedA
;
uint8_t
ReservedB
;
uint8_t
ReservedC
;
uint8_t
reserve
;
uint8_t
No_Digit1
;
//01
uint8_t
No_Digit2
;
//02
uint8_t
No_Digit3
;
//03
uint8_t
No_Digit4
;
//04
uint8_t
No_Digit5
;
//05
uint8_t
No_Digit6
;
//06
uint8_t
No_Digit7
;
//07
uint8_t
No_Digit8
;
//08
uint8_t
No_Digit9
;
//09
uint8_t
No_Digit10
;
//10
uint8_t
ECUStatus1
;
//11
uint8_t
ECUStatus2
;
//12
uint8_t
ECUStatus3
;
//13
uint8_t
ECUStatus4
;
//14
uint8_t
ECUStatus5
;
//15
uint8_t
METERCOUNT
;
//16
uint8_t
NoOfDTCFF00
;
//17
uint8_t
NoOfDTC8000
;
//18
uint8_t
TesterECU
;
//19
uint8_t
TesterECUCAN
;
//20
}
_EOL_K_LINE_SET
;
extern
_EOL_K_LINE_SET
K_Line_Set
;
...
...
source/Driver/Memory/Emulated_EEPROM.c
View file @
f3e1cac1
...
...
@@ -53,7 +53,7 @@ static const EEPROM_Block_st_t g_stEEPROMBlockTable[] =
{
0xFF200A80UL
,
0xFF200F7FUL
,
EEPROM_BLOCK7_BUFFER_SIZE
,
g_u32EEPROMBlock7Buffer
,},
/*EEPROM_BLOCK_ODO_STAMP*/
{
0xFF200F80UL
,
0xFF20377FUL
,
EEPROM_BLOCK8_BUFFER_SIZE
,
g_u32EEPROMBlock8Buffer
,},
/*EEPROM_BLOCK_TRIP_STAMP*/
{
0xFF203780UL
,
0xFF2037FFUL
,
EEPROM_BLOCK9_BUFFER_SIZE
,
g_u32EEPROMBlock9Buffer
,},
/*EEPROM_BLOCK_SERVICE_INFO*/
{
0xFF203800UL
,
0xFF203
8FF
UL
,
EEPROM_BLOCK10_BUFFER_SIZE
,
g_u32EEPROMBlock10Buffer
,},
/*EEPROM_BLOCK_EOL_K_LINE*/
{
0xFF203800UL
,
0xFF203
940
UL
,
EEPROM_BLOCK10_BUFFER_SIZE
,
g_u32EEPROMBlock10Buffer
,},
/*EEPROM_BLOCK_EOL_K_LINE*/
};
/****************************************************************************
...
...
source/Driver/Memory/Emulated_EEPROM.h
View file @
f3e1cac1
...
...
@@ -48,7 +48,7 @@ enum g_enEEPROMBlockName
#define EEPROM_BLOCK_ODO_STAMP_SIZE (8U)
/*Life:1000.0W*/
#define EEPROM_BLOCK_TRIP_STAMP_SIZE (80U)
/*Life:1000.0W*/
#define EEPROM_BLOCK_SERVICE_INFO_SIZE (56U)
/*Life:20.0W*/
#define EEPROM_BLOCK_EOL_K_LINE_SIZE (
64
U)
/*Life:20.0W*/
#define EEPROM_BLOCK_EOL_K_LINE_SIZE (
80
U)
/*Life:20.0W*/
#define EEPROM_TOTAL_BLOCK_NUM (11U)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment