PL216043B1 - Debuger- programmer of microcontrollers - Google Patents
Debuger- programmer of microcontrollersInfo
- Publication number
- PL216043B1 PL216043B1 PL384093A PL38409307A PL216043B1 PL 216043 B1 PL216043 B1 PL 216043B1 PL 384093 A PL384093 A PL 384093A PL 38409307 A PL38409307 A PL 38409307A PL 216043 B1 PL216043 B1 PL 216043B1
- Authority
- PL
- Poland
- Prior art keywords
- programmer
- port
- microcontroller
- lines
- programming
- Prior art date
Links
- 101000746134 Homo sapiens DNA endonuclease RBBP8 Proteins 0.000 claims description 6
- 101000969031 Homo sapiens Nuclear protein 1 Proteins 0.000 claims description 6
- 102100021133 Nuclear protein 1 Human genes 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Description
Przedmiotem wynalazku jest debuger - programator mikrokontrolerów, przeznaczony do debugowania i programowania mikrokontrolerów za pomocą interfejsu szeregowego.The subject of the invention is a debugger - a microcontroller programmer, designed for debugging and programming microcontrollers via a serial interface.
Znany jest układ programatora wytwarzanego przez firmę Renesas. Programator ten jest podłączany z jednej strony do komputera PC poprzez jeden port COM, a z drugiej z programowanym/debugowanym mikrokontrolerem. W przypadku tego urządzenia, jeżeli po zaprogramowaniu mikrokontrolera dokonuje się debugowania należy zamknąć aplikację do programowania i uruchomić aplikację do debugowania ponieważ obie używają tego samego portu COM. Można też otworzyć aplikacje do programowania i debugowania na dwóch różnych portach COM ale wtedy zachodzi konieczność przekładania kabla łączącego komputer PC z układem UFPC z jednego portu COM na drugi. Obie sytuacje są bardzo uciążliwe przy uruchamianiu nowego układu mikrokontrolera, kiedy to zachodzi konieczność bardzo częstego przeprogramowania.The programmer circuit manufactured by the Renesas company is known. This programmer is connected on one side to the PC computer through one COM port, and on the other side to the programmed / debugged microcontroller. In the case of this device, if debugging is performed after programming the microcontroller, close the programming application and start the debugging application because both use the same COM port. You can also open programming and debugging applications on two different COM ports, but then it is necessary to move the cable connecting the PC with the UFPC system from one COM port to the other. Both situations are very troublesome when starting a new microcontroller system, when it is necessary to reprogram very often.
Uciążliwości tych jest pozbawiony debuger-programator według wynalazku wyposażony w komputer PC, składający się z programatora połączonego z mikrokontrolerem, przy czym wejście programatora jest połączone z multiwibratorem monostabilnym połączonym poprzez układ dopasowania napięć sprzężonym z portem komputera, którego drugi port jest sprzężony liniami poprzez układ dopasowania napięć z multiplekserem połączonym liniami z mikrokontrolerem.The debugger-programmer according to the invention, equipped with a PC computer, consisting of a programmer connected to a microcontroller, is devoid of these inconveniences, the programmer input is connected to a monostable multivibrator connected by a voltage matching circuit coupled with the computer port, the second port of which is coupled with lines by a matching circuit voltages with the multiplexer connected by lines to the microcontroller.
Przedmiot wynalazku jest uwidoczniony na rysunku, przedstawiającym układ debugera-programatora.The subject of the invention is presented on the drawing showing the debugger-programmer circuit.
Debuger - programator jest wyposażony w komputer PC i składa się z programatora PR połączonego liniami FWE i RS z mikrokontrolerem, przy czym wejście programatora PR jest połączone z multiwibratorem monostabilnym MM połączonym poprzez układ dopasowania napięć DPN1 sprzężonym liniami RXD1 i TXD1 z portem COM1 komputera PC, którego drugi port COM2 jest sprzężony liniami RXD2 i TXD2 poprzez układ dopasowania napięć DPN2 z multiplekserem MP połączonym liniami TXD i RXD z mikrokontrolerem.Debugger - the programmer is equipped with a PC computer and consists of a PR programmer connected by FWE and RS lines to a microcontroller, while the PR programmer input is connected to a MM monostable multivibrator connected through a DPN1 voltage matching circuit coupled with RXD1 and TXD1 lines with the COM1 port of the PC computer, the second COM2 port is coupled with the lines RXD2 and TXD2 through the voltage matching circuit DPN2 with the MP multiplexer connected with the lines TXD and RXD with the microcontroller.
W układzie według wynalazku nie istnieje przy tym potrzeba przekładania przewodów z jednego portu COM1 komputera PC do drugiego porty COM2, bądź naprzemiennego otwierania i zamykania aplikacji do programowania i komunikacji z mikrokontrolerem pracujących na tym samym porcie COM komputera PC. Układ programatora-debugera jest przezroczysty dla transmisji szeregowej zarówno w trybie debugowania jak i programowania. W stanie normalnym fizyczny port mikrokontrolera jest podłączony poprzez multiplekser MP do portu COM2 komputera PC. Komputer PC poprzez odpowiednią aplikację (np. terminalową) może wymieniać dane z działającym mikrokontrolerem. Można w ten sposób dokonywać debugowania. Aplikacja ta powinna pracować na tym porcie COM2 komputera PC.In the system according to the invention, there is no need to transfer the wires from one COM1 port of the PC to the other COM2 port, or to alternately open and close applications for programming and communication with the microcontroller working on the same COM port of the PC. The programmer-debugger circuit is transparent to serial transmission in both debugging and programming modes. In the normal state, the physical port of the microcontroller is connected via the MP multiplexer to the COM2 port of the PC computer. A PC computer, through an appropriate application (e.g. a terminal application), can exchange data with an operating microcontroller. You can debug this way. The application should run on this COM2 port of the PC.
W przypadku potrzeby wymiany oprogramowania mikrokontrolera - co przy uruchamianiu układu zdarza się bardzo często - wystarczy z drugiej aplikacji służącej do programowania, pracującej na porcie COM1, rozpocząć proces programowania. Układ po wykryciu aktywności na linii TXD1 - rozpoczęcie programowania - dokonuje automatycznego przełączenia fizycznego portu szeregowego mikrokontrolera z portu COM2-terminalowego/debugującego - na port COM1 - programujący. Programator PR wprowadza równocześnie mikrokontroler w tryb programowania poprzez wystawienie odpowiednich poziomów logicznych na linii lub liniach FWE - zezwolenie zapisu - oraz wygenerowanie sygnału RESET na linii RS. Po zakończeniu programowania i ewentualnej weryfikacji - ustanie aktywności linii TXD1 komputera PC - linie FWE wracają do swojego pierwotnego stanu i automatycznie generowany jest sygnał RESET na linii RS wprowadzający mikrokontroler w tryb normalnej pracy. Automatycznie też następuje przełączenie portu szeregowego mikrokontrolera z portu COM1 - programującego na port COM2 - terminalowy/debugujący i możliwe jest ponowne debugowanie lub wymiana danych pomiędzy komputerem PC a mikrokontrolerem.If you need to replace the microcontroller software - which happens very often when starting the system - it is enough to start the programming process from the second programming application, working on the COM1 port. The system, after detecting activity on the TXD1 line - starting programming - automatically switches the physical serial port of the microcontroller from the COM2-terminal / debugging port - to the COM1 - programming port. The PR programmer simultaneously puts the microcontroller into the programming mode by issuing appropriate logic levels on the FWE line or lines - write permission - and generating the RESET signal on the RS line. After the programming and possible verification is completed - the PC computer's TXD1 line ceases to operate - the FWE lines return to their original state and the RESET signal is automatically generated on the RS line, which introduces the microcontroller to the normal operation mode. The serial port of the microcontroller is automatically switched from the COM1 port - programming port to the COM2 port - terminal / debugging port, and it is possible to re-debug or exchange data between the PC and the microcontroller.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PL384093A PL216043B1 (en) | 2007-12-19 | 2007-12-19 | Debuger- programmer of microcontrollers |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PL384093A PL216043B1 (en) | 2007-12-19 | 2007-12-19 | Debuger- programmer of microcontrollers |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| PL384093A1 PL384093A1 (en) | 2009-06-22 |
| PL216043B1 true PL216043B1 (en) | 2014-02-28 |
Family
ID=42986428
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PL384093A PL216043B1 (en) | 2007-12-19 | 2007-12-19 | Debuger- programmer of microcontrollers |
Country Status (1)
| Country | Link |
|---|---|
| PL (1) | PL216043B1 (en) |
-
2007
- 2007-12-19 PL PL384093A patent/PL216043B1/en unknown
Also Published As
| Publication number | Publication date |
|---|---|
| PL384093A1 (en) | 2009-06-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20180181526A1 (en) | Virtual General Purpose Input/Output For A Microcontroller | |
| JP5128193B2 (en) | Device for determining host interface protocol and IC card including the same | |
| TWI694336B (en) | Bus system and detecting method thereof | |
| JP3782994B2 (en) | Computer bus architecture | |
| TWI590160B (en) | Firmware update | |
| CN107924171B (en) | Slave device, control method for slave device, and recording medium | |
| EP3732793A1 (en) | Io-link device | |
| JPH1069453A (en) | Programmable controller with extension unit | |
| US20180239737A1 (en) | Multipurpose adapter card and integration method therefor | |
| US9779047B2 (en) | Universal intelligent platform management interface (IPMI) host to baseboard management controller (BMC) communication for non-x86 and legacy free systems | |
| KR101058692B1 (en) | Multi-interface converter and its control method | |
| US20140075064A1 (en) | Information processing device | |
| US8055824B2 (en) | Interface unit for interfacing host unit and peripheral unit | |
| CN109558369A (en) | Control method, device, equipment and the system of multi -CPU list serial ports | |
| CN104850872B (en) | Transmit method, computer-readable medium and the label of data | |
| US10262174B1 (en) | Testing controllable cards | |
| CN109739673A (en) | A kind of register write protection method, logic device and communication equipment | |
| WO2019239648A1 (en) | Imaging device and endoscope | |
| US20090138692A1 (en) | Self describing line cards in network switch | |
| CN100585577C (en) | USB device, USB system and USB control method | |
| EP1673698A2 (en) | Communication steering for use in a multi-master shared resource system | |
| CN104251716B (en) | Media storage box detection device | |
| Seneviratne | Using Inputs and Outputs | |
| CN103838996A (en) | Computer system and method for operating computer system | |
| JP5432125B2 (en) | Civil engineering machinery / equipment with a microcomputer capable of writing individual information |