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

On the repair of microcomputers. 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 time of microprocessors of the 8080, 8085, Z-80 series, their domestic counterparts of the KR580, KM 1821, K1858 and other similar series has gone forever. However, many radio amateurs still use homemade or industrially manufactured microcomputers based on first generation microprocessors. The enterprises continue to operate CNC machines and other technological installations with controllers based on such microprocessors. All this equipment breaks down from time to time. The author of the article shares his experience in repairing microprocessor devices.

The most effective way to troubleshoot a microcomputer or microprocessor controller is to alternately replace the main LSIs (including the microprocessor and ROM) with known good ones. But if the LSI is soldered to the board, and not installed in the panel, the efforts expended on its dismantling with almost inevitable damage to the printed conductors often turn out to be useless if the culprit of the malfunction is a completely different microcircuit.

You can temporarily replace a "suspicious" microprocessor with a known good one without physically removing the first one from the device. It is enough to transfer its outputs to a passive high-impedance state, in which they are actually disconnected from the internal nodes of the microcircuit. This mode is provided in all microprocessors, it is intended primarily for organizing direct, without the participation of a microprocessor, data exchange between memory and input / output devices. For this reason, it is called DMA - direct memory access.

In most microcomputers, the DMA mode remains unused, and the signal input of the microprocessor bus transfer to the passive state is simply connected through a resistor to the power circuit. For K1858VM1, T34VM1, Z-80 microcircuits, this input is pin 25 (BUSRQ), for KR580VM80 it is pin 13 (HOLD). It is enough to connect it with a jumper to a common wire and the microprocessor will be turned off.

In parallel with the passive standard microprocessor, you must first connect the same known-good microprocessor by combining their outputs of the same name, with the exception, of course, of the transfer to the PMA mode input and several outputs that do not have a third state. For connections, you can use flexible insulated wires (for example, MGTF-0,14) with a length of no more than 50 mm, and in order to protect the new microcircuit from damage during soldering, provide a panel for it.

For the Z-80CPU microprocessor and its copies, only the outputs M1 (pin 27) and BUSAK (pin 23) do not have a high-impedance state. The latter is usually free - check this on the microcomputer circuit or printed conductors on its board. The conductor going on the board to pin 27 must be cut and connected to the same pin of the "hinged" microcontroller. Similarly, they deal with similar conclusions of microprocessors of other types.

Now all the functions of the standard microprocessor are taken over by the additional one. If, as a result, the microcomputer started working, the culprit of the failure was found. Since operability has been restored, think about whether it makes sense to leave the microprocessor "attached"? Strengthen temporary solderings, and to prevent accidental shorts, strengthen and insulate the panel.

Having decided to completely replace a faulty microcircuit, it is best to bite each of its outputs with specially sharpened wire cutters (their sponges must pass between the outputs), and then, after removing the microcircuit, clean the mounting holes one by one from the remnants of its outputs.

If the defect persists, proceed to check the other microcircuits as described above. Chips of RAM, ROM, and many interface LSIs can be switched to a passive state by setting a high logic level at their CS (Chip Select) input. To turn off the LSI of a single-bit dynamic RAM, it is enough to cut the printed conductor going to its only output. Of course, the task must be approached creatively, taking into account the features of specific microcircuits. For example, some of them (K588 series) have a different function of the CS input. For others, the required input is named differently (CE, OE).

A temporary ROM replacement can be used to force the microprocessor of the microcomputer under test to execute a specially designed test program that helps to identify and localize faults.

Having transferred the microcontroller or other LSI to a passive state, it can be useful to measure the voltage levels at the released outputs with a voltmeter or using an oscilloscope even before connecting the "understudy". If such an output is connected only to the high-resistance inputs of CMOS microcircuits, the voltmeter readings can turn out to be anything, it all depends on the input resistance of the latter and current leakage both inside the microcircuits and between the printed conductors on the board. If one or more inputs of TTL microcircuits are connected to the passive output, the voltage must be within 1 ... 2 V. The presence of resistors in the circuit connected to the power bus or a common wire leads to the setting of the corresponding potential.

In any case, it is useful to make sure that the voltage levels on all pins, for example, the data bus of a disconnected LSI, are approximately equal. A significant difference is a reason to think and carefully check the corresponding circuits. The most difficult case is when several outputs of different microcircuits are connected to the same circuit. In a normally working device, they are never active at the same time. Violation of this condition as a result of a malfunction of the control circuits or decryption of the address of one or more microcircuits often causes the microcomputer to fail as a whole.

