PJRC.COM Offline Archive, February 07, 2004
Visit this page on the live site

skip navigational linksPJRC
Shopping Cart Checkout Shipping Cost Download Website
Home MP3 Player 8051 Tools All Projects PJRC Store Site Map
You are here: 8051 Tools Development Board Old Versions Rev 1 (1992) Testing Search PJRC

PJRC Store
8051 Dev Board, $79
LCD 20x2 Display, $11
Serial Cable, $5
12 Volt Power, $8
More Components...
8051 Tools
Main Page
Software
PAULMON Monitor
Development Board
Code Library
89C2051 Programmer
Other Resources
Rev 4
New Rev 4 Board
A newer version (Rev 4) of this circuit board is available. Rev 4 includes a faster CPU, more memory, more I/O and an optional LCD. We recommend you use Rev 4 for new projects. We are keeping these very old pages on-line for reference to assist people who build the original version of the 8051 development board.
The very old design is difficult to troubleshoot due to the use of an external 27C64 EPROM for the monitor program. We highly recommend you use the new design for any new projects.


Testing and Getting It To Work

Visual inspection really is the easiest and most time effective way to troubleshoot in a case like this where the design is known to work. Please check your work carefully.

The only test equipment mentioned below is a multimeter (volts/ohms) and perhaps a clip lead to connect it's negative lead to ground. Fancy (expensive) test equipment, such as an oscilloscope or logic analyzer is not needed. Keep in mind that a voltmeter's DC voltage measurement measures average voltage. A digital signal which is 0 volts low and 5 volts high will read about 1.7 volts if it is high 1 out of every 3 clock cycles. For non-CMOS logic, the high output is somewhere lower, so 1.1 to 1.8 volts is probably fine, but 0, 4.1 or 5 volts would indicate a problem.

Before inserting the chips, check for opens and shorts with an ohm meter. This can be a tedious process, particularily for the buses. At least check that one bus line connects to the proper pin on each chip, so that you're sure the bus was not accidentally wired in reverse somewhere.

Apply power without any chips in the board. Using a DC voltmeter, verify that power is applied to every chip correctly. This step MUST NOT be skipped, since chips will likely be damaged if power is not applied correctly. To do this check, attach the negative lead to ground at the power supply, and then probe the Vcc pin of every socket. Then connect the positive test lead to +5 volts at the power supply and probe the ground pin of every chip. You must do both of these tests to assure that every chip's power is connected properly. If signals are connected incorrectly, usually chips won't be damaged, but errors in the power connections are usually more painful, so do this simple check before putting the chips into their sockets.

Once the power is known to be correct, insert the MAX232 and its capacitors. Apply power and check the voltages on the RS-232 connector. The transmit line should be at about -8 to -10 volts. The receive line should be at about zero volts, though less than about 1 volt is fine. As well, pin 2 of the MAX232 should be at about +10 volts and pin 6 should be at about -10 volts. Connect the voltmeter's ground to your computer's ground and check the voltages on the lines of the computer's serial cable. The line which will connect the the 8051 board's receive ought to be at about -12 volts (but it may be between -5 to -15 volts), and the one which will connect to the 8051 board's transmit ought to have very little voltage on it. If this is the case, you're finally ready to try it out.

Now insert the 8051, 27C64 EPROM, 74HC08, 74HC138, 74HC373, crystal and other passive components. Make sure that pin 1 is lines up. A chips is usually destroyed if it is plugged in backwards, so please double check. Turn it on and hit carriage return if PAULMON's automatic baud rate detection is used. Does the welcome message appear? If you get a screenful of garbage, try again, perhaps at a lower baud rate. 1200 baud is a good place to start before you know if your board works. If you get garbage with PAULMON1, you need to turn off the power instead of just pressing reset.

If Nothing Happens When You Turn It On:

It's best to do all voltage probing from the top side of the board directly onto chip pins, so faults in the sockets are tested as well. Since almost all voltages are measured with respect to ground, it pays to attach the negative probe of your voltmeter to a secure ground point on the board. You only have two hands...

Once The Welcome Message Appears

install ram, download a simple test program and see if it made it into memory.

install 82C55 chips, run a simple test program to verify that they work.

Where to go from here?


Paul's Sample 8051 Development Board Design
http://www.pjrc.com/tech/8051/dev-board-testing.html
Last updated: November 28, 2003
Statue: about 80% done now... need some photos... and proofreading
Suggestions, comments, criticisms, things you want?? <paul@pjrc.com>