CN106789210A - A kind of many DSP intelligent nodes on-line software updating methods based on CAN - Google Patents

A kind of many DSP intelligent nodes on-line software updating methods based on CAN Download PDF

Info

Publication number
CN106789210A
CN106789210A CN201611136095.5A CN201611136095A CN106789210A CN 106789210 A CN106789210 A CN 106789210A CN 201611136095 A CN201611136095 A CN 201611136095A CN 106789210 A CN106789210 A CN 106789210A
Authority
CN
China
Prior art keywords
dsp
intelligent nodes
product
software
host computer
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
CN201611136095.5A
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.)
No705th Research Institute Of China Shipbuilding Industry Corp
705th Research Institute of CSIC
Original Assignee
No705th Research Institute Of China Shipbuilding Industry Corp
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 No705th Research Institute Of China Shipbuilding Industry Corp filed Critical No705th Research Institute Of China Shipbuilding Industry Corp
Priority to CN201611136095.5A priority Critical patent/CN106789210A/en
Publication of CN106789210A publication Critical patent/CN106789210A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a kind of many DSP intelligent nodes on-line software updating methods based on CAN, the CAN on-line software updating method of system is guided based on Bootloader, by the autonomous match cognization pattern of multinode, realize and identification and software programming are automatically selected to multiple DSP by a CAN;Meanwhile, the software upgrading pattern of subpackage interaction is realized, break through limitation of original mode to software size.The workload and time loss caused due to dismounting product in software upgrade process are the method reduce, strong with autgmentability, operating method is simple, the advantages of security and stability is high.

Description

