Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

Universal programmer UNIPROG. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Microcontrollers

Comments on the article Comments on the article

By connecting the Uniprog programmer to an IBM-compatible computer via a printer connector, you can enter data not only into conventional ROM or microcontroller program memory, but also into programmable logic array (PLM) chips. The software (it is called Uniprog Plus) is built on the principle of an open architecture. Knowing the C language and using the built-in functions of the Uniprog Plus kernel, you can supplement it with your own programming or testing modules.

PRINCIPAL DIAGRAM OF THE PROGRAMMER

Due to the fact that the device consists of a large number of identical nodes, we will not give its entire schematic diagram. We restrict ourselves to a description of the circuits and the operation of its main blocks, as well as the order of their interaction with each other.

Uniprog is connected to the computer's LPT1 printer port. The data necessary for programming enters the device's register block, made on KR580VV55A microcircuits. All ports of these microcircuits (with the exception of one, which will be discussed below) are configured for output. The outputs of some registers are connected to the control inputs of the multifunctional switch, others - to similar inputs of DC voltage sources. The outputs of the switch and sources are connected in the required order to the outputs of the programmable microcircuit. Thus, it is possible, by computer commands, to form on these outputs any sequence of voltage levels necessary for programming.

Schematic diagram of the connection node of the block of registers with the computer is shown in Fig. 1 (positional designations of elements in this and subsequent diagrams are conditional). Many LPT1 circuits are used non-standard to ensure the correct order of data exchange. The exception is DATAt-DATA8, through which, through the DD2 shaper, the codes from the computer are sent to the data bus of the register block (the DO-D7 circuit). In which port and which KR580BB55A chip this information will be written depends on the code previously entered in the DD5 address register. The outputs of the two lower digits of this register are connected to the inputs of AO and A1 of the KR580VV55A microcircuits, and each of the higher ones is connected to the CS input of one of them. The write signal to DD5 is supplied via the AUTOFD circuit, and to the KR580VV55A ports - ON the IN IT circuit.

Universal programmer UNIPROG

The inputs of the KR580VV55A port, configured for input, are connected to the data bus of the programmable microcircuit, which makes it possible to read the code written to it and compare it with the required one. The DATA1 - DATA8 chains are unidirectional and cannot be used for reading. Therefore, the computer reads the byte output to the data bus of the register block under the influence of the SLCTIN signal. in two doses of four strokes. Using the DD1 multiplexer, controlled by the STROBE signal, they are connected in turn to the SLCT, PE, ACKNLG and BUSY circuits, through which the computer usually receives printer status signals.

Similarly, through the buffer element DD6, you can read the state of the eight least significant bits of the bus address of the programmable chip. This may be necessary if it has a 16-bit data bus or a multiplexed address/data bus. The work of DD6 is allowed by writing a logical 0 to the second bit of DD5.

The multifunction switch consists of two types of nodes. To control the data bus of the programmable microcircuit, there are eight switches assembled according to the scheme shown in Fig. 2, a. At a zero level not at the input of UPR1, depending on the signal of UPR2, the voltage of one of the logical TTL levels is applied to the corresponding bit of the data bus from the output of the switch. However, when a logic 1 is applied to the inputs of UPR2 and UPR1, the switched circuit is connected through the opened transistor VT1 to a programmable constant voltage source E. The diode V02, closing at a value of E less than the supply voltage of +5 V, protects the transistor VT1 from the flow of current in the opposite direction. In turn, the VD1 diode protects the READING circuit from voltages greater than 5 V. The node uses a powerful KT973A transistor capable of passing a pulsed current of up to 1 A, which is necessary, for example, for programming K556, K1556 series microcircuits.

Universal programmer UNIPROG

To control the address bus and most other outputs of a programmable microcircuit, such high currents are not required. Therefore, their switching node (there are 20 such nodes in total) is somewhat simpler (Fig. 2, b). If voltages with a logic level of 1 are simultaneously applied to the inputs of UPR2 and UPR0, both VT1 and the internal output transistor of element D1.2 will open, but resistor R3 will limit the current and prevent damage to the transistors. The READ circuits with elements VD1 and R4 are available only in the switches of the eight least significant bits of the address bus.

Four programmable voltage sources El-E4 are assembled according to the circuit shown in fig. 3. The E1 voltage is supplied through the switches to the address and data buses, the remaining three can be applied to any other outputs of the programmable microcircuit, including the power output.

Universal programmer UNIPROG

The digital-to-analog converter (DAC) on the DD2 chip, included non-standard, is controlled by the code coming from the register block. The control signal 2 turns the DAC on and off. and UPR1 connects capacitor C1 to its output. providing a smooth increase in the output voltage after turning on the DAC or an abrupt change in the code (sometimes this is necessary for proper programming). The source of exemplary (reference) voltage and supply voltage on the zener diodes VD1 and VD2 is common for all DACs.

The voltage from the DAC is supplied to the output of the source through a power amplifier made on the op-amp DA1 and transistors VT1-VT3. The latter must have a cutoff frequency of at least 20 MHz, which is necessary for the normal functioning of the feedback (and hence the stability of the output voltage) under variable load conditions that occur when working with some microcircuits. For example, the values ​​of the current consumed by PROM microcircuits of the K556 series. differ significantly when reading cells in which the codes OxFF and 0x00 are written.

