CN103473190A - Remote updating system for control software of video monitoring system - Google Patents

Remote updating system for control software of video monitoring system Download PDF

Info

Publication number
CN103473190A
CN103473190A CN 201310450790 CN201310450790A CN103473190A CN 103473190 A CN103473190 A CN 103473190A CN 201310450790 CN201310450790 CN 201310450790 CN 201310450790 A CN201310450790 A CN 201310450790A CN 103473190 A CN103473190 A CN 103473190A
Authority
CN
China
Prior art keywords
data
digital signal
signal processor
selection signal
chip selection
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
Application number
CN 201310450790
Other languages
Chinese (zh)
Inventor
李波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JILIN FORESTRY INFORMATION TECHNOLOGY Co Ltd
Original Assignee
JILIN FORESTRY INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by JILIN FORESTRY INFORMATION TECHNOLOGY Co Ltd filed Critical JILIN FORESTRY INFORMATION TECHNOLOGY Co Ltd
Priority to CN 201310450790 priority Critical patent/CN103473190A/en
Publication of CN103473190A publication Critical patent/CN103473190A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a remote updating system for control software of a video monitoring system, and belongs to a method combining a starting mode design of a digital signal processor TMS320F28335, CMD file configuration and the read-write operation of an external FLASH storage. The remote updating system is characterized in that the program code of the digital signal processor TMS320F28335 is stored into the external FLASH storage, and data stored in the FLASH storage can be subjected to read-write access by a data line address of the digital signal processor according to instructions; for realizing the software maintenance function of a bottom layer DSP (digital signal processor) controller, the external FLASH program is removed and the operated work mode is started; the software updating function is realized by the switching operation on a data area and a program area of the external FLASH.

Description

