CC_1995_i0065.pdf

(9038 KB) Pobierz
377392318 UNPDF
377392318.148.png
THE COMPUTER APPLICATIONS JOURNAL
lthough most of us get to participate in the
beginning of projects, seldom do we get involved in
FOUNDER/EDITORIAL DIRECTOR
PUBLISHER
Steve Ciarcia
Daniel Rodrigues
v matter-publication.
I guess I’m lucky. In 1987, I was asked to add “technical editor” to my
engineering duties. With the publication then being bimonthly, I was still able
to devote much of my time to engineering. The editing part of my job pro-
vided a nice touch of spice to an otherwise engineering-only diet
As the magazine has grown to a monthly publication, my responsibili-
ties have shifted accordingly. In the last week before an issue ships, how I
almost long for an engineering-only diet! The engineering is now what keeps
me sane.
With the start of /MS Embedded PC, Circuit Cellar is opening itself up
to another adventure. What started as a quarterly insert in 1995 is already
scheduled as a bimonthly insert in 1996. Starting in February’s issue, there
will be an additional 32 pages devoted entirely to the embedded PC industry.
What changes has this brought in-house? While I stay editor-in-chief of
the magazine as a whole, Janice becomes a hybrid of technical editor for
INKand managing editor of Embedded PC. New to the ranks is Carole,
joining us as a technical editor, alleviating an overly tight workload and giving
room for growth.
The only area we remain a little tight on is the need for EPCarticles.
Embedded PC will focus on both PC software and hardware. We’ll be cover-
ing off-the-shelf motherboards, expansion boards, networking, PCI, other
buses, assemblers, compilers, debuggers, multitasking, and operating
systems. In other words, assuming your manuscript meets our readership
standards, we’ll print it. Just send your proposals in.
This issue’s Embedded PC offers a good mix of topics. Novell intro-
duces their networking expertise to the embedded PC world while Larry Fish
shows us how to get the benefits of 32-bit unsegmented architecture under
DOS and BIOS. Ken Prada covers PC/104 instruments in oceanography and
Russ overviews PC buses.
In the main issue,‘Stuarl Ball takes a close look at PLDs that can be
programmed in-circuit, along with some sample applications. David Van den
Bout shows us how to build a simple CPLD development system. Finally,
Fred Eady overviews the PIClGCxxfamily.
For our columns, Ed covers Virtual-86 interrupts from the 32-bit side,
Jeff finishes up his two-part article on a carrier current modem, and Tom
overviews the conference circuit.
EDITOR-IN-CHIEF
PUBLISHER’S ASSISTANT
Ken Davidson
Sue Hodge
EPC MANAGING EDITOR
CIRCULATION MANAGER
Janice Marinelli
Rose Mansella
TECHNICAL EDITOR
CIRCULATION ASSISTANT
Carole Boster
Barbara Maleski
ENGINEERING STAFF
CIRCULATION CONSULTANT
Jeff Bachiochi & Ed Nisley
Gregory Spitzfaden
WEST COAST EDITOR
BUSINESS MANAGER
Tom Cantrell
Jeannette Walters
CONTRIBUTING EDITORS
Rick Lehrbaum
Russ Reiss
ADVERTISING COORDINATOR
Dan Gorsky
NEW PRODUCTS EDITOR
Harv Weiner
CIRCUIT CELLAR INK”. THE COMPUTER APPLICA-
TIONS JOURNAL (ISSN 0896-6965) IS published
monthly by Clrcult Cellar Incorporated, 4 Park Street,
Sue 20. Vernon, CT 06066 (660) 675.2751. Second
classpostagepaidat Vernon, CTandaddltionaloffices.
One-year (12 issues) subscriptlon rate U.S.A. and pos-
sess1ons$21.95.CanadaiMex~co$31.95,allothercoun-
tnes $49.95 All subscription orders payable I” U.S.
funds only, wa International postal money order or
check drawn on U S bank. Direct subscription orders
and subscripton related questions to Circuit Cellar INK
ART DIRECTOR
Lisa Ferry
PRODUCTION STAFF
John Gorsky
James Soussounis
CONTRIBUTORS:
Jon Elson
Tim McDonough
Frank Kuechmann
Subscriptions, P.O. Box 696, Holmes, PA 19043.9613
01 call (&?O) 269.6301.
POSTMASTER: Please send address changes to Clr-
cu~tCellarlNK,C~rculat~on Dept.. P 0 Box696, Holmes,
PA 19043.9613.
Cover photography by Barbara Swenson
PRINTED IN THE UNITED STATES
For information on authorized reprints of articles.
contact Jeannette Walters f860) 8752199.
HAJAR ASSOCIATES NATIONAL ADVERTISING REPRESENTATIVES
NORTHEAST & SOUTHEAST MIDWEST WEST COAST
MID-ATLANTIC Christa Collins Nanette Traetow Barbara Jones
Barbara Best (305) 966-3939 (708) 357-0010 & Shelley Raine)
(908) 741-7744 Fax: (305) 985-8457 Fax: (708) 357-0452 (714) 540-3554
Fax: (908) 741-6823 Fax: (714) 540.710:
C~rcuitCellarBBS-24Hrs.300/120012400/9600/14.4kbps, 6 bits, no parity, 1 stop bit, (660)671-1966; 24001
9600 bps Courier HST, (660) 671.0549. World Wide Web: hHp:liwww.circellar.coml
All programs and schemata m QrcuitCellarlNi+have been carelully reviewed to ensure their performance
~s~naccordancewiththespeclflcatlonsdescribed,andprogramsarepostedontheClrcuitCellarBBSforelectronic
transfer by subscnbers.
CircuitCellarlN~makesnowarrantiesandassumesno responsibilityorliabllltyofanykindforerrorsinthese
programs or schematlcs or far the consequences of any such errors. Fulthermore, because of possible variation
in the quality and condttion of mater& and workmanshlp of reader-assembled protects. Circuit Cellar INP
disclaims any responslbllty for the safe and proper luncton of reader-assembled projects based upon or from
plans, descriptions, or Inform&n publlshed in Circuit Cellar INk?
Entire contents copynght 0 1995 by Clrcult Cellar Incorporated. All rlghts reserved. Clrcult Cellar INK IS a
registered trademark of Cwcu~l Cellar Inc. Reproduction of this publication in whole or m part without written
consent from Circuit Cellar Inc. IS prohiblted.
editot@circellar.com
2
Issue #65 December 1995
Circuit Cellar INK@
Pelletvo Kaskinen
377392318.159.png 377392318.170.png 377392318.181.png 377392318.001.png 377392318.011.png 377392318.022.png 377392318.033.png 377392318.044.png 377392318.055.png 377392318.066.png 377392318.077.png 377392318.088.png 377392318.099.png 377392318.108.png 377392318.109.png 377392318.110.png 377392318.111.png 377392318.112.png 377392318.113.png 377392318.114.png 377392318.115.png 377392318.116.png 377392318.117.png 377392318.118.png 377392318.119.png 377392318.120.png 377392318.121.png 377392318.122.png 377392318.123.png 377392318.124.png 377392318.125.png 377392318.126.png 377392318.127.png 377392318.128.png 377392318.129.png 377392318.130.png 377392318.131.png 377392318.132.png 377392318.133.png 377392318.134.png 377392318.135.png 377392318.136.png 377392318.137.png 377392318.138.png 377392318.139.png 377392318.140.png 377392318.141.png 377392318.142.png 377392318.143.png 377392318.144.png 377392318.145.png 377392318.146.png 377392318.147.png 377392318.149.png 377392318.150.png 377392318.151.png 377392318.152.png 377392318.153.png 377392318.154.png 377392318.155.png 377392318.156.png 377392318.157.png 377392318.158.png 377392318.160.png 377392318.161.png 377392318.162.png 377392318.163.png 377392318.164.png 377392318.165.png 377392318.166.png 377392318.167.png 377392318.168.png 377392318.169.png 377392318.171.png 377392318.172.png 377392318.173.png 377392318.174.png 377392318.175.png
12 In-System-Programmable PLDs from Lattice
by Stuart Ball
20 Building a Low-Cost CPLD Development System
by David Van den Bout
28 Take Your PIC
A Look at the PIC 16Cxx Family
by Fred Eady
36 7th Annual Circuit Cellar Design Contest Winners
by fanice Marinelli
74 ¦ Firmware Furnace
Journey to the Protected Land: Behind the Interrupt Curtain
Ed Nisley
84 ¦ From the Bench
Carrier Current Modem
Part 2: Alternative Control
/eff Bachiochi
92 ¦ Silicon Update
PC Times in Silicon Valley
Tom Can trell
See pages 39-73 for Our Special Bonus Section
Editor’s INK
Ken Davidson
Start Ups
I_ v
Excerpts from
the Circuit Cellar BBS
conducted by
Ken Davidson
Reader’s INK
Letters to the Editor
New Product News
edited by Harv Weiner
Steve’s Own INK
The Powers that Be
h
Advertiser’s Index
Circuit Cellar INK@
Issue #65 December 1995
3
377392318.176.png 377392318.177.png 377392318.178.png 377392318.179.png 377392318.180.png 377392318.182.png 377392318.183.png 377392318.184.png 377392318.185.png 377392318.186.png 377392318.187.png 377392318.188.png 377392318.189.png 377392318.190.png 377392318.191.png 377392318.002.png 377392318.003.png 377392318.004.png 377392318.005.png 377392318.006.png 377392318.007.png
 
