Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
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
时昊
haoJin750TFT
Commits
d0c44957
Commit
d0c44957
authored
Oct 15, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jinshuo' into 'dev'
Jinshuo See merge request
!97
parents
bacba25d
2066bcc9
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
12 deletions
+45
-12
system_BAT32A279.c
...279/MDK_ARM/RTE/Device/BAT32A279KM64FB/system_BAT32A279.c
+1
-1
BlueTooth.c
Firmware/Source/Application/BlueTooth.c
+8
-5
BlueTooth.h
Firmware/Source/Application/BlueTooth.h
+1
-1
AMT630H_Datas.c
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
+31
-1
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+1
-1
UDS_ISO14229_Services.h
Firmware/Source/UDS/UDS_ISO14229_Services.h
+3
-3
No files found.
Firmware/Project/Cmsemicon/BAT32A279/MDK_ARM/RTE/Device/BAT32A279KM64FB/system_BAT32A279.c
View file @
d0c44957
...
@@ -94,7 +94,7 @@ const uint8_t user_opt_data[4] __attribute__((used)) __attribute__((section(".AR
...
@@ -94,7 +94,7 @@ const uint8_t user_opt_data[4] __attribute__((used)) __attribute__((section(".AR
// </e>
// </e>
// </e>
// </e>
// </h>
// </h>
0x7
E
,
0x7
C
,
/**
/**
* @brief LVD Control BYTE (C1H)
* @brief LVD Control BYTE (C1H)
...
...
Firmware/Source/Application/BlueTooth.c
View file @
d0c44957
...
@@ -11,7 +11,7 @@ uint16_t LastPhoneBookTotalCount = 0;
...
@@ -11,7 +11,7 @@ uint16_t LastPhoneBookTotalCount = 0;
_PICID_Struct
PicObj
;
_PICID_Struct
PicObj
;
_QRCODE_RECT
QRCode_Rect
;
_QRCODE_RECT
QRCode_Rect
;
const
uint8_t
HJBlueToothName
[
9
]
=
{
"HJ750"
};
const
uint8_t
HJBlueToothName
[
9
]
=
{
"HJ750"
};
uint8_t
UUIDConfigBuf
[
21
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
uint8_t
UUIDConfigBuf
[
21
]
=
{
0
xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
};
//007502024092400000002
//007502024092400000002
//0x30,0x30,0x37,0x35,0x30,0x32,0x30,0x32,0x34,0x30,0x39,0x32,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x31
//0x30,0x30,0x37,0x35,0x30,0x32,0x30,0x32,0x34,0x30,0x39,0x32,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x31
uint8_t
SetBluetoothCloseCount
=
0
;
uint8_t
SetBluetoothCloseCount
=
0
;
...
@@ -368,19 +368,22 @@ uint8_t Get_Talking_PhoneBookValid(void)
...
@@ -368,19 +368,22 @@ uint8_t Get_Talking_PhoneBookValid(void)
for
(
uint8_t
i
=
0
;
i
<
100
;
i
++
)
for
(
uint8_t
i
=
0
;
i
<
100
;
i
++
)
{
{
if
(
CurBlueToothPhoneName
[
i
]
!=
0
)
if
(
CurBlueToothPhoneName
[
i
]
!=
0
)
return
1
;
{
return
1
;
}
}
}
return
0
;
return
0
;
}
}
uint8_t
Get_UUID_UDSStatus
(
void
)
uint8_t
Get_UUID_UDSStatus
(
void
)
{
{
for
(
uint8_t
i
=
0
;
i
<
21
;
i
++
)
for
(
uint8_t
i
=
0
;
i
<
21
;
i
++
)
{
{
if
(
UUIDConfigBuf
[
i
]
!=
0xFF
)
if
(
UUIDConfigBuf
[
i
]
!=
0xFF
)
return
1
;
{
return
1
;
}
}
}
return
0
;
return
0
;
}
}
...
...
Firmware/Source/Application/BlueTooth.h
View file @
d0c44957
...
@@ -23,7 +23,7 @@ typedef struct {
...
@@ -23,7 +23,7 @@ typedef struct {
uint16_t
Vaild
;
uint16_t
Vaild
;
}
TEXT_STRUCT
;
}
TEXT_STRUCT
;
#define INFORMATION_VERSION_DATE "2024
09
15"
#define INFORMATION_VERSION_DATE "2024
10
15"
#define SW_EXTERNAL_VERSION "100"
#define SW_EXTERNAL_VERSION "100"
static
const
uint8_t
DATA_Version
[
8
]
=
{
INFORMATION_VERSION_DATE
};
static
const
uint8_t
DATA_Version
[
8
]
=
{
INFORMATION_VERSION_DATE
};
...
...
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
View file @
d0c44957
...
@@ -21,6 +21,7 @@ uint16_t g_u16voltagenumberdown = 160;
...
@@ -21,6 +21,7 @@ uint16_t g_u16voltagenumberdown = 160;
uint8_t
Voltage_Selfcheck
=
1
;
uint8_t
Voltage_Selfcheck
=
1
;
uint8_t
TFT_SelfCheck
=
0
;
uint8_t
TFT_SelfCheck
=
0
;
uint8_t
CoolantOpenShortCirTimeCnt
=
0
;
uint8_t
CoolantOpenShortCirTimeCnt
=
0
;
uint8_t
HomePageCoolShortCirTimeCnt
=
0
;
//自检函数
//自检函数
void
AMT630H_GUI_BACKGRAND_SelfCheck
(
void
);
void
AMT630H_GUI_BACKGRAND_SelfCheck
(
void
);
...
@@ -2914,7 +2915,7 @@ static void AMT630H_GUI_Light()
...
@@ -2914,7 +2915,7 @@ static void AMT630H_GUI_Light()
{
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0747_244_26
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0747_244_26
);
}
}
if
(
Get_TelltalesLedSts
(
em_LED_Coolant_Temperature
))
if
(
(
GET_DataCollantTempSegStatus
()
==
1
)
&&
(
GET_DataCoolantTempSegDisp
()
==
8
))
{
{
if
(
FLASH_SYNC_1Hz
)
if
(
FLASH_SYNC_1Hz
)
{
{
...
@@ -2924,6 +2925,35 @@ static void AMT630H_GUI_Light()
...
@@ -2924,6 +2925,35 @@ static void AMT630H_GUI_Light()
{
{
;
;
}
}
HomePageCoolShortCirTimeCnt
=
0
;
}
else
if
(
GET_DataCollantTempSegStatus
()
==
2
)
{
HomePageCoolShortCirTimeCnt
++
;
if
(
HomePageCoolShortCirTimeCnt
<=
15
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0741_616_20
);
/*水温灯(红)报警闪烁0.75ms*/
}
else
if
(
HomePageCoolShortCirTimeCnt
<=
20
)
{
;
}
else
{
HomePageCoolShortCirTimeCnt
=
0
;
}
}
else
if
(
GET_DataCollantTempSegStatus
()
==
3
)
{
if
(
FLASH_SYNC_1Hz
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0741_616_20
);
/*水温灯报警闪烁1HZ*/
}
else
{
;
}
HomePageCoolShortCirTimeCnt
=
0
;
}
}
if
(
GetPhoneMirrorst
()
==
1
)
/*WIFI指示灯*/
if
(
GetPhoneMirrorst
()
==
1
)
/*WIFI指示灯*/
{
{
...
...
Firmware/Source/System/Sys_Task_List.c
View file @
d0c44957
...
@@ -20,7 +20,7 @@ void Sys_2ms_Tasks(void)
...
@@ -20,7 +20,7 @@ void Sys_2ms_Tasks(void)
Sys_Status_Update_Service
();
Sys_Status_Update_Service
();
Analog_Signal_Conv_Service
();
Analog_Signal_Conv_Service
();
AMT630H_Main
();
AMT630H_Main
();
//
Check_MCU_Info_in_630H();
Check_MCU_Info_in_630H
();
DoCAN_Timer_Update
(
2000u
);
DoCAN_Timer_Update
(
2000u
);
//Can_Write_Fun(&CAN_CH0_CanMsgTxOp, 2000u);无外发
//Can_Write_Fun(&CAN_CH0_CanMsgTxOp, 2000u);无外发
CanMSg_XMS_Analysis
(
&
CAN_CH0_CanMsgOp
,
2u
);
CanMSg_XMS_Analysis
(
&
CAN_CH0_CanMsgOp
,
2u
);
...
...
Firmware/Source/UDS/UDS_ISO14229_Services.h
View file @
d0c44957
...
@@ -29,12 +29,12 @@
...
@@ -29,12 +29,12 @@
/******************************************************************************
/******************************************************************************
program version
program version
*******************************************************************************/
*******************************************************************************/
#define SWV 0x10
6
// 0x100 = 1.00 software version 软件版本号
#define SWV 0x10
8
// 0x100 = 1.00 software version 软件版本号
#define HWV 0x110 // 0x100 = 1.00 hardware version 硬件版本号
#define HWV 0x110 // 0x100 = 1.00 hardware version 硬件版本号
#define BTV 0x104 // 0x100 = 1.00 bootloader version boot程序版本号
#define BTV 0x104 // 0x100 = 1.00 bootloader version boot程序版本号
#define internal_version (10
6
UL)
/* 内部版本号 105 -> 1.05 */
#define internal_version (10
8
UL)
/* 内部版本号 105 -> 1.05 */
#define internal_date (2024
09
15UL)
/* 内部版本日期 20240805 -> 2024.08.05 */
#define internal_date (2024
10
15UL)
/* 内部版本日期 20240805 -> 2024.08.05 */
/**
/**
*DFlash
*DFlash
...
...
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