CN202887559U - Remote program debugger of STC single chip experiment box - Google Patents

Remote program debugger of STC single chip experiment box Download PDF

Info

Publication number
CN202887559U
CN202887559U CN 201220547266 CN201220547266U CN202887559U CN 202887559 U CN202887559 U CN 202887559U CN 201220547266 CN201220547266 CN 201220547266 CN 201220547266 U CN201220547266 U CN 201220547266U CN 202887559 U CN202887559 U CN 202887559U
Authority
CN
China
Prior art keywords
unit
interface unit
debugger
stc
experimental box
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.)
Expired - Fee Related
Application number
CN 201220547266
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.)
Zhejiang Shuren University
Original Assignee
Zhejiang Shuren University
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 Zhejiang Shuren University filed Critical Zhejiang Shuren University
Priority to CN 201220547266 priority Critical patent/CN202887559U/en
Application granted granted Critical
Publication of CN202887559U publication Critical patent/CN202887559U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The utility model discloses a remote program debugger of an STC single chip experiment box. The remote program debugger comprises a power supply unit, a microprocessor unit, a camera unit, a JTAG interface unit, an RS232 interface unit, a relay unit and an Ethernet interface unit, wherein the power supply unit is respectively connected with the microprocessor unit, the camera unit, the JTAG interface unit, the RS232 interface unit, the relay unit and the Ethernet interface unit; and the microprocessor unit is respectively connected with the camera unit, the JTAG interface unit, the RS232 interface unit, the relay unit and the Ethernet interface unit. A few of remote program debugging interfaces can be automatically turned on in a laboratory under an unattended condition, and a user can remotely log in a server in any place with a network, remotely downloads a hex file compiled by a program and examines an execution result of the program so as to autonomously finish related experiments. Therefore, the utilization rate of the STC single chip experiment box is improved, the autonomous learning ability and the practical ability of a student are improved, and the remote program debugger has great market application prospect.

Description

