Dontronics - SimmStickTM Configuration.

Home | Products | Prices | Site Map | Order | Contact | What's New | Books | Free Files | Links | FAQ
Bottom_of_Page
DT001, PIC.001 and burning 84's.
PIC.001 in Stamp I mode on a DT001 Rev A.
PIC.002 in Stamp II mode on a DT001 Rev A.
PIC.001 as a quarter of a Stamp. 64 Tokens. DT001 Rev A.
PIC.001 with a 24LC65 EEPROM.
PIC.001 with FED-84 Basic.
More FED-84 info and ZIF sockets.
PIC.002 with FED-57 Basic.
PIC.004 with FED-74 Basic.

Top of Page.

DT001, PIC.001 and burning 84's.

If you are using the DT001 board as an 84 programmer, and wish to use a PIC.001 SimmStick as a target system, it may pay to purchase 3 by 18 pin machine pin sockets if this is a new experience for you.

 Solder one into the DT001 board ZIF socket position, one into the SimmStick IC1 position, and plug your PIC16C84/04/P into the third. Keep this third socket attached to your 84 at all times. It will protect the legs of your chip.

 The DT001 ZIF socket position can be converted later to a real ZIF socket if this is required. Read my 'hints.html' file for details.

 The 84 chip can now be moved from the ZIF socket position to the SimmStick as many times as you like without damaging the 84.

 Try programming the 84 in the ZIF socket position before concerning yourself about the SimmStick. This is called section isolation when fault finding, and is a nice way to get started for beginners.

 Top of Page.

PIC001 in Stamp I mode on a DT001 Rev A.

Subject: Using PIC001 in Stamp I mode on a DT001 Rev A.
To: SiSUser List 
Date: Mon, 23 Dec 1996 00:37:24 +0200 (sat)
From: Kalle Pihlajasaari 

Hi Folks,

I am very pleased to announce that it is possible to make use if the
same DB-25 connector and cable on the DT-001 to download data to the
PIC-001 SIMMStick in Stamp1 mode.

This is even easier than the Stamp II and requires very little work
and as in the other modification no tracks need to be cut. I consider
any changes made to development systems that do not cut tracks to be
reversible. Obviously you will eventually lift pads from the board if
you keep soldering and unsoldering links and components but at least
it can be done a few times without trouble.

The modification to use the Stamp1 can be left in place as well if you
use some jumpers and are prepared to cut 2 tracks. Same obviously for
the Stamp2 mods, place the components onto the breadboard areas of the
DT-001 (three cheers for Don) and use jumpers to select which
configuration.

Stamp1 is driven by the parallel port. It uses pins 2 and 11 and
ground pins 18 .. 25. The pins on the SSbus are not wired to anything
notable so you have to run wires from pin labelled 'SO' to pin 11 on
the DB-25 and pin labelled 'IO' to pin 2 of the DB-25. You also have
to take out the 7407 from the socket and put it in a safe place (the
same antistatic foam you are protecting the MAX232 with :-).

Thats it. Remember that the STAMP software does not often work in a
windows DOS box. I get about 30% successfull downloads and about 30 %
of the debug data makes it back (Win 4 Work 3.1) so develop in DOS. I
put jumpers into the wires so I can disconnect the Stamp1 function and
then put the 7407 back, no tracks cut but not perfect. I also have a
ground pin next to the two jumper pins on the SS side that allows me
to plug in a Stamp1 programming cable without taking out the 7407 if I
want (not likely anymore after I noticed the other parallel port cable
was already plugged in I put in the extra wires).

To recap. With 2 wires and an both ICs pulled you can develop Stamp1
applications on a PIC-001 SIMMStick using the DB-25 and cable you have
already attached to the DT-001.

Cheers *<<<-|

Kalle Pihlajasaari kalle@ip.co.za http://www.ip.co.za/ip
Interface Products P O Box 15775, DOORNFONTEIN, 2028, South Africa
+ 27 (11) 402-7750 Fax: 402-7751 http://www.ip.co.za/people/kalle
Top of Page.

PIC002 in Stamp II mode on a DT001 Rev A.

Subject: Using PIC002 in Stamp II mode on DT-001
To: SiSUser List 
Date: Mon, 23 Dec 1996 00:15:12 +0200 (sat)
From: Kalle Pihlajasaari 

