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

Simple programmer. 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

The programmer is a device made on a printed circuit board and connected via a parallel port to an IBM PC type computer. Programming is carried out by a special control program. The program is implemented as an application for WIN95WIN98.

The programmer can write the following types of microcircuits:

27C16(К573РФ5), 27C32, 27C64(К573РФ4), 27C128, 27C256(К573РФ8), 27C512.

Adjustment to the type of microcircuit is carried out by switches located on the programmer, as well as in the program.

Program description

The program is written in DELPHI3. Writing and reading LPT registers are written using assembler inserts, so the program will not work under WINNT and WIN2000. The necessary time intervals for the establishment and retention of the gates are set by performing a certain number of empty cycles.

Below is the appearance of the control program.

Simple programmer. Appearance of the control program
Rice. 1. Appearance of the control program

The file to be written to the ROM must be in a ready-made binary format. Recording starts at the address set in the Start Address field and ends either at the end of the file or when the address value exceeds the value set in the End Address field.

Programming order

1. Run the control program;

2. Select the type of microcircuit in the program from the list;

3. Select a file to write to ROM;

4. Set the switches on the board in accordance with the type of microcircuit;

5. Install a writable chip;

6. Apply power supply and programming voltage to the programmer;

7. Record.

Description of the device.

Schematic diagram of the programmer

The programmer is controlled through the LPT port, which consists of three registers:

Data register. D_LPT0-D_LPT7. Data is transferred through this register;

control register. -STROBE, -AUTOFD, -INIT, -SLCTIN. Signals in this register control data transfer;

input register. Through the input register, data is received from the ROM. Four bits of this register are used for reception - ERROR, SLCT, PE, -ACK.

DD1, DD2 (555IR22) - address registers

Registers DD1, DD2 are designed to set the address of the ROM. DD1 sets the least significant bits of the address, DD2 - the most significant ones. Writing to these registers occurs through the LPT data bus on the rising edge of the control strobes -AUTOFD and -INIT, respectively.

DD3 (555IR22) - register of control signals

The DD3 register is designed to generate strobes that control the operation of the ROM and the data bus (see table).

Address Name Strobe function
0 Not used -
1 Not used -
2 -PGM Write to ROM
3 OUT Connecting DD5 to ROM
4 -CS_ROM Write to ROM or select a crystal
5 -OE_ROM Setting the ROM to write / read data
6 INLOW_STR Connecting DD4.1 to LPT
7 INHIGH_STR Connecting DD4.2 to LPT

The control word is written to the register via the LPT data bus on the rising edge of the -SLCTIN control strobe.

DD4 (555AP5) - receive buffer

DD4 - two 4-bit buffers through which data is received from the ROM to the IBM PC. One accepts the low 4 bits of data, the other - the high ones. This division is made due to the fact that the LPT has only 5 input lines. Buffers are connected to LPT inputs by strobes inlow_str and inhigh_str of the control register DD3 (see table).

inlow_str inhigh_str LPT
0 0 Forbidden state
0 1 D0-D3
1 0 D4-D7
1 1 Undefined

DD5 (555IR22) - data register for writing

DD5 - 8-bit data register. This register sets the data to be written to the ROM. Data is written to it via the LPT data bus on the rising edge of the -STROBE control signal. The state of the output signals of this register depends on the strobe OUT of the control register DD3. When OUT=0, the data from the register is output to the ROM data bus, when OUT=1, the register outputs are in a high-resistance state.

Device design

There are two slots for installing chips on the programmer. One for ROM chips, the other for MK51 microcontrollers (the programming of microcontrollers has not been fully worked out, therefore this type of microcircuits is not in the control program). Ordinary DIP panels were used as landing pads.

The supply and programming voltages are connected to connector P2. The programming voltage should be set according to the technical requirements for each type of microcircuit.

Warning: Since the setting for the type of chips is carried out by switches, the device can be turned on only after installing the chip and setting the switches accordingly.

You can download the following files related to the project:
prog_sch.zip - electrical circuit archive in ACCEL P-CAD V15 format
prog_pcb.zip - PCB drawing archive in ACCEL P-CAD V15 format

Author: Sergey Rostovtsev, rmsergey@chuvashia.ru; Publication: cxem.net

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

Hydrogen peroxide as a medicine for ants 25.11.2023

A surprising phenomenon has been discovered in the ant kingdom: during a fungal infection, brown forest ants actively select food containing crushed aphids. The reason lies in the fact that aphids have an antiseptic substance that helps the ants cope with the disease.

The discovery that ants target aphids with hydrogen peroxide during a fungal infection highlights surprising mechanisms in nature. This research expands our understanding of ant-aphid interactions and also raises questions about the possible use of hydrogen peroxide in treating infections in the insect world.

A research team from the University of Graz, led by Jason Rissanen, conducted a study to find out whether brown forest ants are able to use hydrogen peroxide as a therapeutic agent. Ants exposed to the fungal pathogen preferred food containing a high concentration of crushed aphids, which increased their chances of recovery.

Scientists collected brown forest ants in Finland, infected half of them with a fungus and offered different food options with the addition of crushed aphids. Healthy ants preferred regular food, while infected ones actively chose options with aphids, which had a positive effect on their health. After recovery, the ants returned to their normal diet.

The study highlighted that ants are sensitive to detecting chemical compounds in food, which may indicate their ability to use hydrogen peroxide for medicinal purposes. Aphids, in turn, become unusual allies of the ants, providing them with nutritious syrup in exchange for protection and care.

Other interesting news:

▪ Solar panels on indium phosphide

▪ Smartphone LG Optimus Black

▪ Beet juice will fool mosquitoes

▪ Sony Reader Daily Edition e-book

▪ Self-charging phone

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ site section Lightning protection. Article selection

▪ article Editing in Canopus Edius Pro. Secrets known to all. video art

▪ article Where did Apollo get the lyre from? Detailed answer

▪ Stinky article. Legends, cultivation, methods of application

▪ article Preparatory work before wiring. Marking work. Encyclopedia of radio electronics and electrical engineering

▪ article Dry cleaning - stain removal by adsorption. Chemical experience

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