CN100383737C - SCM online loading and updating method and system - Google Patents
SCM online loading and updating method and system Download PDFInfo
- Publication number
- CN100383737C CN100383737C CNB2005100020627A CN200510002062A CN100383737C CN 100383737 C CN100383737 C CN 100383737C CN B2005100020627 A CNB2005100020627 A CN B2005100020627A CN 200510002062 A CN200510002062 A CN 200510002062A CN 100383737 C CN100383737 C CN 100383737C
- Authority
- CN
- China
- Prior art keywords
- chip microcomputer
- loading
- host cpu
- power down
- scm
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention discloses a single chip machine on-line loading and upgrading method and a system for loading and upgrading the single chip machine which works from CPU. The method comprises that: BOOT software of the single chip machine is written into an internal program storage area of the single chip machine, and an application program of the BOOT software of the single chip machine is written into an off-chip power down holding medium; when the SCM needs to be upgraded, a main CPU is used for controlling the state of the BOOT software of the single chip machine for working in an operating chip, and a loading code is written into the off-chip power down holding medium through the BOOT software; the main CPU is used for restoring the single chip machine, and controlling the state of an application program working outside the operating chip after the single chip machine is started again, and the processes of the loading and the upgrade are finished. The system of the present invention is added with a control circuit for the working mode of the single chip machine by the main CPU based on the existing main and the secondary CPU systems, and the off-chip power down holding medium which is used for storing the application program of the single chip machine. The present invention is utilized to simply and conveniently realize the on-line loading and the upgrade for the single chip machine, and is convenient to maintain the system.
Description
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of method and system of SCM online loading and updating, the method and system of the on-line loaded upgrading when especially the single-chip microcomputer conduct is from CPU.
Background technology
At present, along with the development of VLSI (very large scale integrated circuit), single-chip microcomputer develops into 16,32 word lengths from 4,8 word lengths, even 64.Single-chip microcomputer is the device level computer system, it is integrated CPU (CPU (central processing unit)), storer (RAM (random access memory), ROM (ROM (read-only memory)) or EPROM (programmable read only memory)) and various input/output interface on chip piece (comprising timer/counter, parallel I/O (I/O) mouth, serial i/O mouth, A/D (mould/number) converter etc.), it usually designs at Industry Control and the data processing relevant with control, can be embedded in any object system and go, realize intelligent control.And, along with people produce and growth in the living standard, also can be more and more higher to the requirement of automaticity, so the purposes of single-chip microcomputer also can be more and more widely.
Single-chip microcomputer can be divided into two big classes substantially by purposes: 1, universal single-chip microcomputer; 2, tailored version single-chip microcomputer.The tailored version single-chip microcomputer is meant that purposes is more single-minded, and disposal solidifying is good for program when dispatching from the factory, the single-chip microcomputer that can not revise again.Having many uses of universal single-chip microcomputer is general, uses different interface circuits and works out different application programs and just can finish different functions.Little of household electrical appliance, instrument and meter, realize robotization control to machinery and equipment and all available single-chip microcomputer of a whole set of production line greatly.
Because the device level computer system of single-chip microcomputer, with and with low cost, characteristics such as design is convenient, reliable, make it on a lot of veneers, being used as from CPU, to realize some fixed functions.
Fig. 1 is that veneer uses the system chart of single-chip microcomputer conduct from CPU:
In master and slave cpu system, single-chip microcomputer as from CPU, is finished different functions respectively together with host CPU.From being separate between system and the main system, main system to from system without any control ability.Extraneous external interface and host CPU by host CPU carries out data interaction, carries out data transfer by telecommunication circuit between host CPU and the single-chip microcomputer.
Usually, in the design of single-chip microcomputer, adopt programmable device that its application program is write in the single-chip microcomputer before use, when its application code more for a long time, also can need the outer program storage of sheet to cooperate single-chip microcomputer to use sometimes.Then, single-chip microcomputer is inserted on the veneer, cooperates host CPU to finish some specific functions.When system changes when maybe needing to strengthen the The application of single-chip computer function, need to revise the The application of single-chip computer program.At this moment, will interrupt single board service, single-chip microcomputer is taken off from veneer, the program code that it is inner is wiped earlier, and then by programmable device new program is write in the single-chip microcomputer.
This design can not realize the on-line loaded and the upgrading of program, bring difficulty not only for the upgrade maintenance of single-chip microcomputer application software, increased the cost of safeguarding, also increased the risk of system design, the application programs early development is had higher requirement, and also is unfavorable for the stable of system and application software.
Summary of the invention
The method that the purpose of this invention is to provide a kind of SCM online loading and updating to overcome the problem that the program in the single-chip microcomputer in the prior art can not the on-line loaded upgrading, realizes the on-line loaded upgrading to single-chip microcomputer.
Another object of the present invention provides a kind of system of SCM online loading and updating, to overcome the shortcoming that single-chip microcomputer in the existing system can not the on-line loaded upgrading as from CPU the time.
Technical scheme provided by the invention is as follows:
A kind of SCM online loading and updating method is used for carrying out the on-line loaded upgrading as the single-chip microcomputer from CPU work, and described method comprises:
A, the BOOT software of described single-chip microcomputer is write the internal processes memory block of described single-chip microcomputer, and described The application of single-chip computer program is write the outer power down of sheet keep in the medium;
B, when described single-chip microcomputer need be upgraded, control described single-chip microcomputer by host CPU and be operated in BOOT application state in the operation sheet, and loading code is write in the described outer power down maintenance medium by described BOOT software;
C, by the described host CPU described single-chip microcomputer that resets, and control and be operated in the outer Application Status of operation sheet after described single-chip microcomputer is restarted, finish the loading upgrading process.
Described step B comprises:
B1, described host CPU obtain the loading code of described single-chip microcomputer;
B2, by the described host CPU described single-chip microcomputer that resets, and control and be operated in BOOT application state in the operation sheet after described single-chip microcomputer is restarted;
B3, judge whether described single-chip microcomputer needs loading upgrading;
B4, when the needs loading upgrading, described loading code is write the outer power down of single-chip microcomputer sheet by described BOOT software keeps in the medium.
Described step B1 is specially: described host CPU obtains the loading code of described single-chip microcomputer from far-end by communication interface.
Described step B1 is specially: described host CPU obtains the loading code of described single-chip microcomputer from near-end by serial ports.
Described step B3 comprises:
B31, described BOOT software read described version information in the outer power down maintenance medium;
B32, send the described version information that reads to described host CPU;
B33, when the loading code version information of described version information and described single-chip microcomputer not simultaneously, described single-chip microcomputer needs loading upgrading.
Described step B4 comprises:
B41, described host CPU send described loading code to described BOOT software by communicating circuit;
B42, described BOOT software write described outer power down with described loading code and keep in the medium.
Described communicating circuit is specially: dual port RAM or parallel data bus line or serial data bus or I2C bus or high speed parallel interface.
Described outer power down keeps medium to be specially: but flash memory or electrically alterable memory.
A kind of SCM online loading and updating system, described system comprises: host CPU, as from the single-chip microcomputer of CPU, be used for the telecommunication circuit that described host CPU and described single-chip microcomputer carry out data interaction, described single-chip microcomputer stores the BOOT program,
Also comprise:
Power down keeps medium, is coupled in described single-chip microcomputer, is used to store described The application of single-chip computer program;
Control circuit is coupled in described host CPU and described single-chip microcomputer respectively, and described host CPU is controlled the duty of described single-chip microcomputer by described control circuit;
Described host CPU is used for new application program is received this locality, and then sends described single-chip microcomputer to, and described single-chip microcomputer writes described power down with described new application program and keeps in the medium; After described CPU was restarted described single-chip microcomputer by described control circuit, it moved described new application program to make described single-chip microcomputer.
Described control circuit comprises:
Repositioning control device, its controlled end links to each other with an I/O pin of described host CPU, and its control end links to each other with the control pin that resets of described single-chip microcomputer, is used to control described single-chip microcomputer and resets;
Mode control device, its controlled end links to each other with another I/O pin of described host CPU, in the sheet of its control end and described single-chip microcomputer/the outer program storage area of sheet selects the control pin to link to each other, is used to control the mode of operation of described single-chip microcomputer.
Described power down keeps medium to be specially: but flash memory or electrically alterable memory.
By above technical scheme provided by the invention as can be seen, the present invention is placed on BOOT (guiding) program of single-chip microcomputer in the monolithic internal storage, its application program is placed on the outer power down of sheet keeps in the medium.To controlling, make it be operated in load mode or normal operating mode by host CPU, can realize the loading and the upgrading of Single Chip Microcomputer (SCM) program by far-end control easily as the working method of the single-chip microcomputer of working from CPU.This design makes in Single Chip Microcomputer (SCM) program loading upgrading process, does not need to interrupt the operation of whole veneer, has improved professional continuity; Simultaneously, make things convenient for the maintenance of singlechip application programs, reduced the system maintenance cost.
Description of drawings
Fig. 1 is that veneer uses single-chip microcomputer as the system chart from CPU;
Fig. 2 is the process flow diagram of the inventive method;
Fig. 3 is a system chart of the present invention;
Fig. 4 is the theory diagram of the control circuit in the system of the present invention;
Fig. 5 is the system of the present invention first embodiment theory diagram;
Fig. 6 is the line graph of control circuit and single-chip microcomputer and the outer FLASH of sheet among first embodiment shown in Figure 5;
Fig. 7 is the system of the present invention second embodiment theory diagram;
Fig. 8 is the line graph of control circuit and single-chip microcomputer and the outer program storage of sheet among second embodiment shown in Figure 7.
Embodiment
Core of the present invention is the BOOT of single-chip microcomputer (guiding) program is placed in the monolithic internal storage, its application program is placed on the outer power down of sheet keeps in the medium.To controlling, make it be operated in load mode or normal operating mode by host CPU as the working method of the single-chip microcomputer of working from CPU.When needs load singlechip application programs, earlier the downloaded software of single-chip microcomputer is received this locality, and then send single-chip microcomputer to by host CPU, write the outer power down of sheet by single-chip microcomputer again and keep in the medium; After the host CPU control single chip computer is restarted, make the outer new application program of its operation sheet.Like this, can realize the loading and the upgrading of Single Chip Microcomputer (SCM) program easily by far-end control.
In order to make those skilled in the art person understand the present invention program better, the present invention is described in further detail below in conjunction with drawings and embodiments.
With reference to Fig. 2, Fig. 2 is the process flow diagram of the inventive method, may further comprise the steps:
Step 201: the BOOT software of single-chip microcomputer is write the internal processes memory block of single-chip microcomputer, and its application program is write the outer power down of sheet keep in the medium, it can be E2PROM (but electrically alterable memory), FLASH (flash memory) that power down keeps medium.Like this, when needs carry out loading upgrading to single-chip microcomputer, just can onlinely keep media operation, new singlechip application programs code is write this power down.
Step 202: the loading code of obtaining single-chip microcomputer by host CPU.
Such as, when needs when far-end loads, the main frame of host CPU and far-end (in machine room) passes through communication interface (such as in base station system, by the ABIS interface between base station controller and the base transceiver station) carry out communication, by setting download command, make host CPU that the loading upgrading program of single-chip microcomputer is downloaded to this locality, load to realize far-end.Certainly, also can load by near-end, such as, host CPU carries out communication by the mounted terminal that adds of serial ports and near-end, by setting download command, makes host CPU that the loading upgrading program of single-chip microcomputer is downloaded to this locality, loads to realize near-end.
Step 203:, and control and be operated in BOOT application state in the operation sheet after it is restarted by the host CPU single-chip microcomputer that resets.
The present technique field personnel know, CPU has a plurality of I/O (I/O) pin usually, can control other external devices by these pins.Single-chip microcomputer has in reseting pin and the selection sheet or the control pin of the outer program storage area of sheet usually.Therefore, can control single-chip microcomputer, it is resetted and be operated in different patterns: outer program of operation sheet or operation sheet internal program by the I/O pin of CPU.
In order to guarantee that each application software all comprises its version information to the correct loading of the application software of single-chip microcomputer use, host CPU can be discerned these information.Download to the loading procedure of single-chip microcomputer when host CPU after, by keeping the version information in the medium to compare with power down, whether really just can learn needs loading upgrading.
Therefore, enter step 204:BOOT software and read the version information in the power down maintenance medium outside the sheet.
Step 205: send the version information that reads to host CPU.
In master and slave cpu system, host CPU and finish by communicating circuit usually from the communication of CPU.Therefore, the transmission of this version information also can realize by this communicating circuit.
Step 206: host CPU judges whether the downloaded software version is identical with original version.
If identical, then explanation does not need upgrading, at this moment, directly enters step 208: the host CPU single-chip microcomputer that resets, and control and be operated in the outer Application Status of operation sheet after it is restarted.
If it is empty that the outer power down of inequality or sheet keeps the version information in the medium, then explanation needs the former application program of upgrading single-chip microcomputer or loads its application program, at this moment, enter step 207: loading code is write the outer power down of single-chip microcomputer sheet by BOOT software keep in the medium.
Equally, the transmission of application code also can be finished by above-mentioned communicating circuit.Detailed process is as follows:
At first, send loading code to BOOT software by host CPU by communicating circuit; Then, by BOOT software loading code being write the outer power down of sheet keeps in the medium.If this power down keeps there had been the The application of single-chip computer program originally in the medium, then can directly cover old code and get final product with new code.
Communicating circuit can be dual port RAM (random access memory), parallel data bus line, serial line interface, I2C (Inter-Integrated Circuit) bus, HPI (high speed parallel interface) interface etc., identical in its principle of work and the prior art, be not described in detail at this.
After new application code being write the outer power down maintenance of the sheet medium of single-chip microcomputer, just can be by the outer application program of host CPU control single chip computer operation sheet.
Enter step 208: the host CPU single-chip microcomputer that resets, and control and be operated in the outer Application Status of operation sheet after it is restarted, finish the loading upgrading process.
By above-mentioned flow process as seen, the present invention only needs to interrupt the operation of single-chip microcomputer function in the SCM online loading and updating process, do not interrupt the operation of host CPU, and is less to the influence of whole single board service, and realizes simple.
With reference to Fig. 3, Fig. 3 is a system chart of the present invention:
Wherein, host CPU 301, as from the single-chip microcomputer 302 of CPU, to be used for telecommunication circuit 302 that host CPU and single-chip microcomputer carry out data interaction identical with existing master-slave cpu system.Its principle of work and data interactive mode also with prior art in identical, do not repeat them here.
In order to realize the on-line loaded upgrading of single-chip microcomputer, system of the present invention has increased host CPU the control circuit 305 of single-chip microcomputer duty control and the power down of storage singlechip application programs has been kept medium 304.
In use, the BOOT software of single-chip microcomputer is write the internal processes memory block of single-chip microcomputer, its application program is write the outer power down of sheet keep in the medium, it can be E2PROM (but electrically alterable memory), FLASH (flash memory) etc. that power down keeps medium.Like this, when needs carry out loading upgrading to single-chip microcomputer, just can onlinely keep media operation, new singlechip application programs code is write this power down.
The realization principle of control circuit 305 is as shown in Figure 4:
Comprise repositioning control device and mode control device, its input end (controlled end) links to each other with different I/O (I/O) pin of host CPU respectively, output terminal (control end) respectively with the sheet of the reset terminal RST of single-chip microcomputer and single-chip microcomputer in/the outer program storage area of sheet selects the control pin to link to each other, control single chip computer resets and selects the still outer program storage area operation of sheet in the sheet respectively, to realize the control to the single-chip microcomputer duty.
For host CPU, the single-chip microcomputer of different model, its pin and working method may have difference, but as long as by host CPU to single-chip microcomputer reset and mode of operation is controlled, can realize upgrading by system of the present invention to the on-line loaded of single-chip microcomputer.
Below by instantiation system of the present invention is described further.
Reference first embodiment of system of the present invention shown in Figure 5:
Host CPU is MPC860, and it can carry out communication with far-end, and the downloaded software of single-chip microcomputer is received this locality.From CPU is AT89C52, carries out communication by dual port RAM (model for example) and host CPU.FLASH is used to store The application of single-chip computer software, and the working software that is used to the outer FLASH of slide glass, i.e. BOOT software are fired in single-chip microcomputer inside.
Behind the Board Power up, MPC860 can the interior BOOT software of control single chip computer operation sheet.BOOT can read the data message of the outer FLASH of sheet and report MPC860, after MPC860 obtains the information that BOOT reports, just can judge whether the outer FLASH of sheet is whether sky, its inner software version need to reload.If the single-chip microcomputer operating software needs to load, MPC860 can send download code to BOOT so, and is loaded into the outer FLASH inside of sheet by BOOT, thereby realizes the on-line loaded function of scm software.Operating software version as the outer FLASH inside of chankings is normal, and MPC860 will directly move the outer software of sheet by control single chip computer so, and veneer begins operate as normal.
The pin line of FLASH is as shown in Figure 6 outside control circuit and single-chip microcomputer and the sheet:
The relevant control pin of AT89C52 is as follows:
/ RD and/WE is the external read-write of single-chip microcomputer
/ PSEN is the gating enable signal that single-chip microcomputer reads the external program memory block
ALE is the address latch control signal of single-chip microcomputer
In/EA the sheet/and the outer program storage area selection of sheet control signal, during/EA=0, AT89C52 selects the outer FLASH of sheet as program storage area; During/EA=1, AT89C52 selects in-chip FLASH as program storage area
The outer FLASH model of sheet is 29F040, and its relevant control pin is as follows:
The chip selection signal of/CE 29F040
The output enable signal of/OE 29F040
/ WE 29F040 writes the FLASH enable signal
The on-line loaded of single-chip microcomputer draws two output pin PX by MPC860 and PY controls.
(1) pin PY is used to control the reset operation to AT89C52
This signal is connected to the four-input terminal A4 of driver 74ACT16244, by the 4th output terminal Y4 with from the signal LHRESET of host CPU MPC860 by producing reset signal RST with door 74LVC08, be connected to the control pin that resets of AT89C52.Wherein, signal LHRESET can draw from the I/O pin of host CPU MPC860.
When PY=0, the WATCHDOG of AT89C52 (house dog) begins the AT89C52 that resets;
During normal the operation, PY=1.
(2) PX is used to control the mode of operation of AT89C52
This signal is connected to the 3rd input end A3 of driver 74ACT16244, through two-stage drive export respectively CON and/CON, by/CON signal end control single chip computer /the EA pin, enable by the driving of CON signal end control the outer FLASH gating control signal/OE of sheet and read-write control signal/WE.
74HC373 is a latch, finishes separating of microcontroller bus address and data.
When PX=1, AT89C52 /EA=0, AT89C52 selects the outer FLASH of sheet as program storage area, the working software of storing among the outer FLASH of operation sheet, the normal function of execution veneer.74ACT16244-this moment (1) is by gating, AT89C52 /the PSEN pin can directly control 29F040 /the OE pin, thereby assist single-chip microcomputer to finish instruction fetch.
When PX=0, AT89C52 /EA=1, AT89C52 selects in-chip FLASH as program storage area, moves the BOOT software of storing among its inner FLASH, carries out the loading to the outer FLASH of sheet, finishes the software loading operation of single-chip microcomputer.At this moment, 74ACT16244-(1) is cut off, 74ACT16244-(2) is by gating, reading and writing signal/RD of AT89C52 and/WE directly control 29F040 /OE and/the WE pin, at this moment 29F040 just is equivalent to the outer data storage area of sheet of single-chip microcomputer, AT89C52 can finish the read-write operation to it, promptly finishes the function that writes load software to FLASH.
Loading procedure to AT89C52 is as follows:
1) after MPC860 receives the loading command that maintenance console issues, MPC860 is changed to PX earlier low, again PY is changed to 0, and single-chip microcomputer resets.
2) restart after single-chip microcomputer resets, because/EA=1 then moves the BOOT software of storing among the inner FLASH of single-chip microcomputer, the version information that BOOT software reads among the 29F040 reports MPC860, and after MPC860 judged the version information that reports, whether decision loaded scm software.If load, then the routine data of single-chip microcomputer is issued AT89C52 in batches, AT89C52 writes data into the 29F040 appointed positions again.Finish the loading of Single Chip Microcomputer (SCM) program data.
3) after routine data was all write 29F040, MPC860 was changed to 1 again to PX, and then PY is changed to 1 single-chip microcomputer that resets.
4) after single-chip microcomputer resets, because PX is high ,/EA=0, program stored data among the outer 29F040 of this operation sheet.Finish whole loading procedure.
With reference to Fig. 7, Fig. 7 is the system of the present invention second embodiment theory diagram:
In this embodiment, host CPU still is MPC860, and single-chip microcomputer is C513-H, and external program memory is 39SF010, and communicating circuit adopts serial line interface.
Control circuit is realized that by programmable logic device (PLD) EPM7128 the control function of its realization can be with reference to Fig. 6.From control signal C1, C2 and the RESET of host CPU, the internal logic by programmable logic device (PLD) EPM7128 produce to single-chip microcomputer C513-H pin RST and/control signal of EA, reset operation and the mode of operation of control single chip computer C513-H respectively.Its principle of work is identical with first embodiment shown in Figure 6, does not repeat them here.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.
Claims (11)
1. a SCM online loading and updating method is used for upgrading to carrying out on-line loaded as the single-chip microcomputer from CPU work, it is characterized in that described method comprises:
A, the BOOT software of described single-chip microcomputer is write the internal processes memory block of described single-chip microcomputer, and described The application of single-chip computer program is write the outer power down of sheet keep in the medium;
B, when described single-chip microcomputer need be upgraded, control described single-chip microcomputer by host CPU and be operated in BOOT application state in the operation sheet, and loading code is write in the described outer power down maintenance medium by described BOOT software;
C, by the described host CPU described single-chip microcomputer that resets, and control and be operated in the outer Application Status of operation sheet after described single-chip microcomputer is restarted, finish the loading upgrading process.
2. SCM online loading and updating method according to claim 1 is characterized in that, described step B comprises:
B1, described host CPU obtain the loading code of described single-chip microcomputer;
B2, by the described host CPU described single-chip microcomputer that resets, and control and be operated in BOOT application state in the operation sheet after described single-chip microcomputer is restarted;
B3, judge whether described single-chip microcomputer needs loading upgrading;
B4, when the needs loading upgrading, described loading code is write the outer power down of single-chip microcomputer sheet by described BOOT software keeps in the medium.
3. SCM online loading and updating method according to claim 2 is characterized in that, described step B1 is specially: described host CPU obtains the loading code of described single-chip microcomputer from far-end by communication interface.
4. SCM online loading and updating method according to claim 2 is characterized in that, described step B1 is specially: described host CPU obtains the loading code of described single-chip microcomputer from near-end by serial ports.
5. SCM online loading and updating method according to claim 2 is characterized in that, described step B3 comprises:
B31, described BOOT software read described version information in the outer power down maintenance medium;
B32, send the described version information that reads to described host CPU;
B33, when the loading code version information of described version information and described single-chip microcomputer not simultaneously, described single-chip microcomputer needs loading upgrading.
6. SCM online loading and updating method according to claim 2 is characterized in that, described step B4 comprises:
B41, described host CPU send described loading code to described BOOT software by communicating circuit;
B42, described BOOT software write described outer power down with described loading code and keep in the medium.
7. SCM online loading and updating method according to claim 6 is characterized in that, described communicating circuit is specially: dual port RAM or parallel data bus line or serial data bus or I2C bus or high speed parallel interface.
8. SCM online loading and updating method according to claim 6 is characterized in that, described outer power down keeps medium to be specially: but flash memory or electrically alterable memory.
9. SCM online loading and updating system, described system comprises: host CPU, as from the single-chip microcomputer of CPU, be used for the telecommunication circuit that described host CPU and described single-chip microcomputer carry out data interaction, described single-chip microcomputer stores the BOOT program, it is characterized in that, also comprises:
Power down keeps medium, is coupled in described single-chip microcomputer, is used to store described The application of single-chip computer program;
Control circuit is coupled in described host CPU and described single-chip microcomputer respectively, and described host CPU is controlled the duty of described single-chip microcomputer by described control circuit;
Described host CPU is used for new application program is received this locality, and then sends described single-chip microcomputer to, and described single-chip microcomputer writes described power down with described new application program and keeps in the medium; After described host CPU is restarted described single-chip microcomputer by described control circuit, make the described new application program in the described single-chip microcomputer operation power down maintenance medium.
10. SCM online loading and updating according to claim 9 system is characterized in that described control circuit comprises:
Repositioning control device, its controlled end links to each other with an I/O pin of described host CPU, and its control end links to each other with the control pin that resets of described single-chip microcomputer, is used to control described single-chip microcomputer and resets;
Mode control device, its controlled end links to each other with another I/O pin of described host CPU, in the sheet of its control end and described single-chip microcomputer/the outer program storage area of sheet selects the control pin to link to each other, is used to control the mode of operation of described single-chip microcomputer.
11. SCM online loading and updating according to claim 9 system is characterized in that, described power down keeps medium to be specially: but flash memory or electrically alterable memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100020627A CN100383737C (en) | 2005-01-12 | 2005-01-12 | SCM online loading and updating method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100020627A CN100383737C (en) | 2005-01-12 | 2005-01-12 | SCM online loading and updating method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1804799A CN1804799A (en) | 2006-07-19 |
CN100383737C true CN100383737C (en) | 2008-04-23 |
Family
ID=36866834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100020627A Expired - Fee Related CN100383737C (en) | 2005-01-12 | 2005-01-12 | SCM online loading and updating method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100383737C (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101615128B (en) * | 2009-07-31 | 2012-05-23 | 北京华环电子股份有限公司 | Online upgrade method and device of singlechip |
CN102053849B (en) * | 2009-10-30 | 2013-06-26 | 杭州华三通信技术有限公司 | Distributed system, main system and slave systems thereof and a code loading method |
CN102231114A (en) * | 2011-05-26 | 2011-11-02 | 福建星网锐捷网络有限公司 | System and method for upgrading chip as well as method and device for transmitting upgrade file |
CN103517303A (en) * | 2012-06-25 | 2014-01-15 | 中兴通讯股份有限公司 | Microwave transmission apparatus, and data processing method and device for the same |
CN102801405A (en) * | 2012-06-26 | 2012-11-28 | 深圳市芯海科技有限公司 | Method and device for switching chip mode |
CN103809995A (en) * | 2012-11-15 | 2014-05-21 | 海尔集团公司 | Single chip microcomputer as well as online upgrading method and online upgrading method of single chip microcomputer |
CN103838591B (en) * | 2012-11-20 | 2018-08-28 | 海尔集团公司 | A kind of multiple single chip microcomputer upgrade method and device based on universal serial bus |
CN103353754B (en) * | 2013-06-28 | 2016-05-25 | 惠州市德赛西威汽车电子股份有限公司 | A kind of production method of automobile instrument |
CN104281470B (en) * | 2014-05-09 | 2017-07-21 | 浙江大学 | A kind of Multiple MCU System method for upgrading software based on single external serial ports |
CN105487890A (en) * | 2015-11-25 | 2016-04-13 | 天津航空机电有限公司 | Firmware downloading method based on C51 series single chip microcomputer kernel |
CN105653384A (en) * | 2015-12-30 | 2016-06-08 | 惠州市伟乐科技股份有限公司 | Soft-core CPU resetting method and master-slave type system |
CN107153613B (en) * | 2017-05-11 | 2019-09-24 | 山东鲁能智能技术有限公司 | BootLoader program debugging method and system based on HCS12 single-chip microcontroller |
CN108459885A (en) * | 2018-03-26 | 2018-08-28 | 深圳市元征科技股份有限公司 | A kind of method and its microcontroller of resource dispersion load |
CN112114850B (en) * | 2020-07-15 | 2023-03-10 | 北京航空航天大学杭州创新研究院 | Method for dispersedly loading FLASH programs in and out of STM32 single chip microcomputer based on serial port |
CN115934143B (en) * | 2023-01-05 | 2023-05-16 | 天津云遥宇航科技有限公司 | On-orbit incremental upgrading method for CPU software of satellite-borne GNSS occultation receiver |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1430142A (en) * | 2001-12-29 | 2003-07-16 | 深圳市中兴通讯股份有限公司上海第二研究所 | Device for realizing software down loading using single-chip processor in communication system and its method |
CN1467629A (en) * | 2002-07-08 | 2004-01-14 | 华为技术有限公司 | Method for implementing dynamic loading of single board chip FIRMWARE program |
CN1476217A (en) * | 2002-08-16 | 2004-02-18 | 深圳市中兴通讯股份有限公司 | Single board edition automatic loading method |
CN1492329A (en) * | 2003-09-09 | 2004-04-28 | 天津大学 | On-lin upgrading method for monolithic computer in monolithic computer system |
CN1503488A (en) * | 2002-11-21 | 2004-06-09 | ��Ϊ��������˾ | Method for upgrading TRX monoboard program in WCDMA |
CN1512336A (en) * | 2002-12-28 | 2004-07-14 | 深圳市中兴通讯股份有限公司 | 8051 monolithic system upgrading method and monitoring circuit |
CN1543107A (en) * | 2003-11-04 | 2004-11-03 | 中兴通讯股份有限公司 | Method of singleboard Node B software download and upgrade |
-
2005
- 2005-01-12 CN CNB2005100020627A patent/CN100383737C/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1430142A (en) * | 2001-12-29 | 2003-07-16 | 深圳市中兴通讯股份有限公司上海第二研究所 | Device for realizing software down loading using single-chip processor in communication system and its method |
CN1467629A (en) * | 2002-07-08 | 2004-01-14 | 华为技术有限公司 | Method for implementing dynamic loading of single board chip FIRMWARE program |
CN1476217A (en) * | 2002-08-16 | 2004-02-18 | 深圳市中兴通讯股份有限公司 | Single board edition automatic loading method |
CN1503488A (en) * | 2002-11-21 | 2004-06-09 | ��Ϊ��������˾ | Method for upgrading TRX monoboard program in WCDMA |
CN1512336A (en) * | 2002-12-28 | 2004-07-14 | 深圳市中兴通讯股份有限公司 | 8051 monolithic system upgrading method and monitoring circuit |
CN1492329A (en) * | 2003-09-09 | 2004-04-28 | 天津大学 | On-lin upgrading method for monolithic computer in monolithic computer system |
CN1543107A (en) * | 2003-11-04 | 2004-11-03 | 中兴通讯股份有限公司 | Method of singleboard Node B software download and upgrade |
Also Published As
Publication number | Publication date |
---|---|
CN1804799A (en) | 2006-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100383737C (en) | SCM online loading and updating method and system | |
CN102609286B (en) | A kind of FPGA configurator remote update system based on processor control and method thereof | |
CN105573743B (en) | Chip burning system and method and electronic equipment | |
CN103559053B (en) | Board system and FPGA (Field Programmable Logic Array) online update method of communication interface cards | |
CN102999350B (en) | A kind of FPGA program upgrading download online method in digital signal processing platform | |
CN200976140Y (en) | System for updating on-site programmable gate array bit files | |
CN101295255B (en) | Firmware updating system and method | |
CN105279127B (en) | A kind of FPGA program downloading systems and method based on PCI or PCIe buses | |
CN101645055B (en) | Logic device on-line loaded method, system and processor | |
CN106547574A (en) | The outside download system and method for a kind of DSP programs and FPGA programs | |
CN107832078B (en) | FPGA program online updating circuit based on DSP | |
CN107704285B (en) | Multi-version configuration chip, system and method for field programmable gate array | |
CN112000351B (en) | Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware | |
CN103761129B (en) | Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer | |
CN106843918A (en) | The method for entering line program renewal to the embedded system including ARM chips, dsp chip and fpga chip | |
CN101493771A (en) | Electric-controlled unit program burn writing equipment and method | |
CN111213099B (en) | Motion control card, motion control system, robot system and numerical control machine tool | |
CN102253845B (en) | Server system | |
CN102253844B (en) | Method and device for starting processor | |
CN116298801A (en) | Chip testing device, method, electronic equipment and storage medium | |
CN114153477B (en) | PCIE driving card firmware upgrading method, device, system, equipment and medium | |
CN112306536B (en) | Main board, chip thereof and chip upgrading method | |
CN110096291A (en) | Power management chip upgrades circuit, method and the network equipment | |
CN100421073C (en) | Universal programmor and programming method | |
CN101788946B (en) | Method and device for sintering firmware connected with E2PROM (Electrically Erasable Programmable Read-Only Memory) on CPLD (Complex Programable Logic Device) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080423 Termination date: 20180112 |