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
136d9a78
Commit
136d9a78
authored
Aug 03, 2024
by
李延凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改项目信息, 与Boot程序适配
parent
fea9122b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
21 deletions
+12
-21
UDS_ISO14229_Services.c
Firmware/Source/UDS/UDS_ISO14229_Services.c
+12
-21
No files found.
Firmware/Source/UDS/UDS_ISO14229_Services.c
View file @
136d9a78
...
...
@@ -11,32 +11,23 @@
#include "CAN_CH0_CAN_Communication_Matrix.h"
typedef
struct
{
uint8_t
ProjecName
[
16
];
// 项目名
uint8_t
PartNumber
[
16
];
// 零件号
uint8_t
PlatForm
[
16
];
// 平台
struct
{
uint8_t
type
[
16
];
//标准*
uint8_t
ch
[
16
];
//通道*
uint8_t
baudrate
[
16
];
//速率*
uint32_t
diagID
[
4
];
//诊断ID*
}
DiagCanCfg
[
1
];
//(诊断CAN)通道配置*
}
ProjectInfoStruct
;
uint8_t
u8_ProgramName
[
32
];
uint8_t
u8_PartNumber
[
32
];
uint8_t
u8_Platform
[
32
];
uint8_t
u8_Communication_Type
[
32
];
uint32_t
u8_Diagnostic_ID
[
4
];
}
program_info_t
;
extern
void
UDS_Service_Response
(
uint8_t
si
,
uint8_t
RspType
,
uint16_t
A_TA_type
,
uint16_t
A_Length
,
uint8_t
*
A_Data
);
/*
诊断使用, 判断App一致性, 禁止修改(内部版本号除外)
*/
extern
const
ProjectInfoStruct
ProjectI
nfo
__attribute__
((
section
(
".ARM.__at_0x0000C200"
)))
=
/*
豪进750TFT仪表信息, 诊断使用, 禁止修改
*/
extern
const
program_info_t
program_i
nfo
__attribute__
((
section
(
".ARM.__at_0x0000C200"
)))
=
{
"HJ_750_TFT"
,
// 豪进750TFT仪表
"HJ_750_TFT"
,
"HJYB-7500TFT"
,
"BAT32A279KM64FB"
,
// 中微芯片
{
"CAN_STD"
,
"CAN_CH_0"
,
"CAN_500Kbps"
,
{
DIAG_ID_Tx
,
DIAG_ID_Rx_PHY
,
DIAG_ID_Rx_FUN
,
0
}
}
"BAT32A279KM64FB"
,
"CAN_STD_CH0_500Kbps"
,
{
DIAG_ID_Tx
,
DIAG_ID_Rx_PHY
,
DIAG_ID_Rx_FUN
,
0U
}
};
DiagSendDataNeg
NegRes
;
...
...
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