A program download method based on CAN bus
A technology of CAN bus and program download, which is applied in the direction of program loading/starting, program control device, software deployment, etc. It can solve problems such as FLASH accidental operation, FLASH error rewriting, and affecting user experience, so as to protect safety and prevent The effect of overwriting
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0035] Such as figure 1 As shown, a program download method based on CAN bus, the specific process is as follows:
[0036] Step1 judges in the application layer whether the program update flag variable Up_Flg is valid (Up_Flg==1?) and whether the target code program flag variable Code_ok is valid (that is, Code_ok==1?), if the program update flag variable Up_Flg is invalid (Up_Flg==0 ) and the object code program flag variable Code_ok is valid (Code_ok==1), then jump to the application program and enter the application mode, otherwise enter the BootLoad mode. By reading the flag bits to judge whether to enter the BootLoad mode or the application program mode, there is no delay when the system is powered on and enters the application program, and the zero-start effect is achieved.
[0037] Among them, the specific process of BootLoad mode is as follows:
[0038] Step2 judges whether the FLASH driver code is received within the first predetermined time, if so, execute step Ste...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com