Hi Folks.

I am pleased to announce that it is very easy to modify the REV A
DT-001 to talk to the PIC-002 in Stamp II configuration making use of
the MAX232 for serial comms.

It must be borne in mind that if other types of SIMMStick are to be
programmed then the changes may get in the way and may have to be
undone.

The reset signal first. This needs to be tho oposite polarity to the
RS-232 signal. As it turns out the MAX 232 turns the signal around, it
also has one spare input (and one output) that can be used for this.
Take a short link and join pin 4 of the DE-9 connector to the pad near
it labelled RS-232 IN. Take a garden variety small signal diode and
connect it from the TTL level pad labelled IN under the MAX232 to the
switched side of the reset switch nearby Cathode (stripe to MAX).

Auto port detect next, solder a blob between pins 6 and 7 on the DE-9
connector.

Lastly TX and RX data. As mentioned this is making use of the on board
MAX232 IC and DE-9 connector. No transistors are required on the
PIC-002 SIMM and the SI and SO signals from the PIC-002 are wired
already from the SSbus to the MAX232. Data from the PC to the SS is
cool and data coming back is also cool. There is a bit of a problem
due to the way that the STAMP2 is initialised.

As the simple transistor circuit uses the RS-232 signal it gets in to
power the transmitted signal both on a Stamp2 and the PIC-002 the
signal received gets echoed back. Ok as the stamp only support half
duplex comms. However the STAMP2 software uses this echo feature to
detect the presense of a stamp on the comm port. Now I was not going
to start looking for transistors so I just used another diode and a
resistor.

There are two convenient jumpers of the DT-001 board (mine were colour
coded as serial signals so I found then easy:-) I replaced one jumper
with a 2k2 resistor (the one from the SS to MAX, nearest SSbus) and
then the diode under the board from the MAX end of new resistor to the
other serial jumper. Cathode (stripe) to other jumper which allows the
incoming data to pull the idle level (5V) of the outgoing data to 0V
(almost) and echo everything back.

As you hit the key you get the test program debug info coming in.

To recap. One resistor, one link and 2 diodes (1N4148) allows for
development od Stamp2 compatible PIC-002 on the DT-001 using the
MAX232 circuit on board. No special cable required, no rtansistor
level shifter circuitry required on the SIMMStick

If you leave the first diode in you can use the PC to reset any
SIMMStick plugged in, Stamp or otherwise. This also means that you
cannot run comms software that raises that signal to communicate with
a Stamp2 setup unless you make use of a jumper (place for them on the
DT-001) or a special cable as described on the Stamp list that has cap
and resistor, I have not tried this cable so don't ask me about it.

Cheers *<<<-|

Kalle Pihlajasaari kalle@ip.co.za http://www.ip.co.za/ip
Interface Products P O Box 15775, DOORNFONTEIN, 2028, South Africa
+ 27 (11) 402-7750 Fax: 402-7751 http://www.ip.co.za/people/kalle
Top of Page.

PIC.001 as a quarter of a Stamp. 64 Tokens. DT001 Rev A.

Date: Wed, 22 Jan 1997 13:19:28 +1000
From: Don McKenzie 
Organization: Dontronics
To: "sisuser@" 
Subject: Using the DT001 and BS/4

How to install and run the BS/4 software on a SimmStick using the
DT001 board as a programming device.

Note *** The following 1K resistor modification isn't required on the
DT001 Rev B or later Board.

As per Antti's new Application Note AN0001, install a 1K resistor
between ground and VPPPGM on the DT001 board. This ends up being
between pins 4 and 5 on the ZIF socket, but if you don't have a socket
installed, between pin 7 of E1 (ground) and the 'P' link nearest the
4PDT switch on the solder side of the board works fine. A full
explanation can be found on this modification on the SiStudio home
page in the Application Note.

You will need a PIC.001 SimmStick with a PIC16C84/04/P installed, a
4Mhz crystal and 2 caps, or a suitable resonator, R1 10K, and R2 10K.
That's it. If you wish to run it off a 9V Battery later, read the
PIC.001 PDF files.