A kind of control remote software upgrade-system of video monitoring system
Technical field
The present invention relates to a kind of control remote software upgrade-system of video monitoring system, particularly relate to the method for upgrading software of the digital signal processor of video control system, for video monitoring.
Background technology
In recent years, the development that video monitoring system has experienced a plurality of stages develops, and has formed the third generation product of the system of web camera and video server fully digitalization.In this course, although video monitoring system and equipment are greatly improved on function and performance, still be subject to the restriction of some intrinsic factors, wherein software maintenance work seems particularly outstanding.The control function completed due to video monitoring system is complicated, the image data amount is large, parameter control system is subject to the outside impact as temperature, atmospheric pressure change and external disturbance and vibration, all needs regularly software to be safeguarded.At present, the software maintenance for video monitoring system all needs the technician at the exploration scene or transports equipment back research and development debugging place to complete.Yet in the zone of living away from the people, such as forest fire protection, coast defence etc., cause maintenance cost very high due to the environment for use major part in a lot of industry, national defense applications field devices.Complete better monitor task in order to adapt to different monitoring of environmental, the functional change of software, parameter correction etc. become indispensable functional requirement.The manpower and materials cost of safeguarding for reducing bottom software, the bottom control system software remote upgrade be necessary.
Summary of the invention
The object of the present invention is to provide a kind of control remote software upgrade-system of video monitoring system, circuit and the software thereof that a kind of digital signal processor (DSP) TMS320F28335 based on TI company is core, it adopts outside FLASH(flash memory) storer start-up routine moving software code to internal RAM (random access memory) move, after making the calling program operation, outside FLASH storer is read-write operation and the operation of not impact program arbitrarily, to realize the maintenance upgrade of bottom software; It is different from conventional inside FLASH storer and starts, and need to be designed interlock circuit and key configuration file, program start-up code.
Technical scheme of the present invention is achieved in that a kind of control remote software upgrade-system of video monitoring system, digital signal processor TMS320F28335, the miniature toggle switch of four-way, FPGA programmable logic device (PLD) XC3S400, ethernet communication chips W 5300 and FLASH storer S29AL008J, consists of; It is characterized in that: external communication interface is Ethernet interface, by the instruction of Ethernet interface receiving remote and data and return to related data or state; Data line, address wire, read-write, chip selection signal, the look-at-me that digital signal processor TMS320F28335 connects is connected respectively on the FPGA programmable logic device and on the FLASH storer, by other peripheral components of decoded operation of FPGA programmable logic device; One end of each passage of the miniature toggle switch of four-way is GPIO84, GPIO85, GPIO86, the GPIO87 pin of linking number word signal processor TMS320F28335 respectively, and an other end connects 10 ohm pull down resistance to earth signal.
Described data line is 16 position datawire XD15~XD0; Address wire is low 12 bit address line XA11~XA0; Read signal is XRD, and write signal is XWR; Chip selection signal is XZCS0, XZCS6, XZCS7; Look-at-me is used the TMS320F28335 external interrupt; For outside FLASH storer Starting mode, need to revise CMD configuration file and the design assembly code relevant to startup in TMS320F28335 software.
The IO of described FPGA programmable logic device (PLD) connects respectively chip selection signal, the data line of ethernet communication chips W 5300, address wire, chip selection signal, the look-at-me of FLASH storer, the FPGA programmable logic device can pass through DSP parallel data Instruction decoding, read and write the ethernet communication chip and outside chip selection signal XZCS6, the choosing of XZCS7 alternative connection FLASH memory chip are set, when XZCS6 connects the choosing of FLASH memory chip, the program area that the FLASH storer is digital signal processing, connect the choosing of FLASH memory chip.
Data line, address wire, chip selection signal, read-write, the look-at-me of described too Network Communication chips W 5300 are connected to the FPGA programmable logic device; DSP, by the FPGA programmable logic device, W5300 is carried out to reading and writing data and host computer communicates, and receives external command and data.
Described FLASH storer S29AL008J is the data-carrier store of 16 bit wides of 512K byte; The data line of this storer, address wire, read-write are connected with DSP respectively; Chip selection signal is connected to the FPGA programmable logic device.
Described system starting process is as follows: the rear state transition according to the start-up mode pin that powers on carries out the program startup to the external memory storage addressing, and now external memory storage is by program area chip selection signal gating; Program is moved executable code to internal RAM after starting, in RAM, carry out internally; Send upgrade by host computer, now external memory storage is by data field chip selection signal gating; Digital signal processor enters upgrade status, and host computer sends .HEX form upgrade code, and this code is converted by the HEX2000 instrument by the .OUT obtained after software translating and .MAP file; After code data has been collected, digital signal processor writes data in the external memory storage of data field chip selection signal gating; Started run time version after restarting.
The relation of described hardware circuit each several part is: FPGA is as the expanding element of digital signal processor, carry out decoding according to the state of outside 16 position datawires of digital signal processor and 12 bit address lines and read-write, Ethernet chip W5300 is read or data writing, complete the transmission-receiving function of ethernet communication; And select the chip selection signal of the outside FLASH storer of signal gating according to which outer plate that networking command arranges digital signal processor, when electrifying startup, outside FLASH storer is as the program area of digital signal processor, and, in remote upgrade procedure, outside FLASH storer is as the data field of digital signal processor.
Good effect of the present invention be realized transformation that control system circuit and bottom start software make its completed easily bottom software secondary development, comprise the modification of program code and the online modification of key parameter; This scheme implementation cost is low, easy and simple to handle, thereby solved in background technology, the software maintenance difficulty is large, the high in cost of production problem, only need to send related command and data at the remote network control end, make it under complex environment, the software maintenance work be restricted apply and there is realistic meaning.
The accompanying drawing explanation
fig. 1 is hardware circuit connection diagram of the present invention.
fig. 2 is software startup process flow diagram of the present invention.
fig. 3 is remote software upgrading process flow diagram of the present invention.
Embodiment
below in conjunction with accompanying drawing, the present invention will be further described: as shown in Figure 1,a kind of control remote software upgrade-system of video monitoring system, be comprised of digital signal processor TMS320F28335, the miniature toggle switch of four-way, FPGA programmable logic device (PLD) XC3S400, ethernet communication chips W 5300 and FLASH storer S29AL008J; It is characterized in that: external communication interface is Ethernet interface, by the instruction of Ethernet interface receiving remote and data and return to related data or state; Data line, address wire, read-write, chip selection signal, the look-at-me that digital signal processor TMS320F28335 connects is connected respectively on the FPGA programmable logic device and on the FLASH storer, by other peripheral components of decoded operation of FPGA programmable logic device; One end of each passage of the miniature toggle switch of four-way is GPIO84, GPIO85, GPIO86, the GPIO87 pin of linking number word signal processor TMS320F28335 respectively, and an other end connects 10 ohm pull down resistance to earth signal.
Described data line is 16 position datawire XD15~XD0; Address wire is low 12 bit address line XA11~XA0; Read signal is XRD, and write signal is XWR; Chip selection signal is XZCS0, XZCS6, XZCS7; Look-at-me is used TMS320F28335 external interrupt 1; For outside FLASH storer Starting mode, need to revise CMD configuration file and the design assembly code relevant to startup in TMS320F28335 software.
Second and third channel during described four-way toggle switch connects is allocated to the connection pull down resistor makes the start-up mode pin of digital signal processor TMS320F28335 be respectively GPIO84 high level, GPIO85 low level, GPIO86 low level, GPIO87 high level, is about to digital signal processor and is set to outside XINTF16 position start-up mode; Under this pattern, after the digital signal processor electrifying startup, can automatically jump to outside addressing space executive routine code.
As shown in Figure 2, the startup flow process of video monitoring system dsp controller software is: after electrification reset, the controller start-up routine is according to the Determines start-up mode of specific four the IO mouths in outside (GPIO84, GPIO85, GPIO86, GPIO87), design circuit is pulled to the 3.3V high level by GPIO84 and GPIO87, and GPIO85 and GPIO86 are pulled down to the 0V low level.Under this pattern, program can jump to the first place in the ZONE6 district that is positioned at address 0x100000 and put.After redirect, execution is forbidden to house dog, program redirect and program move code.Code is moved to internal RAM, and program code is carried out.
Redirect assembly routine design after the startup of described digital signal processor TMS320F28335 software; at first this program judges whether the house dog register enables after starting; close the register protection if do not enable; make register addressable and arrange and to forbid the house dog operation, and jump to code and move program address.First place in the ZONE6 district is put and jumped to assembly code and the house dog that house dog forbids and forbid that code is added in the DSP2833x_CodeStartBranch.asm file and adds in engineering.
The code of described digital signal processor TMS320F28335 software is moved the assembly routine design, the entrance of this program need to be inputted three variate-values, respectively that start address, operational objective start address and code length are moved in guiding, three variablees are inputted when .CMD file .text section arranges boot parameter, when operation, program is carried out Code copying according to these three parameters, and the code of outside FLASH storer is moved to internal RAM.Program code is moved to assembly routine to be added in the DSP28xxx_SectionCopy_nonBIOS.asm file and to add in engineering; The CMD configuration file is modified according to outside FLASH start-up mode, and the ZONE6 district is pointed in the program segment position.After each dsp controller starts, all code can be moved in internal RAM and moved.While needing remote upgrade, to the write operation of outside FLASH storer, can not affect the operation of program.Use CCS programming tool composing software engineering, obtain .OUT and .MAP output file.
The .OUT file destination generated after described digital signal processor TMS320F28335 software translating need to convert the .HEX file to, could pass through the code data in the communication interface Transmit message.Crossover tool is HEX2000.EXE, and CMD command file and the HEX2000.EXE instrument that need to write input/output format call the .BAT file; This document has defined input file title and output file title, and input file is .OUT file and the .MAP file after compiling, and output file is .HEX; The CMD command file has defined the output file bit wide, because digital signal processor instructions is 16, so be defined as 16 bit wide forms of output here; .BAT document definition HEX2000.EXE format conversion instrument and CMD command file title; Above file is placed on to same path, double-clicks the .BAT file and can complete conversion, obtain final ROMPaq code file.
As shown in Figure 3, the operating process of carrying out remote upgrade need be when digital signal processor works: digital signal processor and circuit thereof power on after operation, and operation host computer code transmits software, selects to need the .HEX file sent, and clicks and sends; Code transmits software and sends the upgrading order according to communication protocol by ethernet interface, digital signal processor sends instruction to FPGA according to order request, ZONE7 sheet choosing connection FLASH memory chip is selected to enter into upgrade status and return be ready to status code, now the FLASH storer is as the data field addressing space of digital signal processing; The host computer code transmits after software is received status code the HEX format code is sent to digital signal processor, and digital signal processor is kept in the data that receive in the RAM data field; The host computer code transmits software and sends the complete instruction of upgrading, digital signal processor will be temporarily stored in data programming in RAM in outside FLASH storer and return and upgrade successfully status code, restart digital signal processor, the program of new upgrading is moved to internal RAM and is moved.

