Author Topic: flash failure  (Read 23270 times)

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: flash failure
« Reply #15 on: March 10, 2004, 08:06:08 am »
For the benefit of others reading this thread, the problem was ripple on the power supply/EA.

Embedded Systems Academy, Inc.
support at esacademy dot com

yogesh

  • Guest
Re: flash failure
« Reply #16 on: October 07, 2004, 04:25:26 am »
Hello everybody,
I have 89C51RD2HBP    "G"   phillips make IC
I could erase the flash & program the same only the first time
Henceforth The flash is not getting Erased
in flash Magic it is giving Commn error

If anybody has soln do let me know

Thank & regards
Yogesh

erikm

  • Guest
Re: flash failure
« Reply #17 on: October 07, 2004, 05:21:53 am »
89C51RD2HBP

The "H" chips will fail if you use the stupid RC reset, use a supervisor (RC reset is stupid regardless of which chip you use).  You probably have blown the reset vector from a RC reset in which case the only salvage is in a parallel programmer.

When you get going, install NoTouch and, if developing, "the backdoor" BEFORE you blow the reset vector again and you are home frree.

Erik

S.Anbarasu

  • Guest
Re: flash failure
« Reply #18 on: December 07, 2004, 09:06:27 pm »
Author: Anbarasu.S
Date:   08 DEC 2004

Help please,

   I have tried to program the P89C51RD2BN using

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: flash failure
« Reply #19 on: December 08, 2004, 10:05:38 am »
If the status byte is non-zero then after a reset the device will enter ISP mode. If the status byte is zero then after a reset the device will execute your code.

After programming a hex file, flash magic automatically sets the status byte to zero. So, once programmed all you need to do to execute your code is reset the device.

However, /PSEN is also used to toggle between ISP mode and user code execution at reset regardless of the value in the status byte. Check with the datasheet for the states, but depending on the voltage on /PSEN at reset you may be selecting the wrong mode.

With an 11.0592MHz crystal you should be able to use 9600 baud fine. AIf you want to go faster you just have to try it and see. You can also use the high speed communications option, however you should only use that once you can reliably communicate with the device.

Note there is an errata sheet for this device. Get it from www.philipsmcu.com and implement the workaround, if you haven't already.

Embedded Systems Academy, Inc.
support at esacademy dot com

varun

  • Guest
Re: flash failure
« Reply #20 on: January 13, 2005, 03:23:13 am »
what is errata datasheet of 89c51rd2bn ?
i am not finding it on internet?
can anybody send me that?
my email id is:varun_rz@rediffmail.com

Markus Heider

  • Guest
Re: flash failure
« Reply #21 on: January 13, 2005, 06:14:56 am »
Hello,

I have just reported a (for me) similar problem with P89C669.

Just look at the post from 12-01-2005 from Markus Heider, titled "Flash Erase Problems at P89C669".

At first I had problems with using the IAP function, but with verifing that that problem occured with FlashMagic, too.

regards

Markus

varun

  • Guest
Re: flash failure
« Reply #22 on: January 16, 2005, 04:14:55 am »
hi
please give the exat address of errata datasheet of 89c51rd2bn


erikm

  • Guest
Re: flash failure
« Reply #23 on: January 17, 2005, 05:49:55 am »
please give the exat address of errata datasheet of 89c51rd2bn

NO WAY! the you will come back tomorrow with "please give the exat address of datasheet for MAX232" or something like that

The links to ALL documents related to a given Philips chip are on the "header page" that comes up when you do a search on the chip at the Philips site.

Erik

DHAVAL DEPANI

  • Guest
flash can't load
« Reply #24 on: February 20, 2005, 07:05:24 pm »
     we can't load program in below mcu, text written on the mcu is given below.
                     89C51RD2BN
                     1F9310
                     AJN0432F
                     12 CLK_ (6 CLK)
we use crystal frequency 22 mhz with 22nf cap.
     and for communication we use MAX232 (MAXIM) OR HIN232 with cap value is 10uf 63v but we can't load hex file in 89c51rd2bn using flash magic
please help me ...

erikm

  • Guest
Re: flash failure
« Reply #25 on: February 21, 2005, 05:42:08 am »
we use crystal frequency 22 mhz with 22nf cap.  I hope that is a mistype!!!

also, if the chip is configures to 6 clock you exceed the max speed.

Erik

JASMI

  • Guest
erratasheet of at89c51rd2BN
« Reply #26 on: September 01, 2005, 02:46:43 am »
HI

I M NOT GETTING ERRATASHEET OF AT89C51RD2BN

PLZ  DO  MAIL ME THIS ERRATA
THANX

erikm

  • Guest
Re: flash failure
« Reply #27 on: September 01, 2005, 05:51:12 am »
I M NOT GETTING ERRATASHEET OF AT89C51RD2BN
Then ask at an ATMEL site, FlashMagic is for Philips chips


PLZ DO MAIL ME THIS ERRATA
THANX
1) you SHOUT, 2 you use Stupid Monkey **** (PLZ) so why would anyone feel like helping you?

Erik