Author Topic: P89C51RD2BN ISP problem!  (Read 7052 times)

kiransm

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
P89C51RD2BN ISP problem!
« 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

Jan Waclawek

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
Re: P89C51RD2BN ISP problem!
« Reply #1 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

kiransm

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: P89C51RD2BN ISP problem!
« Reply #2 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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2176
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: P89C51RD2BN ISP problem!
« Reply #3 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.

Embedded Systems Academy, Inc.
support at esacademy dot com

erikm

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Re: P89C51RD2BN ISP problem!
« Reply #4 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.

erik

kiransm

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: P89C51RD2BN ISP problem!
« Reply #5 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