The teleprogram debugger of STC singlechip experimental box
Technical field
The utility model belongs to network communication field, relates to a kind of teleprogram debugger of STC singlechip experimental box.
Background technology
" Fundamentals of Mono-Chip Computers ﹠ Applications " course is a course that manipulative ability is extremely strong, can cultivate student's single-chip microcomputer engineering design and application ability, engineering thinking ability and problem-solving ability, possesses skills to use and the characteristics of directly obtaining employment.In the teaching process of " Fundamentals of Mono-Chip Computers ﹠ Applications " course, the student does experiment at the STC singlechip experimental box.The STC singlechip experimental box is take the single-chip microcomputer of STC Corporation as the core processor chip, is furnished with the modules such as 8 light emitting diodes, 6 common cathode charactrons, 4 * 4 matrix keyboards, 4 independent buttons, serial communication modular, analog-to-digital conversion module, hummer, D/A converter module.The student writes the C programmer of this experiment according to the hardware elementary diagram of content, software flow pattern and the STC singlechip experimental box of classroom experiment at KEIL software, and compiling generates the hex file.Adopt STC single-chip microcomputer download software by the serial ports of computing machine the hex file to be downloaded in the STC single-chip microcomputer.But in the field research process, the student only utilizes time in classroom to learn the training objective that some knowledge also do not reach course far away, need to utilize a large amount of time after school autonomous learnings.And the single chip computer experiment chamber resource of a lot of colleges and universities is nervous, basically is in the state of saturation operation, and the working time of the week can only be satisfied normal teaching, does not satisfy the student to the demand of experiment porch.In this limited time, the student can only do in the laboratory some simple experiments, lacks a large amount of practices, does not satisfy the target of cultivating student's product design ability far away.
Summary of the invention
The purpose of this utility model provides a kind of teleprogram debugger of STC singlechip experimental box.
For realizing above-mentioned purpose, technical solution adopted in the utility model is: the teleprogram debugger of the utility model STC singlechip experimental box comprises power supply unit, microprocessor unit, the camera unit, the jtag interface unit, the RS232 interface unit, relay unit and Ethernet interface unit, described power supply unit respectively with microprocessor unit, the camera unit, the jtag interface unit, the RS232 interface unit, relay unit is connected with the Ethernet interface unit, described microprocessor unit respectively with the camera unit, the jtag interface unit, the RS232 interface unit, relay unit, the Ethernet interface unit connects.
Further, the utility model also comprises server and STC singlechip experimental box, and server is connected with described Ethernet interface unit, and the STC singlechip experimental box is connected with described RS232 interface unit, relay unit respectively.
Compared with prior art, the beneficial effects of the utility model are mainly reflected in: the utility model is applied to the network communications technology on the teleprogram debugger of STC singlechip experimental box, the teleprogram debugger is by the single-chip microcomputer hex file of Ethernet interface interface unit reception from server, by RS232 interface unit and relay unit the hex file is downloaded in the STC single-chip microcomputer, check the program implementation effect by camera unit and RS232 interface unit.The utility model is innovated the Teaching of Single-computer Practice platform, further open single chip computer experiment, when unattended, some teleprogram debugging interfaces of laboratory automatic opening, the user is as long as just can telnet server in the place that network is arranged, the hex file of remote download program compilation is checked the program implementation effect, thereby utilizes this teleprogram debugger independently to finish related experiment.At present, also do not occur similar product on the home market, this product can allow the student deepen the study of " Fundamentals of Mono-Chip Computers ﹠ Applications " course, can improve the utilization factor of STC singlechip experimental box, improve students'autonomous study and put into practice manipulative ability, have larger market application foreground.
Description of drawings
Fig. 1 is the working state schematic representation of teleprogram debugger of the present utility model;
Fig. 2 is the structural representation of teleprogram debugger of the present utility model.
Embodiment
Below in conjunction with accompanying drawing the utility model is further described.
As shown in Figure 2, the teleprogram debugger 2 of the utility model STC singlechip experimental box comprises power supply unit, microprocessor unit, camera unit, jtag interface unit, RS232 interface unit, relay unit and Ethernet interface unit.Wherein, power supply unit is connected with microprocessor unit, camera unit, jtag interface unit, RS232 interface unit, relay unit and Ethernet interface unit respectively, and microprocessor unit is connected with camera unit, jtag interface unit, RS232 interface unit, relay unit and Ethernet interface unit respectively.
In the utility model, power supply unit is used to the normal operation power supply of teleprogram debugger 2.Power supply unit can use external 5V, the constant voltage dc source of 1A, and it can provide 5V and two kinds of voltages of 3.3V.The camera unit is used for gathering the video data of STC singlechip experimental box 1, uploads onto the server 3 by the Ethernet interface unit.The camera unit can adopt the serial ports camera module that is made of sensitive chip OV7648 and picture processing chip OV528.The jtag interface unit is used for realizing program download and the debugging of microprocessor unit.The RS232 interface unit is used for realizing communicating by letter of microprocessor unit and STC singlechip experimental box 1, downloads the hex file of STC single-chip microcomputer, receives the serial data of STC single-chip microcomputer.Relay unit is used for realizing the cold start-up of STC singlechip experimental box 1, powers on after the first power down.The Ethernet interface unit is used for realizing communicating by letter of microprocessor unit and server 3, the hex file of reception server 3, video and the serial data of forwarding STC monolithic cabinet 1.In the utility model, the Ethernet interface unit can adopt the HR911105A chip of Zhongshan City Hanren Electronics Co., Ltd.Microprocessor unit is for the treatment of the video data of camera unit, communicate by letter with server 3 by the Ethernet interface unit---receive video and the serial data of hex file and transmission STC singlechip experimental box 1, finish the download of STC Single Chip Microcomputer (SCM) program by RS232 interface unit and relay unit, and deposit various variablees and data cached, be the data processing centre (DPC) of teleprogram debugger 2.In the utility model, microprocessor unit can adopt the ARM Cortex-M3 flush bonding processor chip LM3S8962 of Texas Instruments.
As shown in Figure 1, the teleprogram debugger 2 of the utility model STC singlechip experimental box can at when work external STC singlechip experimental box 1 and server 3, also can be that the utility model self comprises STC singlechip experimental box 1 and server 3.Specifically, teleprogram debugger 2 of the present utility model utilizes the camera unit to gather the video information of STC singlechip experimental box 1, utilize the Ethernet interface unit of teleprogram debugger 2 to be connected with server 3, utilize the RS232 interface unit of teleprogram debugger 2 to be connected with relay unit with STC singlechip experimental box 1 and be connected.Wherein, server 3 is realized the issue of STC singlechip experimental box video and serial data by the hex file of internet network reception user side.Its specific works process is as follows: at first, the user in the bedroom or family by browser (such as IE, Firefox) access server 3.The user writes the C programmer of this experiment according to the hardware elementary diagram of the experiment content on the webpage, software flow pattern and STC singlechip experimental box at KEIL software, and compiling generates the hex file, and uploads this hex file to server 3 by the internet network.Server 3 receives student's hex file by the internet network, autostore on hard disk, and be transferred to the microprocessor unit of teleprogram debugger 2 by the Ethernet interface unit.Secondly, the microprocessor unit of teleprogram debugger 2 receives the hex file by the Ethernet interface unit, closes first the power supply of STC singlechip experimental box 1, again power-on by relay unit.After finishing cold start-up, the microprocessor unit of teleprogram debugger 2 downloads to the hex file in the STC single-chip microcomputer according to its download protocol by the STC single chip communication on RS232 interface unit and the STC singlechip experimental box 1.Then, STC singlechip experimental box 1 feedback download state and relevant serial data are to teleprogram debugger 2.The microprocessor unit of teleprogram debugger 2 gathers the video data of STC singlechip experimental box 1 by the camera unit, sends the video of STC singlechip experimental box 1 and serial data to server 3 by the Ethernet interface unit.At last, server 3 is presented at relevant information on the webpage after receiving download state signal, video and the serial data of remote download device 1 automatically.The user observes the results for video of feedback data and experimental box, judges whether to finish requirement of experiment.