A kind of many DSP intelligent nodes on-line software updating methods based on CAN
Technical field
The present invention relates to a kind of many DSP intelligent nodes on-line software updating methods based on CAN, the method can produced (JTAG mouthfuls and emulator cannot be used) under the integrated state of product and realize ONLINE RECOGNITION and the software upgrading of many DSP intelligent nodes, tool Have the advantages that operating method is simple, autgmentability is strong, security and stability is high, it is adaptable to standard CAN bus, DSP embedding assemblies Distributed measurement and control system based on machine.
Background technology
According to product development for many years and working service experience, distributed measurement and control system internal each insertion after product is integrated Formula intelligent node still has software modification higher and the upgrading frequency, and traditional approach is disassembled after product directly to each DSP intelligence Node is upgraded, or the JTAG emulation interfaces of DSP are drawn into product to realize software upgrading, and the above method is increasing workload While with time loss, certain influence can be also produced on product reliability;Cannot realize under system integration state, by one Bar STD bus realizes the software upgrading to specifying DSP in multi-DSP distribution type system.
Multi-DSP distribution type TT&C system is specified in it cannot realize to system by a STD bus after product is integrated The software upgrading of DSP, it is necessary to product is disassembled after directly each node is individually upgraded, the method increase workload and when Between while consume, certain influence can be also produced on product reliability.
The content of the invention
The technical problem to be solved
In order to avoid the deficiencies in the prior art part, the present invention proposes that a kind of many DSP intelligent nodes based on CAN are soft Part online upgrading method.
Technical scheme
A kind of many DSP intelligent nodes on-line software updating methods based on CAN, it is characterised in that step is as follows:
Step 1:The programming mark of each DSP intelligent nodes is write in its in-chip FLASH particular address before product is integrated;
Step 2:The upper preceding XA14 pin configurations by all DSP intelligent nodes in product of electricity are low level after product is integrated, All DSP intelligent nodes are made to enter online programming pattern;
Step 3:It is connected to perform the host computer of online programming by the CAN interface outside product;
Step 4:Each DSP intelligent nodes identification XA14 pin configurations are soft to enter CAN passages after low level after electricity on product Part online upgrading pattern, the CAN interface demand required according to Bootloader using host computer online upgrading software is to each DSP intelligence Can node transmission bootstrap;
Step 5:Each DSP intelligent nodes receive bootstrap backed off after random Bootloader patterns, drawing in load operating RAM Helical pitch sequence, now host computer send intelligent node match information to each DSP intelligent nodes, DSP bootstrap is according to receiving Match information is matched with the programming mark in each DSP in-chip FLASHs particular address for reading, and the DSP that the match is successful enters Next step, remaining DSP exits the flow;
Step 6:Host computer receives after DSP sends the match is successful information and starts to send user program to slave computer, on Position machine to user program in every segment data carry out parsing transmission, the data segment larger for data volume carry out subpackage parsing and Interaction is sent to slave computer after location is redistributed, until the transmission of whole program is completed, the FLASH addresses that slave computer is received point With after requiring will on program Solidification to corresponding in-chip FLASH address, complete program burn writing after power off.
Beneficial effect
A kind of many DSP intelligent nodes on-line software updating methods based on CAN proposed by the present invention, the method is based on Bootloader guides the CAN on-line software updating method of system, by the autonomous match cognization pattern of multinode, realizes Identification and software programming are automatically selected to multiple DSP by a CAN;Meanwhile, realize the software liter of subpackage interaction Level pattern, breaks through limitation of original mode to software size.Reduce the work caused due to dismounting product in software upgrade process Measure and time loss, strong with autgmentability, operating method is simple, the advantages of security and stability is high, it is adaptable to all to can be used CAN carries out the DSP embedded computers of on-line software updating.
The features of the present invention:
1st, by the autonomous match cognization pattern of multinode realize by a CAN to the integrated state of product under it is many The identification and software upgrading of DSP intelligent nodes;
2nd, by the software upgrading pattern that upper and lower computer subpackage is interactive, DSP intelligent node CANs are breached To the limitation of software size under Bootloader modes;
3rd, after software upgrading is completed, all unmatched successful DSP intelligent nodes user softwares will not be modified, and protect The reliability of product is demonstrate,proved.
Brief description of the drawings
Fig. 1 is based on many DSP intelligent nodes on-line software updating method hardware interface figures of CAN
Fig. 2 is based on many DSP intelligent nodes on-line software updating method flow charts of CAN
Specific embodiment
In conjunction with embodiment, accompanying drawing, the invention will be further described:
, it is necessary to complete following three preparation before many intelligent node on-line software updatings of DSP are carried out:
A) the distinctive programming mark of each DSP intelligent nodes is write in its in-chip FLASH particular address before product is integrated;
B) the upper preceding XA14 pin configurations by all DSP intelligent nodes in product of electricity are low level after product is integrated, make institute There are DSP intelligent nodes to enter online programming pattern;
C) it is connected to perform the host computer of online programming by the CAN interface outside product.
The connection of its hardware is as shown in Figure 1.
After completing preparation, Software for Design is carried out as steps described below, flow chart is as shown in Figure 2:
(XA14 pin configurations are low electricity to the hardware state that each DSP intelligent nodes identification has been set after electricity on step one, product It is flat) enter CAN passage on-line software updating patterns, the CAN required according to Bootloader using host computer online upgrading software Interface requirements sends bootstrap to each DSP intelligent nodes;
Step 2, each DSP intelligent nodes complete the reception backed off after random Bootloader patterns of bootstrap, load operating Bootstrap in RAM, now host computer send intelligent node match information to each DSP intelligent nodes, DSP bootstrap according to The match information for receiving is matched with the programming mark in each DSP in-chip FLASHs particular address for reading, what the match is successful DSP enters next step on-line software updating flow, and remaining DSP exits the flow;
Step 3, host computer receive after DSP sends the match is successful information and start to send user program to slave computer, on Position machine to user program in every segment data carry out parsing transmission, the data segment larger for data volume carry out subpackage parsing and Interaction is sent to slave computer after location is redistributed, until the transmission of whole program is completed, the FLASH addresses that slave computer is received point With after requiring will on program Solidification to corresponding in-chip FLASH address, complete program burn writing after power off.

Claims (1)

