CN110333890A - The method that long-range programming solidifies FLASH data - Google Patents
The method that long-range programming solidifies FLASH data Download PDFInfo
- Publication number
- CN110333890A CN110333890A CN201910576518.2A CN201910576518A CN110333890A CN 110333890 A CN110333890 A CN 110333890A CN 201910576518 A CN201910576518 A CN 201910576518A CN 110333890 A CN110333890 A CN 110333890A
- Authority
- CN
- China
- Prior art keywords
- data
- solidifies
- long
- dsp
- flash
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
A kind of method that long-range programming solidifies FLASH data is used for the remote upgrade of dual-CPU embedded systematic electricity system intelligent terminal comprising once step: Step 1: sending curing data to interface switching circuit;Step 2: interface switching circuit receives curing data and is sent to DSP and ARM;Step 3: to DSP data write;Step 4: to ARM data write.The method that the long-range programming of the present invention solidifies FLASH data remotely receives curing data by interface convertor, by the switching of TTL and RS232 mode respectively to the DSP and ARM progress data write in dual-CPU embedded system, realize the sequential update of program, the drawbacks of Power System Intelligent terminal device field upgrade is solved with this.
Description
[technical field]
The invention belongs to the methods that FLASH data processing field, specially a kind of long-range programming solidify FLASH data.
[background technique]
Due to the change of user demand, Power System Intelligent terminal device is frequently necessary in site of deployment upgrade application journey
Sequence, traditional method, which is technical staff, to be reached Power System Intelligent terminal device working site using programming tool and carries out upgrading behaviour
To make, this mode is there are many drawbacks, for example to update program work amount big for device for disassembling, and it is more demanding to technical staff, and
The field device that operation has been put into can not have a power failure dismantling, once the dismantling that has a power failure will will cause a large amount of losses, device for disassembling also can
Bring security risk.With the continuous expansion of intelligent terminal function, terminal inner often integrates multi-disc CPU, relative to single CPU system
System, the workload of multi -CPU program Solidification are bigger.
It can be seen that providing the problem of a kind of method that long-range programming solidifies FLASH data is this field urgent need to resolve.
[summary of the invention]
In view of the above-mentioned problems, the method that the long-range programming of the present invention solidifies FLASH data is remotely received by interface convertor
Curing data, by the switching of TTL and RS232 mode respectively in dual-CPU embedded system DSP and ARM to carry out data solid
Change, the drawbacks of realizing the sequential update of program, solve Power System Intelligent terminal device field upgrade with this.
To solve the above problems, the long-range programming of the present invention solidifies the method for FLASH data for dual-CPU embedded system electricity
The remote upgrade of Force system intelligent terminal comprising once step:
Step 1: sending curing data to interface switching circuit
Step 2: interface switching circuit receives curing data and is sent to DSP and ARM
Step 3: to DSP data write
Step 4: to ARM data write
Further, PC machine or handheld tape operating system movable termination are used in the step 1, cooperate LEAPFTP
FLASH curing data is sent to interface convertor by fiber optic Ethernet network by software.
Further, curing data is sent to DSP, passes through RS232 mould by Transistor-Transistor Logic level mode in the step 2
Curing data is sent to ARM by formula.
Further, the switching method of Transistor-Transistor Logic level mode and RS232 level mode is CTRL-TTL letter in the step 2
High level is set in number port, and CTRL-232 signal port sets low level, and passing through triode MMBT4401 and photoelectrical coupler PC817 will
Programming channel is switched to R232 mode, and CTRL-TTL signal port sets low level, and CTRL-232 signal port is set high level, passed through
Programming channel is switched to Transistor-Transistor Logic level mode by triode MMBT4401 and photoelectrical coupler PC817.
Further, it is connected in TT level outside serial ports in the step 3, needed while DSP is powered on, its IO34 is managed
The drop-down of foot progress level.
Further, initial configuration is completed using bootlowder Boot loader in the step 4.
Furthermore the method that the long-range programming of the present invention solidifies FLASH data remotely receives curing data by interface convertor,
By the switching of TTL and RS232 mode respectively to the DSP and ARM progress data write in dual-CPU embedded system, journey is realized
The sequential update of sequence, the drawbacks of Power System Intelligent terminal device field upgrade is solved with this.
[Detailed description of the invention]
Fig. 1 is the schematic diagram that long-range programming of the invention solidifies interface convertor in the method for FLASH data.
Fig. 2 is that long-range programming of the invention solidifies Bootlowder load mode flow chart in the method for FLASH data.
[specific embodiment]
The direction term that the present invention is previously mentioned, for example, "upper", "lower", "front", "rear", "left", "right", "inner", "outside", "
Side " etc. is only the direction in attached drawing, is used only to the explanation and illustration present invention, rather than protection for the purpose of limiting the invention
Range.
The method that the long-range programming of the present invention solidifies FLASH data is to carry out remote upgrade to Power System Intelligent terminal device
A kind of program Solidification method, main process is divided into following steps:
Step 1: curing data is sent to interface switching circuit
Power System Intelligent terminal device uses PC machine or handheld tape operating system movable termination, cooperates LEAPFTP
FLASH curing data is sent to interface convertor by fiber optic Ethernet network by software, wherein the more common network cable transmission tool of optical fiber
There is the features such as good electromagnetism interference, strong security, speed is fast, transmission capacity is big, guarantees the accuracy of transmitted curing data.
Step 2: it receives curing data and is sent to DSP (TMS320F28335) and ARM (STM32F103C8T6)
Interface convertor receives the FLASH curing data that movable termination issues by Ethernet interface, is cut by interface
Road is gained, programming channel is switched to Transistor-Transistor Logic level mode, and curing data is sent to DSP (TMS320F28335), interface turns
For parallel operation switching circuit principle as shown in Figure 1, CTRL-TTL signal port sets high level, CTRL-232 signal port sets low level,
Programming channel is switched to R232 mode, CTRL-TTL signal port by triode MMBT4401 and photoelectrical coupler PC817
Level is set low, CTRL-232 signal port sets high level, leads to programming by triode MMBT4401 and photoelectrical coupler PC817
Road is switched to Transistor-Transistor Logic level mode.
Step 3: to DSP (TMS320F28335) FLASH data write
Programming is carried out to DSP first, TT level is connected in outside serial ports, needs while DSP is powered on, to its IO34 pin into
The drop-down of line level.I.e. when DSP is powered on, into SCI-A start-up mode, logic analyser utilizes clock from test equipment later
Upper acquisition and display digital signal determine for timing.Logic analyser only shows two voltages (logic 1 and 0), logic analysis
Measured signal is determined that being higher than reference voltage person is High by instrument by comparator, is Low lower than reference voltage person,
Digital waveform is formed between High and Low, using logic analyser and PC machine serial ports tool, is executed when intercepting local serial ports programming
Handshake message, execute instruction message, end of identification message etc., interface convertor realizes program burn writing process according to interception message
Operation, the last serial ports such as middle connection, execution, end only need hardware reset DSP to FLASH data write process to DSP, are not necessarily to it
He intervenes.
Step 4:
Step 4: to ARM (STM32F103C8T6) FLASH data write
After DSP solidifies, channel is switched to RS232 mode by TTL mode automatically, is guided and is filled using bootlowder
It carries program and completes initial configuration, wherein bootlowder Boot loader is the more common remote loading mode of ARM, is
A bit of program before being solidificated in the user program in CPU, for initializing hardware device, establishing reflecting for program's memory space
Penetrate figure, take the hardware environment of system to suitable device, operating process is as follows: distribution program memory space remaps
Reset and interrupt vector detect whether to need to download new personal code work, error handle.Referring to fig. 2, rear Bootlowder is powered on
Program brings into operation, and basis downloads new FLASH solidification after receiving the download command that host computer issues after completion initial configuration
Data, chip first wipe FLASH data space, after receiving prompt ": ", first save this frame data length, download address
And data type sends failed download mark if mistake occurs for downloading data process, resets system.
The method that the long-range programming of the present invention solidifies FLASH data remotely receives curing data by interface convertor, passes through
The switching of TTL and RS232 mode to the DSP and ARM progress data write in dual-CPU embedded system, passes through message and cuts respectively
It takes and Time-Series analysis, cooperates hardware circuit, using single channel ether net mode, it can be achieved that the sequential update of program, is solved with this
The drawbacks of Power System Intelligent terminal device field upgrade.
In addition, it should be understood that although this specification is described in terms of embodiments, but not each embodiment is only wrapped
Containing an independent technical solution, this description of the specification is merely for the sake of clarity, and those skilled in the art should
It considers the specification as a whole, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art
The other embodiments being understood that.
Claims (6)
1. a kind of method that long-range programming solidifies FLASH data, which is characterized in that the long-range programming solidifies FLASH data
Method is used for the remote upgrade of dual-CPU embedded systematic electricity system intelligent terminal comprising once step:
Step 1: sending curing data to interface switching circuit
Step 2: interface switching circuit receives curing data and is sent to DSP and ARM
Step 3: to DSP data write
Step 4: to ARM data write.
2. the method that long-range programming according to claim 1 solidifies FLASH data, which is characterized in that in the step 1
Using PC machine or handheld tape operating system movable termination, cooperate LEAPFTP software, by fiber optic Ethernet network by FLASH
Curing data is sent to interface convertor.
3. the method that long-range programming according to claim 1 solidifies FLASH data, which is characterized in that in the step 2
By Transistor-Transistor Logic level mode, curing data is sent to DSP, curing data is sent to by ARM by RS232 mode.
4. the method that long-range programming according to claim 3 solidifies FLASH data, which is characterized in that in the step 2
The switching method of Transistor-Transistor Logic level mode and RS232 level mode is that CTRL-TTL signal port sets high level, CTRL-232 signal end
Mouth sets low level, and programming channel is switched to R232 mode, CTRL- by triode MMBT4401 and photoelectrical coupler PC817
TTL signal port sets low level, and CTRL-232 signal port sets high level, passes through triode MMBT4401 and photoelectrical coupler
Programming channel is switched to Transistor-Transistor Logic level mode by PC817.
5. the method that long-range programming according to claim 1 solidifies FLASH data, which is characterized in that in the step 3
It is connected in TT level outside serial ports, is needed while DSP is powered on, the drop-down of level is carried out to its IO34 pin.
6. the method that long-range programming according to claim 1 solidifies FLASH data, which is characterized in that in the step 4
Initial configuration is completed using bootlowder Boot loader.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910576518.2A CN110333890A (en) | 2019-06-28 | 2019-06-28 | The method that long-range programming solidifies FLASH data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910576518.2A CN110333890A (en) | 2019-06-28 | 2019-06-28 | The method that long-range programming solidifies FLASH data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110333890A true CN110333890A (en) | 2019-10-15 |
Family
ID=68144580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910576518.2A Pending CN110333890A (en) | 2019-06-28 | 2019-06-28 | The method that long-range programming solidifies FLASH data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110333890A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026417A (en) * | 2019-10-24 | 2020-04-17 | 深兰科技(上海)有限公司 | Embedded equipment upgrading method and embedded equipment |
CN111158710A (en) * | 2019-12-30 | 2020-05-15 | 杭州迪普科技股份有限公司 | Program programming method and device and network equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030084434A1 (en) * | 2001-07-16 | 2003-05-01 | Yuqing Ren | Embedded software update system |
CN102820061A (en) * | 2012-08-31 | 2012-12-12 | 东北大学 | Embedded remote device program programmer device and method |
CN202659413U (en) * | 2012-04-26 | 2013-01-09 | 嘉兴德瑞纳自动化技术有限公司 | Wind power monitoring device capable of remotely upgrading compression algorithm |
CN103136028A (en) * | 2013-03-11 | 2013-06-05 | 西北工业大学 | FLASH memorizer long-distance on-line upgrade method based on field programmable gate array (FPGA) |
CN103473190A (en) * | 2013-09-29 | 2013-12-25 | 吉林林业信息科技有限责任公司 | Remote updating system for control software of video monitoring system |
CN109032642A (en) * | 2018-07-26 | 2018-12-18 | 昆山岩古风智能科技有限公司 | A kind of DSP based on WIFI and ARM dual-core controller online upgrade system and its method |
-
2019
- 2019-06-28 CN CN201910576518.2A patent/CN110333890A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030084434A1 (en) * | 2001-07-16 | 2003-05-01 | Yuqing Ren | Embedded software update system |
CN202659413U (en) * | 2012-04-26 | 2013-01-09 | 嘉兴德瑞纳自动化技术有限公司 | Wind power monitoring device capable of remotely upgrading compression algorithm |
CN102820061A (en) * | 2012-08-31 | 2012-12-12 | 东北大学 | Embedded remote device program programmer device and method |
CN103136028A (en) * | 2013-03-11 | 2013-06-05 | 西北工业大学 | FLASH memorizer long-distance on-line upgrade method based on field programmable gate array (FPGA) |
CN103473190A (en) * | 2013-09-29 | 2013-12-25 | 吉林林业信息科技有限责任公司 | Remote updating system for control software of video monitoring system |
CN109032642A (en) * | 2018-07-26 | 2018-12-18 | 昆山岩古风智能科技有限公司 | A kind of DSP based on WIFI and ARM dual-core controller online upgrade system and its method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026417A (en) * | 2019-10-24 | 2020-04-17 | 深兰科技(上海)有限公司 | Embedded equipment upgrading method and embedded equipment |
CN111158710A (en) * | 2019-12-30 | 2020-05-15 | 杭州迪普科技股份有限公司 | Program programming method and device and network equipment |
CN111158710B (en) * | 2019-12-30 | 2023-08-25 | 杭州迪普科技股份有限公司 | Program programming method, device and network equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109656593B (en) | Method for realizing remote upgrading of FPGA (field programmable Gate array) program based on ZYNQ (z-YNQ) chip | |
CN104809014B (en) | A kind of system remote radio upgrade method | |
CN110333890A (en) | The method that long-range programming solidifies FLASH data | |
CN103136028A (en) | FLASH memorizer long-distance on-line upgrade method based on field programmable gate array (FPGA) | |
CN106293807A (en) | A kind of Flash chip based on DSP guides loading method | |
CN107729040A (en) | A kind of IAP method and system of single-chip microcomputer | |
CN105446933A (en) | Debugging system and debugging method adopting multi-core processor | |
CN107783871A (en) | A kind of usb signal uniformity pattern switch, test system | |
CN102945026B (en) | Method and system for controlling oscilloscope | |
CN112631636A (en) | FPGA (field programmable Gate array) online upgrading method based on GTX (Gate Bipolar translator) and FPGA product | |
CN102426548B (en) | Debugging method, debugger and debugging system for embedded system | |
CN109582341A (en) | A kind of host system and its programing change method of On-board System of Cab Signal equipment | |
CN110377297A (en) | A kind of image file curing system, method, apparatus and relevant device | |
CN102736929A (en) | Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system | |
CN105094880A (en) | USB driving method, computer and compound equipment | |
CN105022869A (en) | Fast reconfigurable MCU simulation method | |
CN102043654A (en) | DSP simple development method based on TMS320VC55xx | |
CN116737078A (en) | Flash memory read-write system, method, equipment and medium | |
CN103823781A (en) | Downloading device for field-programmable gate array logical code | |
CN110262349A (en) | A kind of the remote online programmed method and system of C8051F series monolithic | |
CN110399255A (en) | A kind of debugging system of FPGA system and FPGA system | |
CN112800001B (en) | High-performance Internet of things hardware platform and method based on ARM platform architecture | |
CN105653307A (en) | Upper computer, transceiving processing terminal machine and program loading system | |
CN201378317Y (en) | Codes download system adopting JTAG mode | |
CN104267609B (en) | A kind of method of simulation hardware control amount access transport |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191015 |
|
WD01 | Invention patent application deemed withdrawn after publication |