Claims (6)

1. the control remote software upgrade-system of a video monitoring system, be comprised of digital signal processor TMS320F28335, the miniature toggle switch of four-way, FPGA programmable logic device (PLD) XC3S400, ethernet communication chips W 5300 and FLASH storer S29AL008J; It is characterized in that: external communication interface is Ethernet interface, by the instruction of Ethernet interface receiving remote and data and return to related data or state; Data line, address wire, read-write, chip selection signal, the look-at-me that digital signal processor TMS320F28335 connects is connected respectively on the FPGA programmable logic device and on the FLASH storer, by other peripheral components of decoded operation of FPGA programmable logic device; One end of each passage of the miniature toggle switch of four-way is GPIO84, GPIO85, GPIO86, the GPIO87 pin of linking number word signal processor TMS320F28335 respectively, and an other end connects 10 ohm pull down resistance to earth signal.
2. the control remote software upgrade-system of a kind of video monitoring system according to claim 1, is characterized in that described data line is 16 position datawire XD15~XD0; Address wire is low 12 bit address line XA11~XA0; Read signal is XRD, and write signal is XWR; Chip selection signal is XZCS0, XZCS6, XZCS7; Look-at-me is used the TMS320F28335 external interrupt; For outside FLASH storer Starting mode, need to revise CMD configuration file and the design assembly code relevant to startup in TMS320F28335 software.
3. the control remote software upgrade-system of a kind of video monitoring system according to claim 1, it is characterized in that the IO of described FPGA programmable logic device (PLD) connects respectively the chip selection signal of FLASH storer, the data line of ethernet communication chips W 5300, address wire, chip selection signal, look-at-me, the FPGA programmable logic device can pass through DSP parallel data Instruction decoding, read and write the ethernet communication chip and outside chip selection signal XZCS6 is set, the XZCS7 alternative connects the choosing of FLASH memory chip, when XZCS6 connects the choosing of FLASH memory chip, the program area that the FLASH storer is digital signal processing, connect the choosing of FLASH memory chip.
4. the control remote software upgrade-system of a kind of video monitoring system according to claim 1, is characterized in that data line, address wire, chip selection signal, read-write, the look-at-me of described too Network Communication chips W 5300 is connected to the FPGA programmable logic device; DSP, by the FPGA programmable logic device, W5300 is carried out to reading and writing data and host computer communicates, and receives external command and data.
5. the control remote software upgrade-system of a kind of video monitoring system according to claim 1, is characterized in that described FLASH storer S29AL008J is the data-carrier store of 16 bit wides of 512K byte; The data line of this storer, address wire, read-write are connected with DSP respectively; Chip selection signal is connected to the FPGA programmable logic device.
6. the control remote software upgrade-system of a kind of video monitoring system according to claim 1, it is characterized in that described system starting process is as follows: the rear state transition according to the start-up mode pin that powers on carries out the program startup to the external memory storage addressing, and now external memory storage is by program area chip selection signal gating; Program is moved executable code to internal RAM after starting, in RAM, carry out internally; Send upgrade by host computer, now external memory storage is by data field chip selection signal gating; Digital signal processor enters upgrade status, and host computer sends .HEX form upgrade code, and this code is converted by the HEX2000 instrument by the .OUT obtained after software translating and .MAP file; After code data has been collected, digital signal processor writes data in the external memory storage of data field chip selection signal gating; Started run time version after restarting.
CN 201310450790 2013-09-29 2013-09-29 Remote updating system for control software of video monitoring system Pending CN103473190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310450790 CN103473190A (en) 2013-09-29 2013-09-29 Remote updating system for control software of video monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310450790 CN103473190A (en) 2013-09-29 2013-09-29 Remote updating system for control software of video monitoring system

