Author Topic: Where can I find ISP schematics of 89LV51RD2  (Read 11229 times)

Wah

  • Guest
Where can I find ISP schematics of 89LV51RD2
« on: June 16, 2004, 08:51:47 pm »
Hi,

Where can I find ISP schematics of 89LV51RD2? I don't know how to connect it when I program 89LV51RD2. Thanks.

Wah

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2165
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Where can I find ISP schematics of 89LV51RD2
« Reply #1 on: June 17, 2004, 08:25:39 am »
I'm not sure where there is a schematic diagram currently, but I believe you just need to connect the device to VCC and VDD and ensure /EA is pulled high. Then after reset the device waits for a short amount of time for a 'U' to arrive before executing any code programmed into it.

The RS232 circuit will be identical to any other 8051.

Embedded Systems Academy, Inc.
support at esacademy dot com

Debajyoti

  • Guest
Any one programmed P89v51RD2BN
« Reply #2 on: June 25, 2004, 05:05:24 am »
Dear friends,
      I have got this controller(P89v51RD2BN) but am unable to get it into ISP mode.Could anyone suggest me the way to do it.

      I connected Vdd to 10uF and 8.7kohm to ground and connected it to RST./EA is pulled high.But its not entering into the programming mode.

      Please help!!!!!

   I must thanks Mr.Andrew for helping me to get my P89c51RD2BN controllers to RE-Program.Mr. Andwer once again I am bothering you.Please revert back.

      Thanking you.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2165
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Any one programmed P89v51RD2BN
« Reply #3 on: June 25, 2004, 08:46:08 am »
Did you select the correct device in Flash Magic? If you did then whenever you try to perform an ISP operation, a small window should pop up saying "reset the device into ISP mode now", with a cancel button. If you reset the device the window should dissappear and the ISP operation should start. What are you seeing?

Embedded Systems Academy, Inc.
support at esacademy dot com

Debajyoti

  • Guest
P89v51RD2BN
« Reply #4 on: June 27, 2004, 10:19:35 pm »
Dear Mr.Andrew,
        Thanks.You are exactly right.This is what happen when I try to program my P89v51RD2BN.When I click the CANCEL button it dissapears but when I press the START button, the same window pops up again.

        Sir could you tell me what I am supposed to do once I press the CANCEL button.What I gathered from your earlier reply is that I must pull the RST pin High for sometime before press the START button again.

       Regards.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2165
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: P89v51RD2BN
« Reply #5 on: June 28, 2004, 08:30:10 am »
The window appears every time you click on Start - that is normal.

When the window is being displayed - and only then - reset your device. If successful the window will automatically dissappear and Flash Magic will start it's ISP operations.

You only click on Cancel if you are giving up with the procedure.

Embedded Systems Academy, Inc.
support at esacademy dot com

Debajyoti

  • Guest
Thanks
« Reply #6 on: June 30, 2004, 01:41:00 am »
Dear Mr.Andrew,

        I have programmed the device but its for once only.Next time its not going into ISP mode rather executing user program.
       
        What should be done in order to Re-Program the device.Any errata sheet or schemetic is available which could guide me.

         When I started to program I checked the 6 clk bit true.So it gave me a Message "If you set it to 6 clk it cannt be changed......." so should I keep it unchecked.Why is it not programming for the second time.

        Waiting for your reply/suggestions.

Thanking you.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2165
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Thanks
« Reply #7 on: June 30, 2004, 08:11:46 am »
The ISP entry for that device is identical each time, so I'm not sure why it isn't entering ISP mode again. Which baud rate did you successfully connect at and which baud rates have you tried to get it back into ISP mode?

Embedded Systems Academy, Inc.
support at esacademy dot com

erikm

  • Guest
Re: Where can I find ISP schematics of 89LV51RD2
« Reply #8 on: June 30, 2004, 10:27:23 am »
>>The ISP entry for that device is identical each time, so I'm not sure why it isn't entering ISP mode again. Which baud rate did you successfully connect at and which baud rates have you tried to get it back into ISP mode?<<

The 'V' thread re serial number raise the question "did you enter a serial number?"

Erik

Gambier

  • Guest
Re: Mute 89V51RD2
« Reply #9 on: July 01, 2004, 06:06:39 am »
Flash send the code 02 to set the frequency, this code is understood by the 89V51 to run softICE next time. So the processor doesn't enter in the ISP mode and never again...
This is true when you don't select first the good processor or by invoking Flash Magic in the command line mode

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2165
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Mute 89V51RD2
« Reply #10 on: July 01, 2004, 08:47:38 am »
Yes, it is always important to select the actual device you are using!

Embedded Systems Academy, Inc.
support at esacademy dot com

umesh

  • Guest
Re: P89v51RD2BN
« Reply #11 on: September 30, 2005, 12:36:53 am »
i am new in this enviroment and i wan't basic c code for keypadAndrew Ayre wrote:

> The window appears every time you click on Start - that is
> normal.
>
> When the window is being displayed - and only then - reset your
> device. If successful the window will automatically dissappear
> and Flash Magic will start it's ISP operations.
>
> You only click on Cancel if you are giving up with the
> procedure.
>
>

Parvez Akhtar

  • Guest
ISP mode in P89v51RD2BN
« Reply #12 on: September 30, 2005, 05:16:11 am »
Sir, what I came to know by discussion is to reset the (Reset) pin when it is asked to reset by window with cancel option. But when I practiced it, it w'nt go some time in ISP mode. So please will you convey me the proper way for programming.
Thanks
PArvez Akhtar

Jan Waclawek

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
Re: Where can I find ISP schematics of 89LV51RD2
« Reply #13 on: September 30, 2005, 08:12:46 am »
Parvez,

Sometimes you might just need to retry - depending on the combination of crystal frequency, RS232 level convertor+cable (delays and distortions) and the baudrate the autobaud process can sometimes kick in at a different frequency.
However, you might try to go down with the baudrate and that generally helps - try perhaps as low as 1200 bauds.

Jan Waclawek

6uoos

  • Guest
Re: Where can I find ISP schematics of 89LV51RD2
« Reply #14 on: September 14, 2006, 03:00:14 am »
      I have some problems with ISP. I had an embedded board for  P89V51RD2 (5V) and I 've modified it for P89LV51RD2 (3V) but cannot use an ISP mode. I don't know what's wrong. I modified something here ;
   - Separate and use the 5V supply for RS232.
   - Replaced the old 5V power supply on board by 3.3V source.
When using Flash Magic , everything seems to be hang and no response.
What should I do?  
                                                   Thank you ,