The description of the Z-80CPU microprocessor says that all of its outputs are in a high-impedance state during the operation of the RESET signal. In fact (at least for its domestic counterparts) this is not so: the mentioned signal sets low logic levels at the outputs.

Transferring the microprocessor to the DMA mode can be used to connect a test console to its buses with switches that set the address and control signals, and an LED indicator of the address bus status. With the help of such a remote control, you can quickly check the memory and many input / output devices of the microcomputer. The information stored in static RAM (on chips of the K537, K541, K132 series), the remote control will allow you to read and write without time limits. However, please note that a stopped Z-80CPU microprocessor stops generating signals for regenerating the contents of dynamic RAM (usually on K565 series microcircuits) and the data stored there will be lost. Although in microcomputers on microprocessors of other series, dynamic memory regeneration is usually handled by the video adapter or the LIS of the PDP controller (KR580VT57), microprocessor commands may be required for the correct operation of the latter.

And in conclusion, I will tell you about the repair of the Delta-S-02 microcomputer with the microprocessor and ROM soldered into the LSI board using the PDP mode. Externally, the defect manifested itself in the fact that when the microcomputer was turned on, only a black frame with a white border appeared on the screen of the TV connected to it. Before displaying the usual initial messages and splash screens, the microcomputer "hung up".

Replacing the K1858BM1 microprocessor with a "mounted" one according to the above method did not give any result. However, the performance of the microprocessor even before this check followed from the partial execution of the initialization procedure - after pressing the "Reset" button for some time, stripes running down on a black background were visible on the screen.

The renovation was continued in a somewhat exotic fashion. Another, serviceable Spectrum was connected to the Delta through the system connector, the microprocessor of which was stopped by connecting the BUSRQ input to a common wire. The M1 signal missing in the connector was fed from one microcomputer to another by a separate wire.

The Delta ROM was disabled via the CS circuit, and the RAM was disabled by a read buffer lock, so that writing to it remained possible in parallel with writing to the RAM of a working microcomputer, but the microprocessor could only read data from the latter. The BASIC program for testing the screen area of ​​the RAM was loaded into this system. The result of its work could be observed on the screen connected to the output of a faulty microcomputer TV. This made it possible to identify the malfunction: when writing the log. 1 in the DD27 chip of the Delta RAM, it simultaneously appeared in a similar DD31 chip.

Although it was not possible to find the root cause of the phenomenon, the malfunction was fixed without replacing the microcircuit. It turned out to be sufficient to reduce the signal amplitude by 30%, and with it the interference at pin 2 (information input) of the DD31 microcircuit. This was done using a voltage divider of 2 and 5,6 kΩ resistors.

A small addition for the repair services of enterprises. The most common racks in CNC systems 2R22,2U22,2S42 based on the main domestic general-purpose microcomputer "Electronics-60" have a machine line of exactly the same organization as CNC lathes based on the "Electronics NTs-31" microcomputer. Therefore, repair stands, designed for one of these systems, will fit others. It is only necessary to make adapters with the appropriate connectors, while taking into account the differing names of a number of control circuits similar in function.

Author: V.Smirnov, Nizhny Novgorod

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

Xiaomi Star Trang Telescope compact telescope 11.04.2019

Xiaomi introduced the Star Trang Telescope. The telescope is amateurish and has an affordable price, traditional for the products of a Chinese manufacturer. The novelty belongs to the usual refractor (lens) models and is priced at 599 yuan ($89).

The Xiaomi Star Trang telescope is equipped with custom-made eyepieces with a diameter of 23mm and 10mm (both with a 60-degree field of view), providing a magnification of 21,7x and 50x, respectively. The telescope objective is a lens with a multilayer coating that improves the optical performance of the system.

The advantages of the novelty, the developers also include portability and a unique design that provides flexible individual adjustment for anyone (geek, teenager or child). The manufacturer promises that the device will allow everyone to conveniently observe the reservoir, mountains and the starry sky.

The telescope is also equipped with a stainless steel tripod and special accessory protection discs to prevent damage to eyepieces and accessories. The Star Trang Telescope comes with a carry bag.

Other interesting news:

▪ MIPI CSI-2 specification v1.3

▪ Electric shock against weeds

▪ Computing cluster technology from Apple

▪ A method has been found for significantly increasing the forces of optical interaction

▪ Apple TV

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Data transfer. Article selection

▪ article Civil defense at an industrial facility. Basics of safe life

▪ article What Russian musical instrument do we call gypsy? Detailed answer

▪ article Food warehouse supply agent. Standard instruction on labor protection

▪ article Shortened antenna for 160 meters. Encyclopedia of radio electronics and electrical engineering

▪ article Trick with four aces. Focus Secret

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