1. a kind of many DSP intelligent nodes on-line software updating methods based on CAN, it is characterised in that step is as follows:
Step 1:The programming mark of each DSP intelligent nodes is write in its in-chip FLASH particular address before product is integrated;
Step 2:The upper preceding XA14 pin configurations by all DSP intelligent nodes in product of electricity are low level after product is integrated, make institute There are DSP intelligent nodes to enter online programming pattern;
Step 3:It is connected to perform the host computer of online programming by the CAN interface outside product;
Step 4:Each DSP intelligent nodes recognize XA14 pin configurations to exist into CAN passage softwares after low level after electricity on product Line upgrade mode, is intelligently saved according to the CAN interface demand that Bootloader is required using host computer online upgrading software to each DSP Point sends bootstrap;
Step 5:Each DSP intelligent nodes receive bootstrap backed off after random Bootloader patterns, the guiding journey in load operating RAM Sequence, to each DSP intelligent nodes, DSP bootstrap is according to the matching for receiving for now host computer transmission intelligent node match information Information is matched with the programming mark in each DSP in-chip FLASHs particular address for reading, and the DSP that the match is successful enters next Step, remaining DSP exits the flow;
Step 6:Host computer receives after DSP sends the match is successful information and starts to send user program, host computer to slave computer Every segment data in user program carries out parsing transmission, and the data segment larger for data volume carries out subpackage parsing and address weight Interaction is sent to slave computer after new distribution, until completing the transmission of whole program, the FLASH addresses distribution that slave computer is received will Powered off after program burn writing on program Solidification to corresponding in-chip FLASH address, being completed after asking.
CN201611136095.5A 2016-12-12 2016-12-12 A kind of many DSP intelligent nodes on-line software updating methods based on CAN Pending CN106789210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611136095.5A CN106789210A (en) 2016-12-12 2016-12-12 A kind of many DSP intelligent nodes on-line software updating methods based on CAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611136095.5A CN106789210A (en) 2016-12-12 2016-12-12 A kind of many DSP intelligent nodes on-line software updating methods based on CAN

Publications (1)

Publication Number Publication Date
CN106789210A true CN106789210A (en) 2017-05-31

Family

ID=58879766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611136095.5A Pending CN106789210A (en) 2016-12-12 2016-12-12 A kind of many DSP intelligent nodes on-line software updating methods based on CAN

Country Status (1)

Country Link
CN (1) CN106789210A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218404A (en) * 2018-08-10 2019-01-15 贵州航天控制技术有限公司 One kind uploading method for down loading based on CAN bus DSP program or coefficient
CN109725621A (en) * 2017-10-27 2019-05-07 北京精密机电控制设备研究所 A kind of secondary bus program based on 1553B bus and CAN bus is in line writing method
CN111045734A (en) * 2019-11-19 2020-04-21 中国航空工业集团公司西安航空计算技术研究所 Software and hardware program one-key curing system and method based on IMA platform
CN111240711A (en) * 2019-12-28 2020-06-05 中国船舶重工集团公司第七一七研究所 DSP software updating method for photoelectric equipment integrated control circuit
CN111240695A (en) * 2020-01-07 2020-06-05 中车株洲电力机车有限公司 Online programming method for suspension controller of medium-low speed maglev train
CN112162730A (en) * 2020-09-30 2021-01-01 北京特种机械研究所 DSP software design method for realizing multifunctional CAN bus communication

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495744A (en) * 2011-11-29 2012-06-13 湖南南车时代电动汽车股份有限公司 Control software upgrading method of electronic control devices of electric automobile based on controller area network (CAN) bus
CN103019788A (en) * 2012-12-14 2013-04-03 上海邮政科学研究院 Remote online upgrading method based on CAN (Controller Area Network) bus
CN103257869A (en) * 2012-12-14 2013-08-21 惠州市亿能电子有限公司 Method for intelligently downloading ECU (electronic control unit) programs
CN103559066A (en) * 2013-11-19 2014-02-05 上海创程车联网络科技有限公司 CANOPEN-protocol-based embedded software upgrading method
CN104216714A (en) * 2014-09-03 2014-12-17 东方电气(乐山)新能源设备有限公司 DSP (Digital Signal Processor) programming method based on CAN (Controller Area Network) bus
CN105573807A (en) * 2015-12-31 2016-05-11 清华大学苏州汽车研究院(吴江) ECU online program upgrading system and method based on CAN bus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495744A (en) * 2011-11-29 2012-06-13 湖南南车时代电动汽车股份有限公司 Control software upgrading method of electronic control devices of electric automobile based on controller area network (CAN) bus
CN103019788A (en) * 2012-12-14 2013-04-03 上海邮政科学研究院 Remote online upgrading method based on CAN (Controller Area Network) bus
CN103257869A (en) * 2012-12-14 2013-08-21 惠州市亿能电子有限公司 Method for intelligently downloading ECU (electronic control unit) programs
CN103559066A (en) * 2013-11-19 2014-02-05 上海创程车联网络科技有限公司 CANOPEN-protocol-based embedded software upgrading method
CN104216714A (en) * 2014-09-03 2014-12-17 东方电气(乐山)新能源设备有限公司 DSP (Digital Signal Processor) programming method based on CAN (Controller Area Network) bus
CN105573807A (en) * 2015-12-31 2016-05-11 清华大学苏州汽车研究院(吴江) ECU online program upgrading system and method based on CAN bus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109725621A (en) * 2017-10-27 2019-05-07 北京精密机电控制设备研究所 A kind of secondary bus program based on 1553B bus and CAN bus is in line writing method
CN109218404A (en) * 2018-08-10 2019-01-15 贵州航天控制技术有限公司 One kind uploading method for down loading based on CAN bus DSP program or coefficient
CN111045734A (en) * 2019-11-19 2020-04-21 中国航空工业集团公司西安航空计算技术研究所 Software and hardware program one-key curing system and method based on IMA platform
CN111045734B (en) * 2019-11-19 2023-09-01 中国航空工业集团公司西安航空计算技术研究所 IMA platform-based software and hardware program one-key curing system and method
CN111240711A (en) * 2019-12-28 2020-06-05 中国船舶重工集团公司第七一七研究所 DSP software updating method for photoelectric equipment integrated control circuit
CN111240711B (en) * 2019-12-28 2021-08-13 中国船舶重工集团公司第七一七研究所 DSP software updating method for photoelectric equipment integrated control circuit
CN111240695A (en) * 2020-01-07 2020-06-05 中车株洲电力机车有限公司 Online programming method for suspension controller of medium-low speed maglev train
CN111240695B (en) * 2020-01-07 2023-08-08 中车株洲电力机车有限公司 Online programming method for levitation controller of medium-low speed maglev train
CN112162730A (en) * 2020-09-30 2021-01-01 北京特种机械研究所 DSP software design method for realizing multifunctional CAN bus communication
CN112162730B (en) * 2020-09-30 2024-04-23 北京特种机械研究所 DSP software design method for realizing multifunctional CAN bus communication

