Flash Magic Forum

Archive => Old Topics => Topic started by: Raf on August 24, 2004, 02:30:09 PM

Title: Programing P89C51RD2HBP by WinIsp
Post by: Raf on August 24, 2004, 02:30:09 PM
I have problem with programming my uC by ISP. The programmer shows:
initializing device....(19200...150) and it is the END!!! I can see only
"Invalid Response to 'U'.-->" What is this? I don't know how connect my uC to program (ISP mode). In data sheet (P89C51RB2Hxx,P89C51RC2Hxx,
P89C51RD2Hxx) is:
" The boot loader can also be executed by holding PSEN LOW, P2.7,
P2.6 high, EA greater than VIH (such as +5 V), and ALE HIGH",  but in another data sheet is without P2.6 to high. What is correct??What do I work wrong??
Title: Re: Programing P89C51RD2HBP by WinIsp
Post by: Andy Ayre on August 24, 2004, 02:33:51 PM
Switch to using Flash Magic. WinISP contains some bugs and incorrect assumptions on how the devices autobaud.

You need to hold P2.6 and P2.7 high. Some of the older datasheets omitted P2.6 by mistake. If you don't pull both high then the device will not function correctly.

Title: Re: Programing P89C51RD2HBP by WinIsp
Post by: raf on August 24, 2004, 03:05:49 PM
So, pins to programing are:
-P2.7 high
-P2.6 high
-Vpp +5V
-RST holding high

And uC(P89C51RD2HBP) is ready to programming?