Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
TY
TianYing_ty100
Commits
191e0e58
Commit
191e0e58
authored
Sep 10, 2024
by
李茂军
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ZMY' into 'dev'
修改22服务数据存储地址为0x500800ul See merge request
!88
parents
7248b557
f8093b4b
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1662 additions
and
7 deletions
+1662
-7
UDS_ISO14229_Services.c
Firmware/Source/UDS/UDS_ISO14229_Services.c
+3
-3
UDS_ISO14229_Services.h
Firmware/Source/UDS/UDS_ISO14229_Services.h
+1
-0
TY200.080000b(ty)_BOOT变更记录.txt
..._Release/TY200.080000b(ty)/TY200.080000b(ty)_BOOT变更记录.txt
+9
-2
TY_TY200.080000b(ty)_Boot_B1.05_240910.hex
...00.080000b(ty)/TY_TY200.080000b(ty)_Boot_B1.05_240910.hex
+820
-0
TY200.080000b_BOOT变更记录.txt
...ity/Boot_Release/TY200.080000b/TY200.080000b_BOOT变更记录.txt
+9
-2
TY_TY200.080000b_Boot_B1.06_240910.hex
...ease/TY200.080000b/TY_TY200.080000b_Boot_B1.06_240910.hex
+820
-0
No files found.
Firmware/Source/UDS/UDS_ISO14229_Services.c
View file @
191e0e58
...
...
@@ -168,7 +168,7 @@ void Write_App_InValid(uint32_t m32)
/*写22服务数据*/
void
DFlash_init
(
void
)
{
DiagDFlashData
*
ReadDiagDataForDFlash
=
(
DiagDFlashData
*
)
0x500200
;
DiagDFlashData
*
ReadDiagDataForDFlash
=
(
DiagDFlashData
*
)
APP_DATA_INFO
;
if
(
(
ReadDiagDataForDFlash
->
Flag
!=
0x5AA5A77Au
)
||
(
0
!=
memcmp
(
ReadDiagDataForDFlash
->
DID_F180
,
MCU_FBLversion
,
sizeof
(
MCU_FBLversion
)))
||
...
...
@@ -180,9 +180,9 @@ void DFlash_init(void)
Data_Set_DiagPara
();
DiagDataForDFlash
.
Flag
=
0x5AA5A77Au
;
//擦除扇区
EraseSector
(
0x500200ul
);
EraseSector
(
APP_DATA_INFO
);
//App程序状态和22服务数据全写进去
ProgramPage
(
0x500200ul
,
sizeof
(
DiagDataForDFlash
),
(
uint8_t
*
)(
&
DiagDataForDFlash
));
ProgramPage
(
APP_DATA_INFO
,
sizeof
(
DiagDataForDFlash
),
(
uint8_t
*
)(
&
DiagDataForDFlash
));
}
else
{
...
...
Firmware/Source/UDS/UDS_ISO14229_Services.h
View file @
191e0e58
...
...
@@ -33,6 +33,7 @@
#define NoNeedWait 0x00u
#define NeedWait 0x01u
#define APP_STATUS_ADDR (0x500400ul)
#define APP_DATA_INFO (0x500800ul)
#define Data_Flash_Addr_BootValid_OFFSET 0x00000000
#define Data_Flash_Addr_DiagReceive_OFFSET 0x00002000
...
...
Firmware/utility/Boot_Release/TY200.080000b(ty)/TY200.080000b(ty)_BOOT变更记录.txt
View file @
191e0e58
...
...
@@ -30,4 +30,11 @@ feat:删除无用代码
feat:更新驱动, 修改内存清空长度, 更新内部版本信息
1、更新驱动文件(cgc), 函数 CGC_PLL_CFG_AS_FCLK 放到RAM中运行
2、跳转前清空的内存长度不正确
2、更新内部版本信息(1.04_20240820)
\ No newline at end of file
2、更新内部版本信息(1.04_20240820)
----2024/09/10----
TY_TY200.080000b(ty)_Boot_B1.05_240910.hex
变更内容:
fix:修改22服务数据存储地址为0x500800ul,
共用同一地址时会导致频繁更新BOOT程序与22服务信息
feat:修改BOOT版本号1.05 240910
\ No newline at end of file
Firmware/utility/Boot_Release/TY200.080000b(ty)/TY_TY200.080000b(ty)_Boot_B1.05_240910.hex
0 → 100644
View file @
191e0e58
This diff is collapsed.
Click to expand it.
Firmware/utility/Boot_Release/TY200.080000b/TY200.080000b_BOOT变更记录.txt
View file @
191e0e58
...
...
@@ -33,4 +33,11 @@ feat:删除无用代码
feat:更新驱动, 修改内存清空长度, 更新内部版本信息
1、更新驱动文件(cgc), 函数 CGC_PLL_CFG_AS_FCLK 放到RAM中运行
2、跳转前清空的内存长度不正确
2、更新内部版本信息(1.05_20240820)
\ No newline at end of file
2、更新内部版本信息(1.05_20240820)
----2024/09/10----
TY_TY200.080000b_Boot_B1.06_240910.hex
变更内容:
fix:修改22服务数据存储地址为0x500800ul,
共用同一地址时会导致频繁更新BOOT程序与22服务信息
feat:修改BOOT版本号1.06 240910
\ No newline at end of file
Firmware/utility/Boot_Release/TY200.080000b/TY_TY200.080000b_Boot_B1.06_240910.hex
0 → 100644
View file @
191e0e58
This diff is collapsed.
Click to expand it.
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