A BETTER LEAD
Ed Lansinger’s articles on developing an engine con-
trol system really interested me, especially since I’ve
gone from having computers as a career and cars as a
hobby to the other way around.
I think readers should know about the ignition wires
my company imports to Australia from the USA. Magne-
car ignition leads are wire-wound leads with 5-20 times
more windings than other “heli” leads. They also sup-
press more RF1 and EMI.
While using these wires won’t stop your competi-
tors’ cars from bringing your ECM unglued due to RFI,
the EM1 suppression may help when your sensor wiring
goes near your plug wires. Contact:
Contacting Circuit Cellar
We at Circuit Cellar INKencourage communication between
our readers and our staff, so have made every effort to make
contacting us easy. We prefer electronic communications, but
feel free to use any of the following:
Mail: Letters to the Editor may be sent to: Editor, Circuit Cellar INK,
4 Park St., Vernon, CT 06066.
Phone: Direct all subscription inquiries to (800) 269-6301. Con-
tact our editorial offices at (860) 875-2199.
Fax: All faxes may be sent to (860) 872-2204.
BBS: All of our editors and regular authors frequent the Circuit
Cellar BBS and are available to answer questions. Call
(860) 871-1988 with your modem (300-14.4k bps, 8N1).
Internet: Letters to the editor may be sent to editor@circellar.
corn. Send new subscription orders, renewals, and ad-
dress changes to subscribeQcircellar.com. Be sure to
include your complete mailing address and return E-mail
address in all correspondence. Author E-mail addresses
(when available) may be found at the end of each article.
For more information, send E-mail to infoQcircellar.com.
WWW: Point your browser to http://www.circellar.com/.
FTP: Files are available at ftp://ftp.circellar.com/pub/circellar/.
Magnecor Australia Pty. Ltd.
2000 Oakley Park Rd., Unit IO4
Walled Lake, MI 48390
(810) 669-6688
Fax: (8 10) 669-2994
Neil Fisher
neilf Bzeta.org.au
¡ Memory mapped variables
¡ in-line assembly language
option
w Compile time switch to select
805 l/803 1 or 8052/8032 CPUs
w Compatible with any RAM
or ROM memory mapping
¡ Runs up to 50 times faster than
the MCS BASIC-52 interpreter,
¡ Includes Binary Technology’s
SXA51 cross-assembler
& hex file manip. util.
¡ Extensive documentation
m Tutorial included
¡ Runs on IBM-PC/XT or
compatibile
¡ Compatible with all 8051 variants
w BXC51$295.
508-369-9556
FAX508-369-9549
Binary Technology, Inc.
P.O. Box 541 Carlisle, MA 0 1741
WEH
Net-Port is a complete serial
data acquisition and control sys-
tern in a%cubic-inch package. The
potted Net-Port contains a variety of
digital and analog I/O along with
power supply regulation and commu-
nication line drivers. Net-Port requires
no programming. A simple ASCII corn-
mand protocol sets and reads all l/O.
* RS-232A. RS-422, and RS-485 at 300 bps to 1 I.5 kbas
Sixteen parallel l/O lines and IK bus
4-channel, S-bit ADC (Net-Port 5)
P-channel, Ilbit ADC and P-channel, 12.bit DAC (Net-Port E)
PWM output: 2Hz to 3.5 kHz, 595% duty cycle
* Sample ASCII command set, requires no programming!
I High-performance, built-in functions: parallel l/O bufferrng. LCD and keypad
control, analog data averaging, data logging
Sixteen-character ID allows hundreds of Net-Ports
Small see, encapsulated constructlon
Wide power supply input range
~T-~OoRf carrier board w/power supply W9.00
Yces do not include shipping
?ofures subject to change
4 Park Street Vernon, CT 06066 (860) W-6170 Fax (860) 872-2204
#103
6
Issue #65 December 1995
Circuit Cellar INK@
377392318.008.png 377392318.009.png 377392318.010.png 377392318.012.png 377392318.013.png 377392318.014.png 377392318.015.png 377392318.016.png 377392318.017.png 377392318.018.png 377392318.019.png 377392318.020.png 377392318.021.png 377392318.023.png 377392318.024.png 377392318.025.png 377392318.026.png 377392318.027.png 377392318.028.png 377392318.029.png 377392318.030.png 377392318.031.png 377392318.032.png 377392318.034.png 377392318.035.png 377392318.036.png 377392318.037.png 377392318.038.png 377392318.039.png 377392318.040.png 377392318.041.png 377392318.042.png 377392318.043.png 377392318.045.png 377392318.046.png 377392318.047.png 377392318.048.png 377392318.049.png 377392318.050.png 377392318.051.png 377392318.052.png 377392318.053.png 377392318.054.png 377392318.056.png 377392318.057.png 377392318.058.png 377392318.059.png 377392318.060.png 377392318.061.png 377392318.062.png 377392318.063.png 377392318.064.png 377392318.065.png 377392318.067.png 377392318.068.png 377392318.069.png 377392318.070.png 377392318.071.png 377392318.072.png 377392318.073.png 377392318.074.png 377392318.075.png 377392318.076.png 377392318.078.png 377392318.079.png 377392318.080.png
IOl~d D B ~BII~(NEW~
Edited by Harv Weiner
TARGET-CONTROLLER SOFTWARE
Stimgate releases a new productivity tool for developing por-
table software for embedded microcontroller systems. The Target
Controller for ANSI C enables software to be written in ANSI C on
the PC using well-known tools such as Borland C or Microsoft C.
Portability between processor types is ensured by Stimuli-Gateway
I/O functions that complete ANSI C with standardized I/O opera-
tions for the target microcontroller. By using files and libraries, you
can reuse code between different target platforms or C compilers.
The Stimgate Target Controller hardware connects I/O in em-
bedded target processor systems to the PC. It interfaces to the target
system by plugging into the EPROM slot and emulates the most
popular EPROM, EEPROM, and RAM devices. As with in-circuit
emulators, software for different microcontrollers and derivatives of
the same processor can be tested without additional personality
modules. Prototype software runs out of the target controller
memory, which speeds up testing and debugging over traditional
program, burn PROM, and edit cycles.
The Stimgate system has built-in hardware stimulation facili-
ties and a library of test functions for test and debugging applica-
tions. High-level messages can be sent to the PC to aid in debugging without using the UART. The Stimgate stream
windows facilitate message handling from the target system. Once the code has been proven, it can be recompiled
and ROMed for the target system using the target microcontroller compiler.
The full development system, which supports embedded controllers such as 8051, 68HCl1, 80x86, 683xx,
H8/300, H8/300H, and more, sells for $3950.
CMX Company
5 Grant St., Ste. C Framingham, MA 01701 (508) 872-7675. Fax: (508) 620-6828 E-mail: cmx@cmx.com
#SO0
FLASH MICRO PROGRAMMER
AirBorn Electronics announces a development pro-
memory. The PG205 1 erases, programs, and verifies the
grammer for the AT89C205 1 microprocessor, Model
AT89C2051 chips in 6 s.
PG2051. The AT89C205 1 is a 20-pin 805 I-compatible
The PG205 1 may be connected to a PC or other host
microprocessor [including serial port) with 2 KB of flash
by a serial cable. According to the settings on its DIP
switches, the programmer tests, erases, programs, veri-
fies, and write and security protects as it receives the
file. The unit features a test switch which enables the
user to check in just one second if the target micropro-
cessor is blank, working, programmed, or failed without
needing the PC connected.
The PG205 1 Programmer sells for $188 and in-
cludes data sheet. A complete evaluation kit is available
for $233. It includes the programmer, plug back, two
AT89C2051 devices, a small prototype board, sample
code, and a shareware assembler and disassembler.
AirBorn Electronics
19-21 Berry St., Ste. 201 P.O. Box 1491
North Sydney, NSW 2060, Australia
(61) (2) 9925-0325 Fax: (61) (2) 9925-0297
E-mail: stevenmQzeta.org.au
#SO1
8
Issue #65 December 1995
Circuit Cellar INK@
377392318.081.png 377392318.082.png 377392318.083.png 377392318.084.png 377392318.085.png 377392318.086.png 377392318.087.png 377392318.089.png 377392318.090.png 377392318.091.png 377392318.092.png 377392318.093.png 377392318.094.png 377392318.095.png 377392318.096.png 377392318.097.png 377392318.098.png 377392318.100.png 377392318.101.png 377392318.102.png 377392318.103.png 377392318.104.png 377392318.105.png 377392318.106.png 377392318.107.png
Zgłoś jeśli naruszono regulamin