Publications (1)

Publication Number Publication Date
CN103473190A true CN103473190A (en) 2013-12-25

Family

ID=49798051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310450790 Pending CN103473190A (en) 2013-09-29 2013-09-29 Remote updating system for control software of video monitoring system

Country Status (1)

Country Link
CN (1) CN103473190A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103434613A (en) * 2013-08-20 2013-12-11 张晓荣 Manhole device with inspection hole
CN106469069A (en) * 2015-08-17 2017-03-01 中兴通讯股份有限公司 A kind of version upgrading method and system
CN110333890A (en) * 2019-06-28 2019-10-15 南京兆伏电力科技有限公司 The method that long-range programming solidifies FLASH data
CN111124433A (en) * 2018-10-31 2020-05-08 华北电力大学扬中智能电气研究中心 Program programming device, system and method
CN111443960A (en) * 2020-03-30 2020-07-24 四川鸿创电子科技有限公司 Multi-version loading program system and method
CN111506334A (en) * 2020-04-27 2020-08-07 湖北三江航天红峰控制有限公司 DSP chip program online upgrading method and system
CN111897556A (en) * 2020-06-29 2020-11-06 江苏柏勋科技发展有限公司 Video monitoring service system based on cloud computing

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103434613A (en) * 2013-08-20 2013-12-11 张晓荣 Manhole device with inspection hole
CN106469069A (en) * 2015-08-17 2017-03-01 中兴通讯股份有限公司 A kind of version upgrading method and system
CN106469069B (en) * 2015-08-17 2021-06-11 中兴通讯股份有限公司 Version upgrading method and system
CN111124433A (en) * 2018-10-31 2020-05-08 华北电力大学扬中智能电气研究中心 Program programming device, system and method
CN111124433B (en) * 2018-10-31 2024-04-02 华北电力大学扬中智能电气研究中心 Program programming equipment, system and method
CN110333890A (en) * 2019-06-28 2019-10-15 南京兆伏电力科技有限公司 The method that long-range programming solidifies FLASH data
CN111443960A (en) * 2020-03-30 2020-07-24 四川鸿创电子科技有限公司 Multi-version loading program system and method
CN111506334A (en) * 2020-04-27 2020-08-07 湖北三江航天红峰控制有限公司 DSP chip program online upgrading method and system
CN111897556A (en) * 2020-06-29 2020-11-06 江苏柏勋科技发展有限公司 Video monitoring service system based on cloud computing

