Flash Magic Forum

In-System Programming Support => P89V51Rx2/P89LV51Rx2 => Topic started by: Wah on June 16, 2004, 08:51:47 PM

Title: Where can I find ISP schematics of 89LV51RD2
Post by: Wah 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
Title: Re: Where can I find ISP schematics of 89LV51RD2
Post by: Andy Ayre 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.

Title: Any one programmed P89v51RD2BN
Post by: Debajyoti 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.
Title: Re: Any one programmed P89v51RD2BN
Post by: Andy Ayre 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?

Title: P89v51RD2BN
Post by: Debajyoti 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.
Title: Re: P89v51RD2BN
Post by: Andy Ayre 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.

Title: Thanks
Post by: Debajyoti 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.
Title: Re: Thanks
Post by: Andy Ayre 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?

Title: Re: Where can I find ISP schematics of 89LV51RD2
Post by: erikm 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
Title: Re: Mute 89V51RD2
Post by: Gambier 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
Title: Re: Mute 89V51RD2
Post by: Andy Ayre on July 01, 2004, 08:47:38 AM
Yes, it is always important to select the actual device you are using!

Title: Re: P89v51RD2BN
Post by: umesh 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.
>
>
Title: ISP mode in P89v51RD2BN
Post by: Parvez Akhtar 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
Title: Re: Where can I find ISP schematics of 89LV51RD2
Post by: Jan Waclawek 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
Title: Re: Where can I find ISP schematics of 89LV51RD2
Post by: 6uoos 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 ,
Title: Re: Where can I find ISP schematics of 89LV51RD2
Post by: erikm on September 14, 2006, 06:09:13 AM
I had an embedded board for P89V51RD2 (5V) and I 've modified it for P89LV51RD2 (3V)

sou8nds like you now have a 5V RS232 transciever running off 3V that will NOT work,

Erik

Title: Re: Where can I find ISP schematics of 89LV51RD2
Post by: 6uoos on September 19, 2006, 02:17:51 AM
Now ,I replaced RS232 by the new proper one (ICL3232) for 3.3V system but I cannot use the ISP mode at all. I 'm not sure that method  of ISP programming between  P89V51 and P89LV51 are similar.  
Do you have any idea ??  Thank you very much.