AT89S/AT90S Series Flash Microcontroller Starter Kit
Development Tools User Guide 2-7
2.10 Running 40 pin
AT89S devices The 40 pin AT89S series can use external program memory. In order to do this the pin
must be set low. The pin in on U100 is con nec ted to J1 04, pi n 1 an d is flo ati ng. In order
to run reliab le on inte rnal pro gram me mor y , the pi n sh ould be s et hi gh. The eas iest way
to do thi s is to conn ect it to pi n 2 on J110, which is connect ed to VDD. T his shou ld not
be any problem since the jumper (reset polarity setting) on J110 should be connected
between pins 4 and 6 for AT89S devices.
2.11 Troubleshooting A lot of effort has been used to make this development board as reliable as possible, but
there ar e so me si tuatio ns whe re it m ay fai l. The follo wing l ist i s a simple ch ecklis t to g o
through when things do not seem to work the way they should do.
If the development board does not work at all, check this:
■Is a power supply applied to the target board?
■Is the power switch turned on?
Note:
Check if the power LED on the target is lit.
■Is the reset polarity jumper set correct?
■Was the reset polarity jumper set correct at power-on?
■Is the EA pin set correct on AT89S 40 pin devices.
■Is a device inserted into U100 or U110 socket?
■Is the device inserted the right way in the socket?
■Are all the device pins inside the socket?
■Is the correct device inserted to the socket?
Check that the device is thoroughly inserted into the target board programming
socket.
2.11.1 If the development
can not be found by
the AvrProg SW,
check this:
■Is the serial cable well connected in both ends?
■Is the serial cable of the right type?
Note:
Only a one-to-one cable will work. Null modem cables with twisted RX/TX pins
will NOT work.
■Does more then one program accessing the serial port in a Windows environment?
A commo n problem with W indows environme nts is th at two programs ca n not c ontrol
the same serial port at the same time. If a DOS window is open and a program which
used the serial por t has been run (even if the program has been exit), the Windows
v ersion of AvrProg will not work. The same situation will occur if the Windows version
of AvrProg is st ill open, and th e MS-DOS version is r un in a DOS window. The solu-
tion is to close down (completely) all programs (and DOS windows) that may use or
may have used the serial port. This should solve the problem.
2.11.2 Programming/ verify
failures If AvrProg show either of the “Programming failed!” or “Verified failed!” messages,
check the foll owi ng li st:
■Have you selected the correct device in the device menu on the Windows version?
■Have you remembered to use the -d option on the MS-DOS v ersion?
■Have you typed the device name right (-d option) on the MS-DOS version?
Note:
If you have tried to program a device with a wrong device selection, the target
board SW may crash and get totally locked. It may be seen on the
AT90 DEV BOAR D that the ye llow LED is con sta ntl y lit. On the A T90 PRO G120 0
board, the green LED may be constantly lit. If this happens, use the respective
reset buttons on the target boards, and try again. If this does not help, turn off
the power to the target boards and close down the AvrProg programs. If the
MS-DOS version is used in a DOS window in a Windows environment, close