Similar Documents

Publication Publication Date Title
CN103473190A (en) Remote updating system for control software of video monitoring system
CN101059695B (en) Programmatic access to controller construct and variable names
CN102650947A (en) Continuous increment over-the-air upgrade method of Android handheld equipment
CN104699591A (en) Reappearing method and device of test scenes
CN106708510A (en) Graphical configuration-based industrial intelligent camera software system structure and method
CN106027785A (en) Voice processing method and terminal
US20180357193A1 (en) Computing device and operation method
CN107179910A (en) The logic configuration method that a kind of online editing comes into force immediately
CN111159047A (en) Android equipment auxiliary debugging device with visual interface and operation method thereof
CN112528608B (en) Page editing method, page editing device, electronic equipment and storage medium
CN112464497A (en) Fault drilling method, device, equipment and medium based on distributed system
CN105988863A (en) Event processing method and device
CN203490689U (en) Control software remote upgrade system of video monitoring system
CN103581253A (en) Method for remote control, Web server and system for remote control
CN102662847B (en) System and method for program debugging of embedded system based on flash memory application
CN112579454B (en) Task data processing method, device and equipment
CN106569852A (en) Burning method and device
CN105117227A (en) Method and device for automatically generating code
CN104765704A (en) Movable communication device and electronic device
US8473892B1 (en) Computer aided design system and method
JP7380830B2 (en) Troubleshooting device and system, rule list generation method and program
CN106249666B (en) Online parameter adjusting system and method based on digital communication
CN104731992A (en) Distribution automation modeling method and distribution automation modeling device
CN114416533A (en) Artificial intelligence-based use case generation method and system for vehicle-mounted electronic product
CN109683960B (en) Register configuration method of electric port module and electric port module thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131225

WD01 Invention patent application deemed withdrawn after publication