Microcontroller real-time data transmission device and method

A micro-controller, real-time data technology, applied in the direction of electrical digital data processing, instruments, etc., can solve the problems that the online simulator is expensive, the instruction set simulator cannot simulate the hardware environment, and affects the running efficiency of high-real-time programs, and achieves Facilitate high real-time effects

Inactive Publication Date: 2013-10-02
上海太阳能电池研究与发展中心
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The instruction set simulator cannot simulate the real hardware environment; the resident monitoring software occupies system resources and affects the running efficiency of high-real-time programs; Complicated operation, not suitable for software development and debugging

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
  • Microcontroller real-time data transmission device and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The specific implementation manners of the present invention will be further described in detail below in conjunction with the drawings and examples.

[0018] A microcontroller real-time data transmission device in this embodiment is composed of three parts: a debugging target 1 , a protocol converter 4 and a debugging host 8 .

[0019] The debugging target includes a microcontroller running the program to be debugged, that is, the target microcontroller 2, the target microcontroller has an SPI interface 3, and the SPI interface has a DMA (Direct Memory Access) channel. The DMA channel can send the real-time data of the program variables in the memory through the SPI interface, so that the operating resources of the target microcontroller are not occupied.

[0020] The protocol converter 4 includes a microcontroller, namely the relay microcontroller 5. The relay microcontroller has an SPI interface 3 and an Ethernet communication module 6. The Ethernet communication can...

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 microcontroller real-time data transmission device and a microcontroller real-time data transmission method. The device comprises three parts including a debugging target, a protocol converter and a debugging host, wherein the debugging target comprises a target microcontroller for operating debugged program and is provided with an SPI (serial peripheral interface), in addition, the SPI is provided with a DMA (direct memory access) channel, the protocol converter comprises a relay microcontroller, the relay microcontroller is provided with an SPI and an Ethernet communication module, and the debugging host is a computer and is provided with an Ethernet card. The method comprises the following steps that the real-time data of program variables required in a memory of the debugging target is sent to the protocol converter by the SPI through the DMA channel, the protocol converter carries out protocol conversion on the received data, in addition, the data is transmitted to the debugging host through UDP/IP (user datagram protocol/Internet protocol) via the Ethernet, and the data is displayed to users after being processed by the debugging host and is stored into files.

Description

technical field [0001] The invention relates to a data transmission device and method for software development and debugging of an embedded system. Background technique [0002] Embedded systems are currently widely used in various fields of social economy. Microcontrollers are usually the core components of embedded systems. Common microcontrollers include PIC series, MSP430 series, and microcontrollers based on ARM (Advanced RISC Machines) architecture. , Microcontrollers integrated with DSP (Digital Signal Processing) and so on. In the research and development of embedded systems, software development occupies an increasingly important position, and in software development, debugging is a very critical step. Common debugging methods for microcontrollers include: instruction set simulator, resident monitoring software, JTAG emulator and online emulator. The instruction set simulator allows the user to complete some simple debugging on the computer, but because the instru...

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 Applications(China)
IPC IPC(8): G06F13/28
Inventor 孙雷章伟康马亮
Owner 上海太阳能电池研究与发展中心
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