Commit 25ac2644 authored by 李茂军's avatar 李茂军

增加USB跳转接口

parent 1e35135a
......@@ -1067,3 +1067,9 @@ void BootReadFlahInit(void)
write2EData(Write2EData);
}
}
void StartUSBUpgrade(void)
{
WriteJumpBootStatusToDFlash(Flag_App_USBStatus);
UDS_RESET();
}
\ No newline at end of file
......@@ -47,6 +47,7 @@
#define NeedWait 0x01u
#define JumpToBoot02 0x58856336u
#define JumpToBoot82 0x85583663u
#define Flag_App_USBStatus 0x4774C99Cu
/**
*10服务和子服务
......@@ -502,4 +503,5 @@ void Ser2EToDFlashInfoInit(void);
void DTCToDFlashInfoInit(void);
void DTCConfigurationInit(void);
void BootReadFlahInit(void);
void StartUSBUpgrade(void);
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment