Author Topic: Unable to access P89CRD2BN after write  (Read 6662 times)

dptxp

  • Jr. Member
  • **
  • Posts: 31
    • View Profile
Unable to access P89CRD2BN after write
« 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.


Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2173
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Unable to access P89CRD2BN after write
« Reply #1 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
Embedded Systems Academy, Inc.
support at esacademy dot com

dptxp

  • Jr. Member
  • **
  • Posts: 31
    • View Profile
Re: Unable to access P89CRD2BN after write
« Reply #2 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.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2173
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Unable to access P89CRD2BN after write
« Reply #3 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
Embedded Systems Academy, Inc.
support at esacademy dot com