Claims (2)

1. the teleprogram debugger of a STC singlechip experimental box, it is characterized in that: comprise power supply unit, microprocessor unit, camera unit, jtag interface unit, RS232 interface unit, relay unit and Ethernet interface unit, described power supply unit is connected with microprocessor unit, camera unit, jtag interface unit, RS232 interface unit, relay unit and Ethernet interface unit respectively, and described microprocessor unit is connected with camera unit, jtag interface unit, RS232 interface unit, relay unit, Ethernet interface unit respectively.
2. the teleprogram debugger of STC singlechip experimental box according to claim 1, it is characterized in that: also comprise server and STC singlechip experimental box, server is connected with described Ethernet interface unit, and the STC singlechip experimental box is connected with described RS232 interface unit, relay unit respectively.
CN 201220547266 2012-10-24 2012-10-24 Remote program debugger of STC single chip experiment box Expired - Fee Related CN202887559U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220547266 CN202887559U (en) 2012-10-24 2012-10-24 Remote program debugger of STC single chip experiment box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220547266 CN202887559U (en) 2012-10-24 2012-10-24 Remote program debugger of STC single chip experiment box

Publications (1)

Publication Number Publication Date
CN202887559U true CN202887559U (en) 2013-04-17

Family

ID=48078963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220547266 Expired - Fee Related CN202887559U (en) 2012-10-24 2012-10-24 Remote program debugger of STC single chip experiment box

Country Status (1)

Country Link
CN (1) CN202887559U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108171A (en) * 2018-01-18 2018-06-01 西南大学 A kind of mobile phone remote single chip compilation runtime

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108171A (en) * 2018-01-18 2018-06-01 西南大学 A kind of mobile phone remote single chip compilation runtime
CN108108171B (en) * 2018-01-18 2019-02-26 西南大学 A kind of mobile phone remote single chip compilation operating system

Similar Documents

Publication Publication Date Title
WO2020248811A1 (en) Online graphical programming system based on blockly and raspberry pi and method for using same
CN208314755U (en) A kind of artificial intelligence development platform and system
CN204348194U (en) A kind of single-chip microcomputer and experimental panel for programmable logic device
CN202887559U (en) Remote program debugger of STC single chip experiment box
CN200993840Y (en) USB single-chip computer simulating experimental instrument
CN108717285A (en) The programmable logic controller (PLC) programmed by built-in web
CN204480560U (en) A kind of SCM Based multifunctional learning experimental development board of multi
Angulo et al. Addressing low cost remote laboratories through federation protocols: Fish tank remote laboratory
CN205122047U (en) Portable singlechip experimental development device
CN206685022U (en) A kind of 51 single-chip microcomputer comprehensive training systems
CN209183101U (en) A kind of industrial network and field bus technique practical traning platform
CN106710396A (en) Micro-control system comprehensive practical training platform based on single chip microcomputer
CN204425402U (en) The shared network device of electronic whiteboard
Fu et al. Research and design of an intelligent fish tank system
CN202373024U (en) Intelligentized and networked student manager
CN203311703U (en) Integrated intelligent experiment box
CN204203853U (en) A kind of computer-aided control device
Wu Research on PLC Electrical Control Simulation Experimental Device Based on Internet of Things Technology
CN111476361B (en) Method for creating distributed artificial intelligence Internet of things
CN208257828U (en) Scientific instruments equipment operational monitoring sharing means
CN208240226U (en) A kind of network training education apparatus
CN202093719U (en) AVR (Automatic Voltage Regulation) embedded training platform
Jiayi et al. Research on the Reform of the Teaching System of Automation under the Background of Educational Informatization 2.0
CN201210294Y (en) Simple micro-controller simulating apparatus
Zhang et al. Research on Education Robot Control System Based on ESP32

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130417

Termination date: 20151024

EXPY Termination of patent right or utility model