The device board provides seats for panels for programmable microcircuits of the K556, K1556, 27xx, 28xx, 29xx, 8748 and 8749, 8x5x, and K155REZ series. The contact pads are connected in the required order to the outputs of the switches and programmable voltage sources. There is also a quartz resonator connected to the panels of those microcontrollers that require it when programming.

Some microcircuits, not mentioned above, can also be "laid" into existing panels, but it is more rational to use a specially provided connector, to which all the necessary circuits are connected. You can connect a board with a panel for any microcircuit, for example, in a PLCC package, to it.

SOFTWARE

The Uniprog Plus software package supplied with the device is a programming system for a wide variety of ROM, PLA, etc. It is an open system: the functions responsible for servicing a particular type of microchip are implemented by external loadable modules. For each of them, the execution of all operations for setting the programming modes and the actual programming provided in the corresponding module, as well as a set of control operations is provided.

Currently Uniprog Plus includes the following modules: ROM.ED - ROM editor; PAL.ED - PLM editor; 27XX.PRG - programming UV RPZU series 27xx, 573, K573; 2728.ADT - automatic detection of the type of microcircuits of the 27xx, 28xx, 29xx series;

RTXX.PRG - programming PROM with fusible jumpers series K556, KR556;

1556X.PRG - programming PLM series K1556;

RT1 .PRG - programming PLA series K556:

VE4X.PRG - programming of 874x series microcontrollers; VE51 .PRG - programming of microcontrollers of the 875x, КР1816, КР1830 series. 89xx;

28XX.PRG - programming FLASH-memory chips of 28xx, 29xx series; TEST.PRG - testing the programmer board.

Modules for programming P!C microcontrollers, serial (bit) PROMs and testing RAM microcircuits are under development.

The Uniprog Plus package includes the Uniprog Developer's Kit (more on that later), which allows you to create new programming modules yourself. In addition, Uniprog Plus can be connected to any user-defined converter programs that convert various forms of representing a ROM image into the form required for programming.

The on-screen version of the Uniprog Plus program performs the following operations:

  • working with files: creating/loading/saving an edit buffer, opening/compiling a file with a converter, etc.;
  • editing: undoing the last change, start/end/deselect, operations with "notebook", filling the block with a value, logical operations, search, various transitions. View and edit the contents of the programming buffer. Data can be optionally represented as an array of four-bit tetrads (low and high halves of a byte), bytes, words, or double words. Each array element is represented by the corresponding ASCII code character and a binary, octal, decimal, or hexadecimal number. When working with PLA, the content of the programming buffer is represented by a set of matrices AND, OR, NOT;
  • ROM type selection: The type is selected from the OSD menu. The nomenclature of programmable microcircuits corresponds to that specified in the configuration file. The Autodetect function attempts to determine the ROM type automatically;
  • actions with ROM: programming, various checks (for purity, the possibility of additional programming, matching with the contents of the buffer), erasing / writing a protection bit, etc.;
  • setting up modes and converters: setting programming modes, setting up the Uniprog Plus shell, connecting/editing converters Modes are set in a dialog that completely depends on the specific programming module, for example, there are 27 different options for UV PROM of the 18xxx series. If necessary, you can enable or disable write control and give arbitrary values ​​to all variables of the programming algorithm;
  • window operations: moving, scaling, opening, restoring, moving to the next, closing, expanding/arranging windows;
  • various operations: calculator, calling external utilities, information about Uniprog Plus.

The version of the program, the parameters of which are specified on the DOS command line, performs the same functions as the screen version, with the exception of interactive (viewing and editing data) and modifying the programming buffer. It can be useful when constantly working with the same type of ROM, allowing you to bypass the tedious operation of manually setting modes each time you start the program.

UNIPROG DEVELOPER'S KIT

As mentioned above, the user has the ability to create and connect to Uniprog Plus his own modules for programming and testing microcircuits, editing data for programming, automatic detection of the microcircuit type and configuration files. The Uniprog Developer's Kit will help him with this. A detailed description of all the features of this package would require too much space. Therefore, we will briefly dwell only on general principles.

On fig. 4 shows the interaction of the core of the Uniprog Plus program with modules prepared by the user. Inside the kernel are the main interfaces that interact with external (with respect to it) modules and data files, and other unchanging parts of the program that ensure its functioning.

Universal programmer UNIPROG

The "Programming" module - the actual program for writing data to a microcircuit, reading it, comparing it, etc. - implements the corresponding timing diagrams, taking into account all possible parameters of these processes. The user can develop his own module for the microcircuit he needs, without delving into the specific device of the programmer and using only the logical concepts of the data bus, address bus, control signals. To do this, the Uniprog Plus kernel has a number of standard functions that can be accessed from any module.

The "Editor" module is used to display on the monitor screen the contents of the programming buffer with data intended to be entered into the ROM or read from it. Most often, the binary editor supplied with the programmer for ROM with a linear structure and the PLA editor for logical matrices are sufficient. But if you want to create a ROM image on the screen in some unusual way, you will have to write your own editor. This task is difficult, but doable. The Uniprog Developer's Kit provides this capability.

