Flash Magic Forum

In-System Programming Support => P89C51Rx+/P89C51Rx2/P89C66x/P89C6xX2/P89V66x => Topic started by: dptxp on November 16, 2007, 05:52:00 AM

Title: Unable to access P89CRD2BN after write
Post by: dptxp on November 16, 2007, 05:52:00 AM
I never had any problem with the old RD2 or with P89C61X2BN, but here I am unable to
access the device by ISP (yes I keep PSEN low at time of reset) once I program the
device, security bit set or not.

No problems with P89C61X2.

Title: Re: Unable to access P89CRD2BN after write
Post by: Andy Ayre on November 19, 2007, 07:44:22 AM
Have you verified the voltage on PSEN and VCC using a scope at the pin itself?

Andy
Title: Re: Unable to access P89CRD2BN after write
Post by: dptxp on November 26, 2007, 02:55:21 AM
NO. I keep psen shorted to ground till about 1 sec after power-up.
Justlike for P89C61X2. The old H version too worked this way.

89CRD2BN can be accessed till programmed. Not after that.
Title: Re: Unable to access P89CRD2BN after write
Post by: Andy Ayre on November 26, 2007, 07:33:27 AM
If you can access it until after being programmed then:
  - serial comms works
  - ISP entry method does not work

So you should check the voltages on PSEN and VCC at the pins themselves. Make sure the signals match the requirements in the datasheet.

Andy