You can use the Nigel or Ken programs to burn the chip, or any other
suitable one. Just make sure you set the fuses as follows:
XT Oscillator, WDT off, PWT on, CP your choice, I suggest off. It saves the
chip a little.

Using SiStudios PIP02 software:
Run the donmck.exe file. As I use LPT2, I used the following command
line:
donmck lpt2
Should report:
PINAPI Driver for PIC16C84 Programmer By Don McKenzie installed on LPT2

Put your DT001 programmer in the Load mode, and install your 84
SimmStick
into slot 1.

Then run PIP02
If you are using DT001 with the MAX-232 then you must load the file
'BS4I.HEX'. This is available from SiStudio's SiClub. The file
'BS4.HEX' is used when only resistor comms is used. (Non-Max-232).

Program the device, then throw your switch into the Run mode. By the
way, you can have both the Parallel (Interpreter Programmer) cable and
Serial (Basic Token Programmer) cable plugged in at the same time. No
problems, no conflict, and yes no need, but it can be done.

Exit the PIP02 software (Interpreter Programmer) and run BS4.EXE This
will put you into an Ascii text editor and Compiler/Downloader. Load
the file 'STAMPTST.BAS'. This is an old one of mine from 1994. It does
a walking LED pattern to port B and requires some LED's and resistors
hooked up to see the results. My Relay board also acts as a monitor.

Compile the file. Press your Reset on the DT001 board, and Download
the file.

With a small amount of luck, you should have a BS/4 with the ability
to run 64 Basic tokens, and all in an 84!

Future projects include 256 bytes of tokens in an external 24LC16B,
which can be added to the same SimmStick very easily. I guess this
would be a BS-1 work-alike.

By re-writing the core, we hope to be able to extend the addressing
range so that a full 2K of tokens can be used. Yes a BS-1*8.

Here is the same old test program that I used to test my first PIGMY
board back in July 94.>>>>>>>>>>>>>>>>>>

'THIS SIMPLE TEST PROGRAM WILL TEST THE BASIC STAMP VERSION OF MY
'PIGMY BOARD. IT SHIFTS A LED TO THE RIGHT WITH A 1 SECOND DELAY
'YOU SIMPLY CONNECT MY RELAY8 BOARD UP AS A LED MONITOR.
START:                  'HOOK UP MY RELAY8 BOARD.
GOSUB CLEAR             'SET ALL OUTPUTS LOW ON ENTRY
FOR B2 = 0 TO 7         'COUNT UP TO 8
'FOR B2 = 7 TO 0 STEP-1 'COUNT DOWN TO 8
GOSUB CLEAR             'CLEAR ALL LEDS
HIGH B2                 'LIGHT UP ONE ONLY
PAUSE 1000              'DELAY 1 SECOND
NEXT B2                 'SHIFT THE "ON" LED TO THE RIGHT
GOTO START              'DO IT ALL AGAIN
CLEAR:                  'SET TO ALL OUTPUTS AND LOW
LOW 0                   '
LOW 1                   ' PIGMY BASIC STAMP TEST PROGRAM by Don McKENZIE
LOW 2                   ' P.O. Box 595 Tullamarine 3043
LOW 3                   ' AUSTRALIA
LOW 4                   '
LOW 5                   ' 19-Jul-94
LOW 6                   '
LOW 7                   '
RETURN                  '

Top of Page.

PIC.001 with a 24LC65 EEPROM.

From: "Elvin Slavik" elvin@ozemail.com.au
To: 
Subject: Re: PIC001 & 24LC65
Date: Tue, 7 Jan 1997 17:26:34 +1100

Thanks for the reply Don. 

I really should roll my brain back to previous replies sometimes.

I found the problem which was half of the previous note (ie R* is required
to pull-up SDA) but also I've found SCL also needs to be pulled up
otherwise not much happens when writing to the EEPROM. This appreas to be
contrary to what you've said is required for FED 84.

> We have found that the pullup on pin 6 (SCL) isn't needed.

I could'nt find a good spot to put the resistor so I've put into the holes
that tie DI/DO on a 93LC56 to A0. (This is between the PIC and EEPROM
sockets). The resistor didn't fit and was too hard to put on the solder
side so it sit's up bit. On the back side I've run a link over to 5V and
viola!! It now works perfectly.

