Single-chip microcomputer program upgrading method and system free of client bootstrap program

A program upgrade and boot program technology, applied in software deployment and other directions, can solve problems such as affecting programming efficiency and user experience, increasing chip costs, and lack of improvement, to balance user experience and production costs, avoid programming failures, and avoid safety effect

Pending Publication Date: 2022-05-31
上海矽翊微电子有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, in the process of burning customer upgrade programs, users usually use self-developed IAP (in-application programming) for program burning, but in the process of using IAP for program burning and upgrading, if the program space resources are relatively tight, it is necessary to erase In addition to writing the upgrade data in the client program, once the power failure or communication abnormality occurs, the entire program area including the IAP area will be abnormal, which may cause the IAP program to be abnormally erased and affect the burning process, because the ability of users to develop IAP varies from good to bad. , if the IAP program is damaged, the product must be returned to the factory to reprogram the program. This process will greatly affect the programming efficiency and user experience
If the program space resource is enlarged and the available address space of the user program that exceeds twice the firmware size is reserved during program design, although it will support the security of program burning, it will greatly increase the cost of the chip, so there is currently no perfect customer The program burning method can ensure the safety of the burning process without increasing the production cost
[0004] In order to solve the technical problem in the prior art that there is no perfect burning method for customer upgrade programs, a single-chip program upgrade method and system without customer bootloader is needed at present, so as to realize a substantial increase in program burn rate without changing the chip hardware architecture. The stability of the recording process, balancing the user experience and production costs of single-chip chip products

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Single-chip microcomputer program upgrading method and system free of client bootstrap program
  • Single-chip microcomputer program upgrading method and system free of client bootstrap program
  • Single-chip microcomputer program upgrading method and system free of client bootstrap program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0062] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude one or more other Presence or addition of characteristics, wholes, steps, operations, elements, components and / or collections.

[0063] In order ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a single-chip microcomputer program upgrading method and system free of a client bootstrap program, and the method comprises the steps: receiving a preset ISP jump instruction after receiving an upgrading instruction in the operation process of an MCU; skipping to an original factory ISP program according to the ISP skipping instruction, selecting a plurality of preset Flash burning interfaces in the original factory ISP program as open type ISP burning interfaces, and the open type ISP burning interfaces are in one-to-one correspondence with a plurality of preset Flash function modules and are used for burning data into the corresponding Flash function modules; and receiving program upgrading data corresponding to the upgrading instruction through the open type ISP programming interface, programming the program upgrading data to the single-chip microcomputer, and executing program upgrading through an original factory ISP program. According to the method, the stability and the safety of the program burning process can be greatly improved under the condition that a chip hardware architecture is not changed, a client does not need to independently develop an online burning guide program, the user experience and the production cost of a single-chip microcomputer chip product are balanced, and the user program space is expanded.

Description

technical field [0001] The invention relates to the technical field of single-chip microcomputers, in particular to a single-chip microcomputer program upgrading method and system without a client boot program. Background technique [0002] The MCUs of mainstream manufacturers usually have ISP (in-system programming) before leaving the factory, which is convenient for manufacturers to burn and upgrade customer programs through ISP in the production process and after-sales processing process. The process of ISP online programming needs to enter the corresponding Bootloader (bootloader ), but the ISP’s Bootloader not only supports online programming, but also hardware initialization functions, including reset, clock, power, Flash capacity and other configurations. If users are allowed to directly call all ISPs, it is easy for customers to delete key system parameters by mistake. The overall operation of the MCU, so in general, MCU manufacturers refuse to directly jump to the I...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65G06F8/61
CPCG06F8/65G06F8/63
Inventor 杨颖
Owner 上海矽翊微电子有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products