Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A dual-core dsp firmware upgrade method and system based on CAN bus

A CAN bus and firmware upgrade technology, applied in the embedded field, can solve problems such as low efficiency, malicious theft of firmware upgrade programs, leakage of technical secrets, etc., to improve stability and reliability, prevent upgrade failure, and improve security. Effect

Active Publication Date: 2021-12-03
武汉高仕达电气有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the expansion of production scale, the amount of terminal equipment increases, the workload of firmware programming increases, and the efficiency is low
[0004] At the same time, there is no encryption function in the traditional firmware programming method, and the firmware upgrade program is easily stolen maliciously, resulting in the leakage of technical secrets

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A dual-core dsp firmware upgrade method and system based on CAN bus
  • A dual-core dsp firmware upgrade method and system based on CAN bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0028] On the one hand, the present invention provides a kind of dual-core DSP firmware upgrade method based on CAN bus, as figure 1 shown, including the following steps:

[0029] Step 1, the server sends a query command to the terminal device through the CAN bus to check whether the DSP core of the terminal device to be upgraded is running in BootLoader mode, if so, perform step 2, otherwise modify the upgrade flag of the DSP core to be upgraded, and restart the DSP core, make it run in BootLoader mode, and then perform step 2;

[0030] The server delays for a period of time, usually 2 seconds, waits for the DSP core to restart, and then sends a query command to the terminal device through the CAN bus again to che...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to a dual-core DSP firmware upgrade method and system based on CAN bus. The method includes determining the DSP core to be upgraded by a server, and issuing a flash password and a file password to be upgraded; the DSP core performs password verification, and feeds back the verification result ; If the verification is passed, the server notifies the DSP core to erase the specified flash sector, and at the same time divides the upgrade file into data packets and sends them to the terminal device; the terminal device writes the upgrade file data into the internal flash of the DSP core to complete the DSP core Firmware upgrade; judge whether another DSP core needs to be upgraded, and if necessary, the terminal device performs the transfer of the CAN bus control right, and then performs another DSP core upgrade; otherwise, end the terminal device DSP core upgrade. Through the CAN bus, the DSP core of the terminal device can be remotely updated and controlled without dismantling the terminal device, which is highly efficient; at the same time, encryption processing is performed during the update. Only when the password verification is correct, the firmware program in the DSP core can be used. be read and written, improving the security of the firmware program.

Description

technical field [0001] The invention relates to the field of embedded technology, in particular to a dual-core DSP firmware upgrade method and system based on CAN bus. Background technique [0002] Dual-core DSP internally contains two DSP cores. For complex systems, different system tasks can be allocated to different cores, with fine division of labor, and can optimally balance performance, power consumption and cost. [0003] The traditional firmware programming method is that the server and the terminal equipment are programmed through a one-to-one connection with the JLINK emulator. Every time a DSP core is programmed, a connector needs to be inserted and unplugged, and it is necessary to go deep into the workshop and disassemble the terminal equipment before it can be programmed. Upgrade each DSP core. With the expansion of production scale, the amount of terminal equipment increases, the workload of firmware programming increases, and the efficiency is low. [0004...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/65G06F8/61G06F21/31
CPCG06F8/63G06F8/65G06F21/31
Inventor 张智雄
Owner 武汉高仕达电气有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products