In System Programming
(ISP) is used to load programs via a parallel port on a PC.
Software is required on the PC. Atmel provides one for download.
An update is required for newer chips.
A connector is
required to translate the parallel pins to the chip. We use a
custom design so an Ethernet cable and RJ45 can be used. A
74hc245 transciever is built on the board. This must be a CMOS
version, so that adequate voltage will be delivered without a
pullup resistor on the output.
Instructions for
using the Atmel AT89ISP program.
-
Options > Select Port > LPT1
-
Options > Select Device > AT89S8253
-
Instructions > Run Target (place the chip back in Run
mode)
-
Click
OK to the information message.
-
Options > Initialize Target (place the chip in ISP mode)
-
Click
OK to the information message.
-
Load
the hex file to program.
-
Instructions > Auto Program
-
Make
sure lock bit options are not set, and click OK.
-
Click
OK again on successful programming.
-
Instructions > Run Target
-
Click
OK to the information message.
-
Congratulations! You are now running your new program!
ERRORS:
A
common error message is the chip is WRITE LOCKED to
programming. That indicates the chip should be put in the
RUN mode, then the INITIALIZE.
If the
program does not run after downloading, the chip needs to be
put in the RUN mode again after programming.
|