Note this is running on a 10Mhz PIC (with 10Mhz xtal) and using the I2C
routines supplied with CCS C. I look at the dissasembly and nothing
paricularly strange is going on but you can see where it stops in a loop
waiting for SCL to go high.

Another page turns in my understanding of PIC stuff.

Regards. Elvin

Top of Page.

PIC.001 with FED-84 Basic.

Fit the following:

IC1  1 by FED 84 Interpreter chip.
IC4  1 by 8k EEPROM (24Lc65) (installed in the set of holes in line
       with IC1)
XL1  1 by 4 meg XTAL, or a 4Mhz 3 legged resonator. (It must be 4 meg)
R1   1 by 10k Resistor. Pin 3 RTCC pullup to +5V.
R2   1 by 10k Resistor. Pin 4 MCLR pullup to +5V.
R8   1 by 10k Resistor. SDA Pullup to +5V.
C1   1 by 15 to 22pf Ceramic Cap. (Only if Crystal fitted).
C2   1 by 15 to 22pf Ceramic Cap. (Only if Crystal fitted).
C3   1 by .01uf cap bypass. (+5v to GND)

If a DT001 board or an external MAX-232 is fitted, there is no need to fit
the cheap transistor comms circuitry.

NOTE **** If sockets are fitted, R8 will need to be a 1/16th Watt as
specified to enable it to fit, otherwise fit it to the solder side of the
board.

When soldering in the crystal, make sure it is sitting up off the board
slightly, so that it doesn't short out any tracks underneath.
Top of Page.

More FED-84 info and ZIF sockets.

Date: Tue, 07 Jan 1997 07:37:53 +1000
From: Don McKenzie 
Organization: Dontronics

As no one, including me, have said that they have a FED 84 running, I
thought I better do something about it, so I slapped one together last
night.

I also thought that something I may say could spark off a thought
process thay may help Elvin with the FED 57 unit.

A word of warning about the DT001 PCB. On Revision A, you must swap the
connections to pins to pins 2 and 3 on the DB-9 connector. This can be
done on the PCB itself, or the D-9 cable.

Fitting a PIC.001 SimmStick with FED 84 Basic:
=============================================

As with all my first time boards, good quality machine pin sockets can
be fitted to positions IC1 (PIC84) and IC4 (EEPROM) positions. This is
shown on the overlay in Antti's PDF file for the PIC.001

Fit the 4 Mhz crystal, but don't solder it hard onto the board as tracks
are running underneath and may short out, so make sure that a small gap
is left between the crystal and the PCB.

Fit C1 and C2 caps. These are very tight onto the crystal, but fit
without too much effort. Antti suggests 20 to 30 pf. I used 15pf as
that's what I have used for some time on PIC chips. No doubt both work
fine.

Antti also suggests the use of 1/16W resistors. Once again, I only had
1/4W. 
I fitted:
R1 10K, 84 pin 3 RTCC pullup to +5V. (shown on PDF)
R2 10K, 84 pin 4 MCLR pullup to +5V. (shown on PDF)
R8 10K, EEPROM pin 5 SDA pullup to +5V (shown on PDF)

R8 size is very restrictive. I should have used a 1/16W as it is a tight
fit where it is. It would mount nicely on the solder side of the board,
however you would need to mount it before the crystal and Caps so that
you can snip the legs off easily.

Robin Abbott (FED Basic) uses 22K pullups on both the SDA (pin 5) and
SCL (pin 6) of the EEPROM. Pin 5 is also the Boot switch connection on
the DT001 board.

We have found that the pullup on pin 6 (SCL) isn't needed.

The FED 84 is programmed in advance for either a 2K or 8K EEPROM, so no
configuration resistor is required for memory size.

The FED 57 must have a resistor fitted for its memory size, but as the
8K version needs a high, this is the same as no resistor. The 2K EEPROM
version needs a 4.7K (4K7) resistor from the output comms (pin 9 RA3 of
the 57) to ground.   

I haven't tried the transistor comms on a SimmStick yet, but if you do,
make sure you remove the MAX-232 from the DT001 PCB if you are using it
as a design platform as the two sets of comms will conflict.

When I program any chip, I like to know that it actually does something
before shipping.
To test an 84 and a walking LED program, all I really need is a LED
monitor board hooked up to a DT001 and an 84 SimmStick.

