Flash Magic Forum

In-System Programming Support => P89C51Rx+/P89C51Rx2/P89C66x/P89C6xX2/P89V66x => Topic started by: kiransm on June 15, 2006, 06:04:13 AM

Title: P89C51RD2BN ISP problem!
Post by: kiransm on June 15, 2006, 06:04:13 AM
Hi all,
I am new to this list.
I am using P89C51RD2BN, through ISP i am trying to program it. but it is not entering into ISP mode.  I am using FlashMagic to do programming. it is giving me error as "Unable to connect at specified boud rate. Try reducing the boud rate"!
I have made circuitry as per AN461, the only difference is that in the reset circuit i am using 8.2K resister instead of 10K specified in AN461. also EA/VPP line is kept floating but in AN461 they have shown that that pin is connected to ground through 0.1uF capacitor. is the problem i am facing is due to these differences?. I have a jumper for PSEN pin to put microcontroller in to ISP.
please help me.

looking for your reply!

thanking in advance,

regards,
Kiran
Title: Re: P89C51RD2BN ISP problem!
Post by: Jan Waclawek on June 15, 2006, 06:17:53 AM
Have a better look at VPP/EA in schematics in AN461 - it is not just connected to GND via a capacitor - it IS connected to VCC (so the capacitor is only for decoupling).

Jan Waclawek
Title: Re: P89C51RD2BN ISP problem!
Post by: kiransm on June 15, 2006, 06:50:05 AM
aah!! ok ok!
actualy i got confused because in the same document (AN461) on page 12 they have given a schematic for typical ISP circuit, in that VPP is grounded through cap without connecting to the Vcc. i guess that is for c51RD+ microcontrollers!

thanks for fast reply

regards,
Kiran
Title: Re: P89C51RD2BN ISP problem!
Post by: Andy Ayre on June 15, 2006, 07:49:53 AM
Reset supervisor ICs are recommended for flash based microcontrollers. You might want to consider using one of those.

Title: Re: P89C51RD2BN ISP problem!
Post by: erikm on June 16, 2006, 05:37:03 AM
Reset supervisor ICs are recommended for flash based microcontrollers

I disagree!

Reset supervisor ICs are MANDATORY for flash based microcontrollers.

Title: Re: P89C51RD2BN ISP problem!
Post by: kiransm on June 19, 2006, 12:59:44 AM
Thanks everybody!!
my problem has been solved! actually it was the issue of VPP pin.
i have not connected it to VCC, insted of connecting it to VCC it was connected to GROUD on the PCB and also bootloader of my P89C51RD2 was get erased by mistake!!

Thanks again!

regards,
Kiran