Method for monitoring whether upgrading of single-chip microcomputer succeeds or not
The invention provides a method for monitoring whether a single-chip microcomputer is upgraded successfully or not, which comprises the following steps of: installing the single-chip microcomputer on a detection device through an auxiliary device for detection, dividing a flash of the single-chip mi...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
04.08.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a method for monitoring whether a single-chip microcomputer is upgraded successfully or not, which comprises the following steps of: installing the single-chip microcomputer on a detection device through an auxiliary device for detection, dividing a flash of the single-chip microcomputer into five areas, namely a BOOT area, a PARAM area, an APP area, a BACKUP area and an OLDVERSION area during detection, making a differential compression package, downloading and storing the differential compression package to the BACKUP area of the flash of the single-chip microcomputer; and after verification of the differential compressed package of the BACKUP region by utilizing MD5 is passed, setting an upgrade mark of the PARAM region, clearing the current upgrade times, and then resetting the system to enter a BOOT region to run a bootloader program. According to the method for monitoring whether the single-chip microcomputer is successfully upgraded or not, if the single-chip microcomputer has er |
---|---|
Bibliography: | Application Number: CN202310557616 |