I use my relay board as a LED monitor by connecting it to the J2 header
of the DT001 board.

I can convert a Textool ZIF socket into a machine pin socket by either
soldering suitable double ended male pins, or a component carrier to the
ZIF socket, or using a cheap sacrificial 18 pin socket pushed onto the
Textoool pins. You have to find the right sort of socket for this. It
destroys the socket, but the correct one will then mate nicely with an
18 pin machine pin socket.

This can be done with any size ZIF socket. The Aries brand don't need
all of this work as they plug straight into any other socket.

http://www.dontronics.com/hints.html has a rundown on all this
sort of stuff.

Now that I have a ZIF socket in a SimmStick, my next problem is one of
height.

Both the PIC.001 and PIC.002 fitted with ZIF sockets don't really fit
into the concept of a Simm Socket world easily, as the boards sit
upright and fit closely together.

What you need is an extender card to lift the 'ZIFfed' board above the
others and any components such as the ones fitted to the DT001 PCB.

A PROTO.002 fitted with 30 tracks would really fill the bill. This will
allow you to fit a Simm Socket to the right, one to the left, (both
sides of any board can then be inspected, probed etc.) and also allow a
female R/A 30 pin header to be fitted to the top of the board.

I made up a simple extender card with a PROTO.001 that basically has a
Female R/A header as the output up the top of it. I used an assortment
of male/female pins to get between the input and output with the 30
tracks. :-)

I then made a 30 pin straight male connector to a standard 30 pin Simm
Socket female socket by simply soldering the two together.  

I now have PIC.001 and PIC.002 SimmSticks with ZIF sockets that I can
plug into any position on the DT001 PCB.

Don...
Top of Page.

PIC.002 with FED-57 Basic.

Fit the following:

IC1  1 by FED 57 Interpreter chip.
IC4  1 by 8k EEPROM (24Lc65) (installed in the set of holes closest
       to the TOP of the PCB)
XL1  1 by 4 meg XTAL, or a 4Mhz 3 legged resonator. (It must be 4 meg)
R1   1 by 10k Resistor. Pin 1 RTCC pullup to +5V.
R2   1 by 10k Resistor. Pin 28 MCLR pullup to +5V.
R7   1 by 10k Resistor underneath the 57 chip itself from pin 1 to pin 7
       SCL Pullup to +5V.
R8   1 by 10k Resistor between IC1 and IC4. SDA Pullup to +5V.
C1   1 by 15 to 22pf Ceramic Cap. (Only if Crystal fitted).
C2   1 by 15 to 22pf Ceramic Cap. (Only if Crystal fitted).
C5   1 by .01uf cap (bypass) near voltage reg (+5v to GND)

If a DT001 board or an external MAX-232 is fitted, there is no need to fit
the cheap transistor comms circuitry.

When soldering in the crystal, make sure it is sitting up off the board
slightly, so that it doesn't short out any tracks underneath.

Top of Page.

PIC.004 with FED-74 Basic.

Fit the following:

IC1  1 by FED 74 Interpreter chip.
IC3  1 by 8k EEPROM (24Lc65) (installed in the set of holes closest
       to the LEFT border of the PCB)
XL1  1 by 4 meg XTAL, or a 4Mhz 3 legged resonator. (It must be 4 meg)
R1   1 by 10k Resistor. Pin 1 MCLR pullup.
R3   1 by 10k Resistor. R1 to +5V pullup.
R4   1 by 10k Resistor. SDA Pullup to +5V.

C1   1 by 15 to 22pf Ceramic Cap. (Only if Crystal fitted).
C2   1 by 15 to 22pf Ceramic Cap. (Only if Crystal fitted).
C5   1 by .01uf cap bypass. (+5v to GND)

If a DT001 board or an external MAX-232 is fitted, there is no need to fit
the cheap transistor comms circuitry.

When soldering in the crystal, make sure it is sitting up off the board
slightly, so that it doesn't short out any tracks underneath.

Home | Products | Prices | Site Map | Order | Contact | What's New | Books | Free Files | Links | FAQ
Top_of_Page

Dontronics_ US Home Page.      Dontronics Australian Home Page.
Copyright © 1997 Dontronics