SCM online loading and updating method and system

A single-chip microcomputer and software technology, applied in the electronic field, can solve the problems that the single-chip microcomputer cannot be loaded and upgraded online, and the program cannot be loaded and upgraded online, so as to achieve the effect of convenient maintenance, reduced maintenance cost, and improved continuity

Inactive Publication Date: 2006-07-19
HUAWEI TECH CO LTD
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is to provide a method for online loading and upgrading of single-chip microcomputers, to overcome the problem that the programs in single-chip microcomputers cannot be loaded and upgraded online in the prior art, and to realize online loading and upgrading of single-chip microcomputers
[0010] Another object of the present invention is to provide a system for online loading and upgrading of single-chip microcomputers, to overcome the shortcoming that single-chip microcomputers in the existing system cannot be loaded and upgraded online when they are used as slave CPUs

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
  • SCM online loading and updating method and system
  • SCM online loading and updating method and system
  • SCM online loading and updating method and system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0079] The main CPU is MPC860, which can communicate with the remote end and receive the download software of the single-chip microcomputer to the local. The slave CPU is AT89C52, which communicates with the master CPU through dual-port RAM (model example). FLASH is used to store the application software of the single-chip microcomputer, and the internal burning of the single-chip microcomputer is used to load the working software of the off-chip FLASH, that is, BOOT software.

[0080] After the board is powered on, the MPC860 will control the MCU to run the on-chip BOOT software. BOOT can read the data information of off-chip FLASH and report it to MPC860. After MPC860 obtains the information reported by BOOT, it can judge whether the off-chip FLASH is empty and whether its internal software version needs to be reloaded. If the running software of the single-chip microcomputer needs to be loaded, then MPC860 will transfer the download code to BOOT, and the BOOT will load it ...

no. 2 example

[0106] refer to Figure 7 , Figure 7 It is the functional block diagram of the second embodiment of the system of the present invention:

[0107] In this embodiment, the main CPU is still MPC860, the single-chip microcomputer is C513-H, the external program memory is 39SF010, and the communication circuit adopts a serial interface.

[0108] The control circuit is realized by the programmable logic device EPM7128, and its control function can be referred to Image 6 . The control signals C1, C2 and RESET from the main CPU generate control signals to the MCU C513-H pins RST and / EA through the internal logic of the programmable logic device EPM7128, respectively controlling the reset operation and working mode of the MCU C513-H. It works with Image 6 The first embodiment shown is the same and will not be repeated here.

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 machine online loading upgrade method and system. The method comprises: writing the BOOT software into the inner program storage area of the single chip machine and writing its applied program into the chip external electricity-off holding-on media; when the single chip machine needs to upgrade, making the host CPU to control the single chip machine to run in BOOT software condition and writing the loading code into the chip external electricity-off holding-on media by the BOOT software; using the host CPU to reset the single chip machine and control the restarting work on running chip external applied program condition to finish the loading update course.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a method and system for online loading and upgrading of a single-chip microcomputer, especially a method and system for online loading and upgrading of a single-chip microcomputer as a slave CPU. Background technique [0002] At present, with the development of VLSI, single-chip microcomputer has developed from 4-bit, 8-bit word length to 16-bit, 32-bit word length, or even 64-bit. Single-chip microcomputer is a device-level computer system that integrates CPU (central processing unit), memory (RAM (random access memory), ROM (read-only memory) or EPROM (programmable read-only memory)) and various input devices on one chip. / Output interface (including timer / counter, parallel I / O (input / output) port, serial I / O port, A / D (analog / digital) converter, etc.), it is often for industrial control and control It is designed for relevant data processing and can be embedded in any obj...

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): G06F9/445
Inventor 孙志伟
Owner HUAWEI TECH CO LTD
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