Micro-Controller In-System Programming

MicroComputers

Design Book
Compatibility List
PCBoard
Assembler
In Circuit Prog
Project Info
Peel Source
Peel JEDEC

 

Commercial Div
University Div
Resume
Complete CV

 

ISP Adapter.pdf

AT89ISP.zip AT89ISP update.zip

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.

  1. Options > Select Port > LPT1
  2. Options > Select Device > AT89S8253
  3. Instructions > Run Target (place the chip back in Run mode)
  4. Click OK to the information message.
  5. Options > Initialize Target (place the chip in ISP mode)
  6. Click OK to the information message.
  7. Load the hex file to program.
  8. Instructions > Auto Program
  9. Make sure lock bit options are not set, and click OK.
  10. Click OK again on successful programming.
  11. Instructions > Run Target
  12. Click OK to the information message.
  13. 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.