A remote debugging method and system for embedded firmware

A remote debugging and embedded technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve the problems of inconvenient code modification and low efficiency, and achieve the effect of simplifying the debugging process and easy to locate the problem.

Active Publication Date: 2021-04-06
NANJING QINHENG MICROELECTRONICS CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Purpose of the invention: In order to solve the problems of inconvenient code modification and low efficiency in the process of firmware upgrade and debugging in the prior art, the present invention provides a remote debugging method for embedded firmware

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 remote debugging method and system for embedded firmware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] An embedded firmware remote debugging system, including IDE (MounRiver Studio) and a remote control module,

[0025] The IDE is used to send instructions, receive and display the target module operation output results, receive code modification and generate a differential download file according to the code before and after modification, and the differential download file includes code modification address and modification content;

[0026] The remote control module includes a main control unit, a network unit and a burning unit, and the network unit and the burning unit are all connected to the main control unit; the burning unit is used for burning the target module; the main control unit, the network unit and the burning unit The unit is integrated in a circuit board module.

[0027] The IDE is connected to the network unit of the remote control module through the network. This embodiment uses a 4G network, and other networks can also be used. The programming unit o...

Embodiment 2

[0034] Compared with Embodiment 1, the difference between Embodiment 2 and Embodiment 1 is that the remote control module can also implement the control function by installing a customized APP on the smart terminal, that is, the main control unit is installed on the smart terminal (mobile phone, tablet computer, computer or embedded Since the smart terminal itself has its own network unit, there is no need to set up another network unit, and you can directly use the network function of the smart terminal. The communication between the smart terminal and the target module adopts BLE and serial port, or BLE and USB port to read the information of the target module and burn the target module. Except for this, other contents are the same as those in Embodiment 1.

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 invention discloses a method and system for remote debugging of embedded firmware. The system includes an IDE and a remote control module, and the IDE establishes a network connection with the remote control module; the IDE sends instructions to the remote control module to perform the step of collecting information. The information includes target module operation output information, firmware name and firmware integrity characteristic value; IDE sends instructions to the remote control module to perform differentiated download steps; loops to collect information steps and differentiated download steps until the target module operation output information reaches expectations ; The present invention does not require on-site debuggers to use specific tools for programming, which simplifies the debugging process; the return result after code execution can be seen directly on the IDE, without the need for on-site debuggers to feed back the running results according to the visual phenomenon of the target module, and it is easier to locate problems; The difference transmission and programming method with integrity verification is adopted to ensure the security of data network transmission and improve the debugging efficiency.

Description

technical field [0001] The invention belongs to the field of firmware debugging of embedded products, in particular to a method and system for remote debugging of embedded firmware. Background technique [0002] In the context of the rapid advancement of science and technology, traditional industries and high-tech are constantly colliding and merging, subtly affecting all aspects of contemporary people's lives. With the promotion of a series of cutting-edge applications and technologies such as smart speakers, civilian drones, smart wearable devices, autonomous driving, smart homes, and urban eye systems, the embedded industry has also ushered in new opportunities for development. [0003] Due to the needs of function changes or bug fixes, many embedded products will face the problem of firmware debugging and upgrading after being put into use for a period of time. During remote debugging, it is necessary to send the compiled complete output file to the platform where the b...

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): G06F11/36
CPCG06F11/362G06F11/3644G06F11/3664
Inventor 刘帅刘志斌
Owner NANJING QINHENG MICROELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products