Program download method based on CAN bus
A CAN bus, program download technology, applied in the direction of program loading/starting, program control device, software deployment, etc., can solve the problem of FLASH error rewriting, FLASH unexpected operation, affecting the user's experience effect, etc., to prevent accidental rewriting, The effect of protecting safety
- 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