Author Topic: 89C51RD2 is not ready to enter in ISP  (Read 63744 times)

Jesper

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #45 on: January 11, 2005, 09:05:10 am »
I not remember,but i think it is a full device erase.
but wait a second, as I told you, the board is still executing the code, and I mean it is still running the code that I programmed inside before I erase it.
or the board is running the new code???....I'm not sure,because I just make a small change to the code...

as I remember the interrupted occur in the erasing process...if it is erased the flash...then how come it only erase the RootROM and my code is still in it. If the interrupted occur when it finish erase the flash and have write my new code in...then how come it can write my new code in with out the BootROM at the end...hmm....

what is the function of start BootROM in the Flash Magic, can it do the job.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2168
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: 89C51RD2 is not ready to enter in ISP
« Reply #46 on: January 11, 2005, 09:10:16 am »
I don't know why it still has code it in. It could have been that the erase was just starting and the first locations to be erased are the boot vector and status byte.

You can build into your application the ability to receive a command on the UART and then use IAP to place the device into ISP mode. The Start BootROM feature allows you to send those commands that your application expects. It's all described in the manual. :)

Embedded Systems Academy, Inc.
support at esacademy dot com

Jesper

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #47 on: January 11, 2005, 09:28:54 am »
now I not able to use ISP then how i going to program the UART command in it ???....
what is mean by IAP. what is the diffence between IAP and ISP....is they same as in the hardware part or software part.

I just read about the Start BootROM, in the manual...it say that Start BootROM need the chip running the serial command to watch the UART from Flash Magic in it before to get thing work. but my the code in the chip now don't have the function:(

Jesper

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #48 on: January 11, 2005, 10:17:21 am »
Is that a must to have the BootROM in the flash to do ISP.
can I know is that all serial port programming for P89C51 are using ISP method any need BootROM. without the BootROM no software can do serial programming ????

Jesper

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #49 on: January 11, 2005, 07:25:24 pm »
Problem sloved, I give it a higher voltage to force the P89C51RD+ to enter ISP mode, bout 12.3v so I able to connect it with Flash Magic to erase the chip again.
anyway, thanks Andrew Ayre for helping me.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2168
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: 89C51RD2 is not ready to enter in ISP
« Reply #50 on: January 11, 2005, 07:27:54 pm »
I'm glad you found the solution. Note that newer Philips ISP programmable devices don't require a 12V programming voltage, 5V is used instead.

Embedded Systems Academy, Inc.
support at esacademy dot com

varun

  • Guest
Re: isp mode
« Reply #51 on: January 13, 2005, 12:05:04 am »
hi

varun

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #52 on: January 13, 2005, 12:10:00 am »
hi
can u send me the errata datasheet of 89c51rd2 .
can any body send the hardware configuration they r using for the ISP
of 89c51rd2bn.?
thanks


erikm

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #53 on: January 13, 2005, 04:40:10 am »
can u send me the errata datasheet of 89c51rd2 .
Maybe micro will, otherwise find it at the philips website, why do you need som,eone else to find it for you



can any body send the hardware configuration they r using for the ISP
of 89c51rd2bn.?
There is NONE, see AN461 for what you need to do

Weik

varun

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #54 on: January 13, 2005, 09:35:41 am »
i tried a lot but i didnt find the errata datasheet .
i think it is not on the philips website.
i have made the circuit given in the AN461 but it does not work.?
when ever i try to erase the flash "unable to connect" message pops up.
can you help me to solve this problem?
i am using 89c51rd2bn at 12 megahertz frequency

erikm

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #55 on: January 13, 2005, 09:45:00 am »
 tried a lot but i didnt find the errata datasheet


the link is on the"cover page" for the chip

when ever i try to erase the flash "unable to connect" message pops up.
can you help me to solve this problem?
i am using 89c51rd2bn at 12 megahertz frequency


Does it work with a factory fresh chip ?

Erik

Arif Deshmukh

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: 89C51RD2 is not ready to enter in ISP
« Reply #56 on: January 14, 2005, 04:26:23 pm »
Hello,
          I have erased P89C51RD2 and P89V51RD2 using programmer. By mistake I have erased entire chip including BOOT LOADER software wich resides in the chip, and it does not come in ISP mode. Please send me the boot loader software for both the chip so I will programe the same, or give me the address of the web site from where I will get boot loader.
           My ID is ---> thecodewarrior@rediffmail.com

Regards.

varun

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #57 on: January 16, 2005, 01:44:14 am »
i am using the factory fresh chip.
but it does not work.
i really cant find anything wrong in the connection.
the serial port is also working properly when serial port mouse is used.
so  can there be problem with software?i.e. flash magic?

varun

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #58 on: January 16, 2005, 04:21:54 am »
what is the work around for reset given in the errata sheet.?
and what about PSEN pin.
i am using 89c51rd2bn but whenevre tried to connect it give the message that it is unable to connect.try reducing baud rate.
i am not finding the errata datasheet on the net.
so please can you send me it my email id is:varun_rz@rediffmail.com


erikm

  • Guest
Re: 89C51RD2 is not ready to enter in ISP
« Reply #59 on: January 17, 2005, 05:50:55 am »
the link to the errata is on the header page for the chip
\
Erik