CN107977212A - Support the high speed cd-rom recorder of multiple communication modes - Google Patents
Support the high speed cd-rom recorder of multiple communication modes Download PDFInfo
- Publication number
- CN107977212A CN107977212A CN201711295410.3A CN201711295410A CN107977212A CN 107977212 A CN107977212 A CN 107977212A CN 201711295410 A CN201711295410 A CN 201711295410A CN 107977212 A CN107977212 A CN 107977212A
- Authority
- CN
- China
- Prior art keywords
- microprocessor
- spi
- interface
- port
- multiple communication
- 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 OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明属于汽车电子技术领域,尤其涉及一种用于汽车电子电路中的外围存储器件及主控芯片烧录,具体地说是涉及一种用于整车ECU(electronic control unit)中主控制器及外围存储芯片烧录的高速烧录器,它支持多种通讯协议的烧录方式。The invention belongs to the technical field of automotive electronics, and in particular relates to a peripheral storage device and a main control chip programming used in an automotive electronic circuit, in particular to a main controller used in a vehicle ECU (electronic control unit) It is a high-speed programmer for burning peripheral memory chips, which supports burning methods of various communication protocols.
背景技术Background technique
随着汽车工业的不断发展,汽车组合仪表的功能越来越丰富,其后期升级和检测次数也趋于增多,目前,汽车组合仪表的控制主板上,主控芯片及外围存储器件的烧录方式主要有以下3种:With the continuous development of the automobile industry, the functions of the automobile instrument cluster are becoming more and more abundant, and the number of later upgrades and inspections tends to increase. At present, the programming method of the main control chip and peripheral storage devices on the control board of the automobile instrument cluster There are mainly three types:
(1)离线烧录:存储芯片在SMT贴片之前进行烧录,但是这样后期测试和升级将难以实现。(1) Offline programming: The memory chip is programmed before SMT placement, but it will be difficult to achieve later testing and upgrading.
(2)半离线烧录:存储芯片在SMT贴片后,将SPI(Serial Peripheral Interface,串行外设接口)数据线和电源线引出以进行烧录,但是这种后期无拆卸升级也难以实现,并且接入电源容易使汽车组合仪表控制主板的MCU(Micro controller unit)产生自锁及启动异常的现象。(2) Semi-offline programming: After the memory chip is placed on the SMT, the SPI (Serial Peripheral Interface, Serial Peripheral Interface) data line and power line are drawn out for programming, but this kind of later upgrade without disassembly is also difficult to achieve , and connecting to the power supply is easy to cause the MCU (Micro controller unit) of the car instrument cluster control motherboard to self-lock and start abnormally.
(3)CAN总线烧录:通过CAN总线对存储芯片进行烧录,但是CAN总线的传输速率比较低,导致烧录的时间长。(3) CAN bus programming: The memory chip is programmed through the CAN bus, but the transmission rate of the CAN bus is relatively low, resulting in a long time for programming.
因此,现有技术中的烧录器所采用的烧录方式已无法满足汽车组合仪表控制主板上主控芯片及外围存储器件的烧写和升级,迫切的需要一种新型的烧录器来解决上述三种烧录方式所存在的问题。Therefore, the programming method adopted by the burner in the prior art has been unable to meet the programming and upgrading of the main control chip and peripheral storage devices on the control board of the automobile instrument cluster, and a new type of burner is urgently needed to solve the problem. The problems existing in the above three burning methods.
发明内容Contents of the invention
本发明的目的在于提供一种适用于汽车组合仪表的离线升级和装车后的在线升级且支持多种通讯方式的高速烧录器,该烧录器的烧写速率高且可支持多种通讯接口的烧录,完全适用于汽车组合仪表主控程序及资源程序的离线烧录和在线烧录。The purpose of the present invention is to provide a high-speed burner suitable for offline upgrade of automobile instrument cluster and online upgrade after loading and supporting multiple communication modes. The burner has a high programming rate and can support multiple communications The programming of the interface is completely suitable for the offline programming and online programming of the main control program and resource program of the automobile combination instrument.
为了实现上述目的,本发明采用的技术方案为,一种支持多种通讯方式的高速烧录器,包括PCB板(Printed Circuit Board,印刷电路板),所述PCB板上设有微处理器、内部存储芯片、电压转换模块、电源接口、SPI接口、CAN接口、外部信号触发按键,所述微处理器具有2组及2组以上的SPI信号线,所述内部存储芯片通过一组SPI信号线与微处理器相连,所述SPI接口通过其余的SPI信号线与微处理器相连,所述电压转换模块的输出端与微处理器以及内部存储芯片的电源端和地端相连,所述CAN接口与微处理器的CAN H/L端口相连,所述外部信号触发按键与微处理器的I/O口相连,所述电源接口连接电压转换模块的输入端。In order to achieve the above object, the technical solution adopted by the present invention is, a high-speed burner supporting multiple communication modes, including a PCB board (Printed Circuit Board, printed circuit board), said PCB board is provided with a microprocessor, Internal storage chip, voltage conversion module, power interface, SPI interface, CAN interface, external signal trigger button, the microprocessor has 2 or more sets of SPI signal lines, and the internal storage chip passes through a set of SPI signal lines Connected with the microprocessor, the SPI interface is connected with the microprocessor through the remaining SPI signal lines, the output terminal of the voltage conversion module is connected with the power supply terminal and the ground terminal of the microprocessor and the internal memory chip, and the CAN interface It is connected with the CAN H/L port of the microprocessor, the said external signal trigger button is connected with the I/O port of the microprocessor, and said power supply interface is connected with the input terminal of the voltage conversion module.
作为本发明的一种改进,所述PCB板上设有LED指示灯,所述LED指示灯与微处理器的I/O口相连;所述外部信号触发按键包括开始按键(start button)和停止按键(stopbutton)。As an improvement of the present invention, an LED indicator light is provided on the PCB, and the LED indicator light is connected to the I/O port of the microprocessor; the external signal trigger button includes a start button (start button) and a stop button. button (stopbutton).
作为本发明的一种改进,所述微处理器的一组SPI信号线包括SCLK端口、MOSI端口、MISO端口、CS端口和GND端口。As an improvement of the present invention, a set of SPI signal lines of the microprocessor includes a SCLK port, a MOSI port, a MISO port, a CS port and a GND port.
作为本发明的一种改进,所述微处理器采用型号为RH850D1L的微控制器,所述内部存储芯片的型号为MT25TL01G。As an improvement of the present invention, the microprocessor adopts a microcontroller whose model is RH850D1L, and the model of the internal storage chip is MT25TL01G.
作为本发明的一种改进,所述电压转换模块将5V电源转换成3.3V,电压转换模块采用型号为TLV1117的主控芯片进行设计。As an improvement of the present invention, the voltage conversion module converts the 5V power supply into 3.3V, and the voltage conversion module is designed with a main control chip whose model is TLV1117.
作为本发明的一种改进,所述微处理器上加载有Flash boot-Loader程序,运行Flash boot-Loader软件系统,所述Flash boot-Loader软件系统包括驱动层和逻辑应用控制层(简称“应用层”),所述应用层上封装了标准协议接口和基础的控制流程,所述驱动层则由必要的通讯驱动和外围设备控制驱动组成。As an improvement of the present invention, a Flash boot-Loader program is loaded on the microprocessor to run a Flash boot-Loader software system, and the Flash boot-Loader software system includes a driver layer and a logic application control layer (abbreviated as "application Layer"), the application layer encapsulates standard protocol interfaces and basic control processes, and the driver layer is composed of necessary communication drivers and peripheral device control drivers.
作为本发明的一种改进,所述驱动层上设有SPI、CAN两种主流的通讯协议驱动,用于读写汽车组合仪表控制主板上带有此2种协议接口的外围存储器件。As an improvement of the present invention, the driver layer is provided with two mainstream communication protocol drivers of SPI and CAN, which are used to read and write peripheral storage devices with these two protocol interfaces on the control board of the automobile instrument cluster.
作为本发明的一种改进,为了了解程序升级或者芯片刷写过程中的运行状态,所述驱动层还包括GPIO控制驱动,用来控制PCB板上的LED指示灯,来明示当前系统的工作状态。As an improvement of the present invention, in order to understand the operating status of the program upgrade or chip flashing process, the driver layer also includes a GPIO control driver, which is used to control the LED indicator light on the PCB board to clearly indicate the current working status of the system .
作为本发明的一种改进,为了方便用户通过按键操作来控制系统的运行,所述驱动层还包括A/D模数转换的驱动,该驱动可以用来识别外部信号触发按键的按键电路,从而通知汽车组合仪表控制主板的MCU识别到用户的不同按键指令操作,来控制程序的升级或芯片刷写的流程。As an improvement of the present invention, in order to facilitate users to control the operation of the system through key operations, the driver layer also includes A/D analog-to-digital conversion drivers, which can be used to identify the key circuit of the external signal triggering the key, thereby Notify the MCU of the car combination instrument control board to recognize the user's different key command operations to control the process of program upgrades or chip flashing.
作为本发明的一种改进,所述应用层上封装了国际标准ISO-15765/ISO-14229的诊断协议规范中定义的标准指令接口。使得系统可以很好得移植到汽车组合仪表以及汽车其它ECU(electronic control unit)中实现软件及资源升级,系统具备很高的可移植性和复用性。As an improvement of the present invention, the application layer encapsulates the standard command interface defined in the diagnostic protocol specification of the international standard ISO-15765/ISO-14229. This enables the system to be well transplanted to automotive instrument clusters and other ECUs (electronic control units) for software and resource upgrades, and the system has high portability and reusability.
相对于现有技术,本发明所提出的支持多种通讯方式的高速烧录器整体结构设计巧妙,拆卸组装维修更换方便,成本较低,整个烧录器的结构简单,轻便,易于携带和操作,由于PCB板上设有2组及2组以上的SPI信号线,因此易于扩展出更多的SPI接口来实现高速烧录,另外,本高速烧录器支持具有SPI、CAN两种通讯方式的汽车组合仪表控制主板上的主控芯片及外围存储器件的烧写与升级,以便于汽车组合仪表的升级与维修,同时也提高了产品测试与研发的速率。Compared with the prior art, the overall structure design of the high-speed programmer supporting multiple communication modes proposed by the present invention is ingenious, easy to disassemble, assemble, repair and replace, and the cost is low. The structure of the entire programmer is simple, light, and easy to carry and operate , since there are 2 or more sets of SPI signal lines on the PCB, it is easy to expand more SPI interfaces to achieve high-speed programming. In addition, this high-speed programmer supports SPI and CAN communication methods. The car combination meter controls the programming and upgrading of the main control chip and peripheral storage devices on the main board, so as to facilitate the upgrading and maintenance of the car combination meter, and also improve the speed of product testing and development.
附图说明Description of drawings
图1为本发明优选实施例的电路结构框图。Fig. 1 is a block diagram of the circuit structure of the preferred embodiment of the present invention.
图2为本发明优选实施例的电压转换模块的电路图。FIG. 2 is a circuit diagram of a voltage conversion module in a preferred embodiment of the present invention.
图3为本发明优选实施例的烧录器与目标设备以及上位机的连接关系示意图。Fig. 3 is a schematic diagram of the connection relationship between the programmer, the target device and the host computer according to the preferred embodiment of the present invention.
图4为本发明优选实施例的烧录器自身升级的电路连接示意图。Fig. 4 is a schematic diagram of the circuit connection of the burner self-upgrading in the preferred embodiment of the present invention.
图5为本发明优选实施例的Flash boot-Loader软件系统的层次图。Fig. 5 is a hierarchy diagram of the Flash boot-Loader software system in the preferred embodiment of the present invention.
图6为本发明优选实施例的Flash boot-Loader软件系统升级流程图。FIG. 6 is a flow chart of upgrading the Flash boot-Loader software system in a preferred embodiment of the present invention.
具体实施方式Detailed ways
为了加深对本发明的理解和认识,下面结合附图对本发明作进一步描述和介绍。In order to deepen the understanding and recognition of the present invention, the present invention will be further described and introduced below in conjunction with the accompanying drawings.
如图1所示,给出了一种支持多种通讯方式的高速烧录器,包括PCB板,所述PCB板上设有微处理器RH850D1L、内部存储芯片MT25TL01G、电压转换模块、电源接口、SPI接口、CAN接口、外部信号触发按键,所述微处理器具有2组SPI信号线,所述内部存储芯片MT25TL01G通过一组SPI信号线与微处理器相连,所述SPI接口通过另一组SPI信号线与微处理器相连。其中,设置在微处理器与内部存储芯片之间的一组SPI信号线包括SCLK端口、MOSI端口、MISO端口、CS端口,而设置在微处理器与SPI接口之间的一组SPI信号线包括SCLK端口、MOSI端口、MISO端口、CS端口和GND端口。所述电压转换模块的输出端与微处理器以及内部存储芯片的电源端和地端相连,所述CAN接口与微处理器的CAN H/L端口相连,所述外部信号触发按键与微处理器的I/O口相连,所述电源接口连接电压转换模块的输入端。本高速烧录器适用于汽车组合仪表等ECU(electronic control unit)的离线升级和装车后的在线升级。As shown in Figure 1, a high-speed programmer supporting multiple communication methods is provided, including a PCB board, which is equipped with a microprocessor RH850D1L, an internal memory chip MT25TL01G, a voltage conversion module, a power interface, SPI interface, CAN interface, external signal trigger button, the microprocessor has 2 sets of SPI signal lines, the internal memory chip MT25TL01G is connected to the microprocessor through a set of SPI signal lines, and the SPI interface is connected to the microprocessor through another set of SPI The signal line is connected with the microprocessor. Wherein, a group of SPI signal lines arranged between the microprocessor and the internal memory chip include SCLK ports, MOSI ports, MISO ports, and CS ports, and a group of SPI signal lines arranged between the microprocessor and the SPI interface include SCLK port, MOSI port, MISO port, CS port, and GND port. The output terminal of the voltage conversion module is connected with the power supply terminal and the ground terminal of the microprocessor and the internal storage chip, the CAN interface is connected with the CAN H/L port of the microprocessor, and the external signal trigger button is connected with the microprocessor The I/O port of the power supply is connected to the input end of the voltage conversion module. This high-speed programmer is suitable for offline upgrade of ECU (electronic control unit) such as automobile instrument cluster and online upgrade after loading.
其中,如图2所示,所述的电压转换模块采用型号为TLV1117的主控芯片进行设计,可将5V电源转换成3.3V,从而为微处理器RH850D1L以及内部存储芯片MT25TL01G提供电源。在所述的电压转换模块的输出端和输入端之间设置有二极管,二极管的正极连接输出端,负极连接输入端。Among them, as shown in Figure 2, the voltage conversion module is designed with a main control chip model TLV1117, which can convert 5V power to 3.3V, thereby providing power for the microprocessor RH850D1L and the internal memory chip MT25TL01G. A diode is arranged between the output terminal and the input terminal of the voltage conversion module, the anode of the diode is connected to the output terminal, and the negative pole of the diode is connected to the input terminal.
所述PCB板上设有LED指示灯,所述LED指示灯用作烧录器的工作指示灯,将其与微处理器的I/O口相连,对其进行GPIO控制。所述外部信号触发按键包括开始按键和停止按键。高速烧录器使用时,通过对外部信号触发按键的操作来控制对汽车组合仪表控制主板的MCU程序的升级或芯片刷写的流程。An LED indicator light is arranged on the PCB board, and the LED indicator light is used as a working indicator light of the burner, which is connected with the I/O port of the microprocessor and controlled by GPIO. The buttons triggered by the external signal include a start button and a stop button. When the high-speed programmer is used, the process of upgrading the MCU program or chip flashing on the control board of the car instrument cluster is controlled by the operation of the external signal trigger button.
上述的微处理器中加载了Flash boot-Loader程序,可运行Flash boot-Loader软件系统,该软件系统包括驱动层和应用层,该软件系统是由一整套的Flash boot-Loader控制策略组成,该Flash boot-Loader程序精简了驱动层和应用层,设计体积控制在300KB以内,可以很好得移植到容量较小且成本较低的MCU(Micro controller unit)上。在应用层上封装了标准协议接口和基础的控制流程,驱动层则由必要的通讯驱动和外围设备控制驱动组成。另外,整体软件系统遵循了握手通讯的原则,该Flash boot-Loader软件系统需要同时运行在目标设备的系统上和烧录器的系统上。当有芯片资源或者程序升级需求时,由目标设备的系统和烧录器的系统的两套Flash boot-Loader软件系统进行握手通讯,通讯成功后,进入升级模式,进行软件升级。通讯失败后,系统反馈失败原因,并通知用户再次进行升级请求。升级流程图参见图6。Flash boot-Loader program is loaded in the above-mentioned microprocessor, can run Flash boot-Loader software system, this software system comprises driver layer and application layer, and this software system is made up of a whole set of Flash boot-Loader control strategy, this The Flash boot-Loader program simplifies the driver layer and application layer, and the design volume is controlled within 300KB, which can be well transplanted to MCU (Micro controller unit) with smaller capacity and lower cost. The standard protocol interface and basic control process are encapsulated on the application layer, and the driver layer is composed of necessary communication drivers and peripheral device control drivers. In addition, the overall software system follows the principle of handshake communication. The Flash boot-Loader software system needs to run on the system of the target device and the system of the burner at the same time. When there is a need for chip resources or program upgrades, the two sets of Flash boot-Loader software systems of the target device system and the programmer system perform handshake communication. After the communication is successful, enter the upgrade mode to perform software upgrades. After the communication fails, the system will feed back the cause of the failure and notify the user to request an upgrade again. Refer to Figure 6 for the upgrade flow chart.
如图5所示,所述驱动层包括SPI、CAN两种主流的通讯协议驱动,用于读写汽车组合仪表控制主板上带有此2种协议接口的外围存储器件,同时也可以包括IIC的通讯协议驱动,以用于读写汽车组合仪表控制主板上带有此种协议接口的外围存储器件。在微处理器的Flash boot-Loader软件程序控制中,SPI、CAN两种接口方式有着共同的升级流程,只是最终以不同的通讯协议来实现与目标设备的通讯和数据传输。至于选择何种接口方式来刷写升级取决于目标设备所处的场合。例如该目标设备为汽车组合仪表,当组合仪表处于生产阶段或者发货至汽车厂商的仓库时,如果要实现软件的快速升级,可以直接通过烧录器的SPI接口连接实现软件升级。当组合仪表已经装车后发往4S店,在不允许拆卸组合仪表产品的情况下,可以使用该烧录器的CAN接口直接连接车载OBD口中的CAN H/L 来实现软件和资源升级。为了了解程序升级或者芯片刷写过程中的运行状态,所述驱动层还包括GPIO控制驱动,用来控制PCB板上的LED指示灯,来明示当前系统的工作状态。另外,为了方便用户通过按键操作来控制系统的运行,所述驱动层还包括A/D模数转换的驱动,该驱动可以用来识别外部信号触发按键的按键电路,从而通知汽车组合仪表控制主板的MCU识别到用户的不同按键指令操作来控制程序的升级或芯片刷写的流程。在操作方式上,使用烧录器的外部信号触发按键的启动和停止按键来进行长/短 按、启动和停止等操作,并通过LED指示灯来指示当前的工作状态。所述应用层上封装了国际标准ISO-15765/ISO-14229的诊断协议规范中定义的标准指令接口,使得系统可以很好得移植到汽车组合仪表以及汽车其它ECU中实现软件及资源升级,系统具备很高的可移植性和复用性。As shown in Figure 5, the driver layer includes two mainstream communication protocol drivers of SPI and CAN, which are used to read and write the peripheral storage devices with these two protocol interfaces on the control board of the automobile instrument cluster, and can also include IIC at the same time. The communication protocol driver is used to read and write the peripheral storage device with this protocol interface on the control board of the automobile combination instrument. In the Flash boot-Loader software program control of the microprocessor, the two interface methods of SPI and CAN have a common upgrade process, but finally use different communication protocols to realize communication and data transmission with the target device. As for which interface method to choose for flashing and upgrading, it depends on the occasion where the target device is located. For example, the target device is an automobile combination meter. When the combination meter is in the production stage or delivered to the warehouse of the automobile manufacturer, if you want to realize rapid software upgrade, you can directly connect to the SPI interface of the programmer to realize the software upgrade. When the combination meter has been loaded and sent to the 4S store, if the combination meter product is not allowed to be disassembled, the CAN interface of the programmer can be used to directly connect the CAN H/L in the OBD port of the car to realize software and resource upgrades. In order to understand the operating status during program upgrade or chip flashing, the driver layer also includes a GPIO control driver, which is used to control the LED indicators on the PCB board to indicate the current working status of the system. In addition, in order to facilitate the user to control the operation of the system through button operations, the driver layer also includes A/D analog-to-digital conversion drivers, which can be used to identify the button circuit of the button triggered by an external signal, thereby notifying the car combination instrument control main board The MCU recognizes the user's different key command operations to control the process of program upgrades or chip flashing. In terms of operation mode, use the external signal of the programmer to trigger the start and stop buttons of the button to perform long/short press, start and stop operations, and indicate the current working status through the LED indicator. The application layer encapsulates the standard command interface defined in the diagnostic protocol specification of the international standard ISO-15765/ISO-14229, so that the system can be well transplanted to the automobile instrument cluster and other ECUs of the automobile to realize software and resource upgrades. It has high portability and reusability.
所述烧录器的PCB板的自身软件升级通过上位机实现,上位机通过USB转SPI模块连接PCB板的SPI接口。上位机与烧录器的电路连接方式参见图4。在将烧录器升级完成之后,便可以使用该烧录器来对大批量的目标设备(汽车组合仪表)进行软件和资源升级。The self-software upgrade of the PCB board of the burner is realized by the host computer, and the host computer is connected to the SPI interface of the PCB board through the USB to SPI module. Refer to Figure 4 for the circuit connection between the host computer and the programmer. After the burner is upgraded, the burner can be used to upgrade the software and resources of a large number of target devices (car instrument clusters).
如图3所示,该高速烧录器在使用时,与目标设备(汽车组合仪表)、5V电源、上位机和USB转SPI模块相连,具体是:上位机通过USB接口和USB转SPI模块相连,将USB转SPI模块上SPI接口的SPI信号线与高速烧录器的SPI接口相连。同时采用SPI信号线将目标设备的SPI接口与高速烧录器的SPI接口相连,或者通过CAN总线将目标设备的CAN接口与高速烧录器的CAN接口相连。高速烧录器的电源接口连接5V电源,通过电压转换模块将5V电源转换成3.3V给微处理器和内部存储芯片供电。As shown in Figure 3, when the high-speed programmer is in use, it is connected with the target device (car instrument cluster), 5V power supply, host computer and USB-to-SPI module, specifically: the host computer is connected to the USB-to-SPI module through the USB interface , Connect the SPI signal line of the SPI interface on the USB to SPI module with the SPI interface of the high-speed programmer. At the same time, use the SPI signal line to connect the SPI interface of the target device to the SPI interface of the high-speed programmer, or connect the CAN interface of the target device to the CAN interface of the high-speed programmer through the CAN bus. The power interface of the high-speed programmer is connected to a 5V power supply, and the voltage conversion module converts the 5V power supply into 3.3V to supply power to the microprocessor and internal memory chips.
然后,通过上位机将需要升级的程序通过USB转SPI模块转成SPI协议数据,烧录到高速烧录器的内部存储芯片中,具体是:上位机将目标程序和控制指令发送到USB转SPI模块上,通过该模块将目标程序和指令转换成SPI协议发送到高速烧录器的SPI接口上,上位机通知微处理器接受目标程序,并且存储到内部存储芯片上。然后高速烧录器便可以自行去通过Flash boot-Loader软件系统将程序再烧录到其它待升级的目标设备中。Then, through the host computer, convert the program to be upgraded into SPI protocol data through the USB to SPI module, and burn it into the internal memory chip of the high-speed programmer, specifically: the host computer sends the target program and control commands to the USB to SPI On the module, the target program and instructions are converted into SPI protocol and sent to the SPI interface of the high-speed programmer through this module, and the host computer notifies the microprocessor to accept the target program and store it on the internal memory chip. Then the high-speed programmer can reprogram the program to other target devices to be upgraded through the Flash boot-Loader software system.
当目标设备处于单组状态即离线未装车时,通过目标设备的SPI接口与烧录器的SPI接口相连,外部信号触发按键触发使微处理器执行烧录操作,将内部存储芯片的目标程序读取出,并通过SPI接口发送到目标设备的微处理器中,同样目标设备将目标程序通过SPI接口烧录到存储芯片中。由于SPI接口的传输速率可以达到8Mps,因此,系统烧录通常通过SPI协议,传输速率快,烧录执行的时间短。When the target device is in a single group state, that is, offline and not loaded, the SPI interface of the target device is connected to the SPI interface of the burner, and the external signal triggers the button to trigger the microprocessor to perform the burning operation, and the target program of the internal memory chip Read it out and send it to the microprocessor of the target device through the SPI interface. Similarly, the target device burns the target program into the memory chip through the SPI interface. Since the transmission rate of the SPI interface can reach 8Mps, the system programming is usually through the SPI protocol, the transmission rate is fast, and the programming execution time is short.
而当目标设备处于整车系统中时即在线装车时,通过DB9转OBD连接线将目标设备的CAN接口与烧录器的CAN接口相连,然后外部信号触发按键触发烧录器的微处理器对目标设备处理器的微处理器进行烧录,并发送指令使目标设备的微处理器将目标程序通过CAN协议发送到存储芯片上。And when the target device is in the vehicle system, that is, when it is loaded online, the CAN interface of the target device is connected to the CAN interface of the programmer through the DB9 to OBD cable, and then the external signal triggers the button to trigger the microprocessor of the programmer The microprocessor of the target device processor is burned, and an instruction is sent to make the microprocessor of the target device send the target program to the memory chip through the CAN protocol.
需要说明的是上述实施例,并非用来限定本发明的保护范围,在上述技术方案的基础上所作出的等同变换或替代均落入本发明权利要求所保护的范围。在权利要求中,单词“包含”不排除存在未列在权利要求中的元件。It should be noted that the above-mentioned embodiments are not used to limit the protection scope of the present invention, and equivalent transformations or substitutions made on the basis of the above-mentioned technical solutions all fall within the protection scope of the claims of the present invention. In the claims, the word "comprising" does not exclude the presence of elements not listed in the claims.
本发明方案所公开的技术手段不仅限于上述实施方式所公开的技术手段,还包括由以上技术特征任意组合所组成的技术方案。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。The technical means disclosed in the solutions of the present invention are not limited to the technical means disclosed in the above embodiments, but also include technical solutions composed of any combination of the above technical features. It should be pointed out that for those skilled in the art, some improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications are also regarded as the protection scope of the present invention.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711295410.3A CN107977212A (en) | 2017-12-08 | 2017-12-08 | Support the high speed cd-rom recorder of multiple communication modes |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711295410.3A CN107977212A (en) | 2017-12-08 | 2017-12-08 | Support the high speed cd-rom recorder of multiple communication modes |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107977212A true CN107977212A (en) | 2018-05-01 |
Family
ID=62009545
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711295410.3A Pending CN107977212A (en) | 2017-12-08 | 2017-12-08 | Support the high speed cd-rom recorder of multiple communication modes |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107977212A (en) |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109086055A (en) * | 2018-07-13 | 2018-12-25 | 武汉精测电子集团股份有限公司 | A kind of multi-channel parallel industry cd-rom recorder |
| CN109726161A (en) * | 2018-12-27 | 2019-05-07 | 海信(山东)空调有限公司 | A kind of data recording device and method |
| CN110716732A (en) * | 2019-10-25 | 2020-01-21 | 马瑞利汽车电子(广州)有限公司 | Device and method for upgrading automobile instrument UI and firmware program |
| CN111352638A (en) * | 2020-03-05 | 2020-06-30 | 广州市星翼电子科技有限公司 | Multifunctional cascade off-line burning method and system |
| CN112286566A (en) * | 2020-12-30 | 2021-01-29 | 延锋伟世通电子科技(南京)有限公司 | Automobile instrument differential upgrading method based on USB transmission |
| CN112596767A (en) * | 2020-12-16 | 2021-04-02 | 安徽阿瑞特汽车电子科技有限公司 | CAN burns record portable device |
| CN113138777A (en) * | 2021-04-09 | 2021-07-20 | 长芯盛(武汉)科技有限公司 | Low-cost universal multi-path programming device and programming method suitable for various programming protocols |
| CN113448596A (en) * | 2020-03-24 | 2021-09-28 | 上海汽车集团股份有限公司 | Vehicle controller flashing system and method and related equipment |
| CN113778470A (en) * | 2021-09-10 | 2021-12-10 | 湖南进芯电子科技有限公司 | Portable DSP (digital signal processor) burner based on JTAG (joint test action group) and burning method |
| CN113792000A (en) * | 2021-11-12 | 2021-12-14 | 南京沁恒微电子股份有限公司 | A microcontroller chip with multi-protocol communication interface peripherals and its operation method |
| CN113821216A (en) * | 2020-06-18 | 2021-12-21 | 神州龙芯智能科技有限公司 | SPI Flash maintenance design of embedded system |
| CN115794138A (en) * | 2022-12-05 | 2023-03-14 | 北京雅光谷信息系统有限公司 | A high-speed programming device for a security module |
| CN119906526A (en) * | 2025-03-31 | 2025-04-29 | 长沙市健科电子有限公司 | A method and device for upgrading vehicle controller firmware based on common IO port |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020046313A1 (en) * | 2000-08-30 | 2002-04-18 | Mcclure Robert | Expanded functionality protocol adapter for in-vehicle networks |
| CN203894742U (en) * | 2014-05-23 | 2014-10-22 | 成都易控汽车电子技术有限公司 | Programmer of automotive electric control unit (ECU) |
| CN104901877A (en) * | 2015-06-17 | 2015-09-09 | 燕山大学 | Multi-interface self-adaptive wireless heterogeneous network protocol conversion method and communication device |
| CN105426198A (en) * | 2014-09-09 | 2016-03-23 | 联创汽车电子有限公司 | Vehicle onboard double-control-chip system and auxiliary control chip program update method therefor |
| CN105760186A (en) * | 2015-12-31 | 2016-07-13 | 北京兆易创新科技股份有限公司 | Expandable modular multi-channel off-line programmer |
| CN106020870A (en) * | 2016-05-12 | 2016-10-12 | 浙江中科领航汽车电子有限公司 | System and method for quick upgrading of firmware of full liquid crystal instrument |
| CN206077440U (en) * | 2016-08-31 | 2017-04-05 | 天津七所高科技有限公司 | A kind of communication protocol converter |
| CN206133537U (en) * | 2016-09-30 | 2017-04-26 | 宁波格陆博科技有限公司 | Procedure download apparatus of singlechip is assisted to car |
| CN207851801U (en) * | 2017-12-08 | 2018-09-11 | 延锋伟世通电子科技(南京)有限公司 | Support the high speed cd-rom recorder of multiple communication modes |
-
2017
- 2017-12-08 CN CN201711295410.3A patent/CN107977212A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020046313A1 (en) * | 2000-08-30 | 2002-04-18 | Mcclure Robert | Expanded functionality protocol adapter for in-vehicle networks |
| CN203894742U (en) * | 2014-05-23 | 2014-10-22 | 成都易控汽车电子技术有限公司 | Programmer of automotive electric control unit (ECU) |
| CN105426198A (en) * | 2014-09-09 | 2016-03-23 | 联创汽车电子有限公司 | Vehicle onboard double-control-chip system and auxiliary control chip program update method therefor |
| CN104901877A (en) * | 2015-06-17 | 2015-09-09 | 燕山大学 | Multi-interface self-adaptive wireless heterogeneous network protocol conversion method and communication device |
| CN105760186A (en) * | 2015-12-31 | 2016-07-13 | 北京兆易创新科技股份有限公司 | Expandable modular multi-channel off-line programmer |
| CN106020870A (en) * | 2016-05-12 | 2016-10-12 | 浙江中科领航汽车电子有限公司 | System and method for quick upgrading of firmware of full liquid crystal instrument |
| CN206077440U (en) * | 2016-08-31 | 2017-04-05 | 天津七所高科技有限公司 | A kind of communication protocol converter |
| CN206133537U (en) * | 2016-09-30 | 2017-04-26 | 宁波格陆博科技有限公司 | Procedure download apparatus of singlechip is assisted to car |
| CN207851801U (en) * | 2017-12-08 | 2018-09-11 | 延锋伟世通电子科技(南京)有限公司 | Support the high speed cd-rom recorder of multiple communication modes |
Cited By (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109086055A (en) * | 2018-07-13 | 2018-12-25 | 武汉精测电子集团股份有限公司 | A kind of multi-channel parallel industry cd-rom recorder |
| CN109726161A (en) * | 2018-12-27 | 2019-05-07 | 海信(山东)空调有限公司 | A kind of data recording device and method |
| CN110716732A (en) * | 2019-10-25 | 2020-01-21 | 马瑞利汽车电子(广州)有限公司 | Device and method for upgrading automobile instrument UI and firmware program |
| CN110716732B (en) * | 2019-10-25 | 2023-11-21 | 马瑞利汽车电子(广州)有限公司 | Device and method for upgrading UI and firmware programs of automobile instrument |
| CN111352638A (en) * | 2020-03-05 | 2020-06-30 | 广州市星翼电子科技有限公司 | Multifunctional cascade off-line burning method and system |
| CN111352638B (en) * | 2020-03-05 | 2023-11-24 | 广州市星翼电子科技有限公司 | Multifunctional cascading offline burning method and system |
| CN113448596A (en) * | 2020-03-24 | 2021-09-28 | 上海汽车集团股份有限公司 | Vehicle controller flashing system and method and related equipment |
| CN113821216A (en) * | 2020-06-18 | 2021-12-21 | 神州龙芯智能科技有限公司 | SPI Flash maintenance design of embedded system |
| CN112596767B (en) * | 2020-12-16 | 2024-05-03 | 安徽阿瑞特汽车电子科技有限公司 | CAN burns record portable device |
| CN112596767A (en) * | 2020-12-16 | 2021-04-02 | 安徽阿瑞特汽车电子科技有限公司 | CAN burns record portable device |
| CN112286566A (en) * | 2020-12-30 | 2021-01-29 | 延锋伟世通电子科技(南京)有限公司 | Automobile instrument differential upgrading method based on USB transmission |
| CN113138777A (en) * | 2021-04-09 | 2021-07-20 | 长芯盛(武汉)科技有限公司 | Low-cost universal multi-path programming device and programming method suitable for various programming protocols |
| CN113138777B (en) * | 2021-04-09 | 2022-02-01 | 长芯盛(武汉)科技有限公司 | Low-cost universal multi-path programming device and programming method suitable for various programming protocols |
| CN113778470A (en) * | 2021-09-10 | 2021-12-10 | 湖南进芯电子科技有限公司 | Portable DSP (digital signal processor) burner based on JTAG (joint test action group) and burning method |
| WO2023082472A1 (en) * | 2021-11-12 | 2023-05-19 | 南京沁恒微电子股份有限公司 | Microcontroller chip containing multi-protocol communication interface peripheral and operation method therefor |
| CN113792000B (en) * | 2021-11-12 | 2022-02-25 | 南京沁恒微电子股份有限公司 | A microcontroller chip with multi-protocol communication interface peripherals and its operation method |
| CN113792000A (en) * | 2021-11-12 | 2021-12-14 | 南京沁恒微电子股份有限公司 | A microcontroller chip with multi-protocol communication interface peripherals and its operation method |
| CN115794138A (en) * | 2022-12-05 | 2023-03-14 | 北京雅光谷信息系统有限公司 | A high-speed programming device for a security module |
| CN119906526A (en) * | 2025-03-31 | 2025-04-29 | 长沙市健科电子有限公司 | A method and device for upgrading vehicle controller firmware based on common IO port |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107977212A (en) | Support the high speed cd-rom recorder of multiple communication modes | |
| CN103777972B (en) | System, configuration method based on field programmable gate array and upgrade method | |
| US8898349B1 (en) | IPMI over USB data transfer between host computer and baseboard management controller (BMC) | |
| CN105279127B (en) | A kind of FPGA program downloading systems and method based on PCI or PCIe buses | |
| CN104679559B (en) | The method of single-chip microcontroller online programming | |
| US9256569B2 (en) | Monitoring and managing storage drives and performing backplane controller firmware using a USB interface | |
| CN202956753U (en) | Programming device and programming system of flash memory chip in embedded system | |
| CN114138360B (en) | Multi-core programming starting method and system for DSP (digital Signal processor) on Flash | |
| CN104077166B (en) | EPCS and EPCQ memory online upgrading methods based on IP kernel in FPGA | |
| CN118409775B (en) | Firmware upgrade system, method, server device, program product and storage medium | |
| CN104731746A (en) | Equipment controller device | |
| WO2023160699A1 (en) | Single-board management system, method and apparatus, and device | |
| CN106406936A (en) | FPGA program multi-version management apparatus and method | |
| CN105372619A (en) | Safe chip power-down testing equipment | |
| CN102253844B (en) | Method and device for starting processor | |
| CN107748670A (en) | Electric automobile DC charging module controller program on-line upgrading system | |
| CN101178656A (en) | A method for parallel downloading of single-board software | |
| CN1804799A (en) | SCM online loading and updating method and system | |
| CN205620994U (en) | Embedded equipment processing apparatus | |
| CN206312126U (en) | A kind of server admin functional test plate | |
| CN207851801U (en) | Support the high speed cd-rom recorder of multiple communication modes | |
| CN207182186U (en) | A UI board with LED display and multifunctional interface | |
| CN1811480A (en) | Method and apparatus for real-time monitoring level signal | |
| CN205103653U (en) | Automobile controller data processing system | |
| CN115543359A (en) | Offline burning method and device |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180501 |