Similar Documents

Publication Publication Date Title
CN106789210A (en) A kind of many DSP intelligent nodes on-line software updating methods based on CAN
CN105354070B (en) A method of passing through I2C updating apparatus firmware
CN106648803A (en) Online upgrading method for DSP chip
CN102999350A (en) FPGA (field-programmable gate array) program upgrading and online downloading method in digital signal processing platform
CN104345869B (en) Secure digital input/output unit, system and its control method
CN102279756A (en) CPLD (Complex Programmable Logic Device) firmware updating method
CN106406936A (en) FPGA program multi-version management apparatus and method
CN104679559A (en) Single chip microcomputer on-line programming method
CN106874054A (en) A kind of repeater inner module program on-line upgrading method and system
CN201514768U (en) On-line FLASH writer of FPGA control device
CN102043933A (en) SD (Secure Digital) card reader module with controllable operating state
CN102411539A (en) Method and system for online debugging external device of mobile phone
CN104484685B (en) A kind of method and system of bulk issue smart card
CN106444498A (en) Flight control computer of CPU board card pluggable replacement
CN105182210A (en) General interface of metering chip measurement device and implementation method of general interface
CN108469961A (en) One kind is based on micromation embedded platform remote update system and method
CN104461660A (en) Multi-mode dynamic loading method of heterogeneous system
CN109117205A (en) A kind of dual chip loading method based on MCU and FPGA
CN111756858A (en) Remote development processing system, method and device of embedded equipment
CN101561790B (en) Method, system and device for communication between main control computer and slave computers
CN105718396B (en) A kind of I of big data master transmissions2C bus units and its means of communication
CN206348778U (en) A kind of device of instrument program upgrading
CN108401038A (en) A kind of controller CAN bus address allocation processing method
CN100465904C (en) Emulator of contact type intelligent card with USB interface
CN102890661A (en) Host-slave communication protocol

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication