An on-line upgrading method, device and system of a single chip microcomputer program
A single-chip microcomputer and program technology, applied to the online upgrade method of single-chip microcomputer programs, devices and systems, can solve problems such as abnormal online upgrades of single-chip microcomputer programs, and achieve the effect of avoiding abnormal situations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] This embodiment provides an online upgrade method for a single-chip microcomputer program. The execution body is an MCU controller. Please refer to figure 1 , the method includes:
[0060] First, step S101 is performed: the MCU controller receives the upgrade start instruction sent by the control terminal, wherein the MCU controller is pre-divided into three areas, wherein the first area is used to store the boot loader, and the boot loader is preset with a device Feature value, device feature value is used to characterize different microcontroller devices, the second area is used to store the application program, the application program includes a program data area, and the device feature value is preset in the application program, and the third area is used to store flag bit information , the flag bit information includes first flag bit information and second flag bit information, the first flag bit information is used to indicate whether the data of the microcontroll...
Embodiment 2
[0093] See figure 2 , this embodiment provides an online upgrade method for a single-chip microcomputer program, the execution body of which is a control terminal, and the method includes:
[0094] S201: When online upgrade is required, the control terminal generates an upgrade start instruction;
[0095] S202: Send the upgrade start instruction to the MCU controller, wherein the MCU controller is pre-divided into three areas, wherein the first area is used to store a boot loader, and the boot loader is preset with a device characteristic value, The device characteristic value is used to characterize different MCU devices, the second area is used to store the application program, the application program includes the program data area, and the device characteristic value is preset in the application program, and the third area is used to store the flag bit information, the flag bit The information includes the first flag bit information and the second flag bit information. Th...
Embodiment 3
[0101] This embodiment provides an online upgrade device for a single-chip microcomputer program, and the device is an MCU controller. Please refer to image 3 , the MCU controller includes:
[0102] The receiving module 301 is configured to receive an upgrade start instruction sent by the control terminal, wherein the MCU controller is pre-divided into three areas, wherein the first area is used to store a boot loader, and the boot loader is preset with device characteristic values , the device characteristic value is used to characterize different single-chip devices, the second area is used to store the application program, the application program includes a program data area, and the device characteristic value is preset in the application program, and the third area is used to store the flag bit information, the flag The bit information includes first flag bit information and second flag bit information, the first flag bit information is used to indicate whether the data ...
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