The "Autodetection" module is also available to the user, which for many reasons is separated from the "Programming" module. And in the "Hint" module, you can put reference data related to modules of your own design.

The information necessary for the connection of all modules with the program core and related to specific types of programmable microcircuits is located in the configuration file, which the user can add and edit. The additional configuration file automatically stores data about the program settings made while working with it.

The ROM type is set manually by the user or determined using the "Autodetect" module. After that, the program selects the "Editor" and "Programming" modules needed to work with this type of ROM, and transfers the necessary parameters to them from the configuration file. The "editor" through the Uniprog Plus kernel displays the ROM image on the monitor screen and allows you to edit it using the keyboard and mouse. The "Programming" module controls the programmer through the kernel, ensuring that all necessary operations are performed.

In conclusion, it should be noted that the Uniprog Plus program is rapidly developing both in the direction of increasing the number of programming modules supplied with it, and in the direction of simplifying their independent development due to the "intellectualization" of the Uniprog Developer's Kit package.

Author: A.Zharov, Moscow

See other articles Section Microcontrollers.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Machine for thinning flowers in gardens 02.05.2024

In modern agriculture, technological progress is developing aimed at increasing the efficiency of plant care processes. The innovative Florix flower thinning machine was presented in Italy, designed to optimize the harvesting stage. This tool is equipped with mobile arms, allowing it to be easily adapted to the needs of the garden. The operator can adjust the speed of the thin wires by controlling them from the tractor cab using a joystick. This approach significantly increases the efficiency of the flower thinning process, providing the possibility of individual adjustment to the specific conditions of the garden, as well as the variety and type of fruit grown in it. After testing the Florix machine for two years on various types of fruit, the results were very encouraging. Farmers such as Filiberto Montanari, who has used a Florix machine for several years, have reported a significant reduction in the time and labor required to thin flowers. ... >>

Advanced Infrared Microscope 02.05.2024

Microscopes play an important role in scientific research, allowing scientists to delve into structures and processes invisible to the eye. However, various microscopy methods have their limitations, and among them was the limitation of resolution when using the infrared range. But the latest achievements of Japanese researchers from the University of Tokyo open up new prospects for studying the microworld. Scientists from the University of Tokyo have unveiled a new microscope that will revolutionize the capabilities of infrared microscopy. This advanced instrument allows you to see the internal structures of living bacteria with amazing clarity on the nanometer scale. Typically, mid-infrared microscopes are limited by low resolution, but the latest development from Japanese researchers overcomes these limitations. According to scientists, the developed microscope allows creating images with a resolution of up to 120 nanometers, which is 30 times higher than the resolution of traditional microscopes. ... >>

Air trap for insects 01.05.2024

Agriculture is one of the key sectors of the economy, and pest control is an integral part of this process. A team of scientists from the Indian Council of Agricultural Research-Central Potato Research Institute (ICAR-CPRI), Shimla, has come up with an innovative solution to this problem - a wind-powered insect air trap. This device addresses the shortcomings of traditional pest control methods by providing real-time insect population data. The trap is powered entirely by wind energy, making it an environmentally friendly solution that requires no power. Its unique design allows monitoring of both harmful and beneficial insects, providing a complete overview of the population in any agricultural area. “By assessing target pests at the right time, we can take necessary measures to control both pests and diseases,” says Kapil ... >>

Random news from the Archive

Eyes will tell you what number is hidden 07.01.2011

By the eyes you can understand what number a person has guessed. So say neurologists from the University of Melbourne (Australia).

The researchers asked the participants in the experiment to name in turn any number from 1 to 30 that came to their mind, and at the same time followed the movements of the subjects' eyes. They noticed that if a person is going to name a number less than the one named before, his gaze moves to the left down, if more - to the right up. Apparently, people at the same time imagine a chain of numbers going from left to right from smaller to larger.

Data from a video camera connected to a computer that tracked eye movements was processed by a special program that accurately measured the range of these movements, and as a result, experimenters could often even guess the intended number. But with a "simple eye", without the help of technology, one cannot follow these small movements.

In addition, the amplitude of eye movements when guessing numbers is different for each person, so before a guessing session, a "graduation" must be carried out. The origin of the participants in the experience also plays a role: in cultures where they write and read from right to left, the mental chain of numbers goes in the same direction.

Other interesting news:

▪ Egyptian bowling

▪ Powering wearable electronics with radio waves

▪ 512x512 audio channels over Ethernet

▪ The solar system was at the center of a dark matter hurricane

▪ Fujitsu RE25U300J external drive

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Standard instructions for labor protection (TOI). Selection of articles

▪ article A place in the sun. Popular expression

▪ article Why did the Italian Cardinal Giuseppe Mezzofanti learn a new language overnight? Detailed answer

▪ article The functional composition of Normende TVs. Directory

▪ article Solar heating. Encyclopedia of radio electronics and electrical engineering

▪ article Charger AMT TRAVEL ADAPTER for cell phone. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024