Flash Magic Forum

In-System Programming Support => P89V51Rx2/P89LV51Rx2 => Topic started by: bmn123 on October 05, 2007, 06:42:56 am

Title: Unable to program P89V51RD2
Post by: bmn123 on October 05, 2007, 06:42:56 am
I am programming a P89V51RD2 with a 12MHz crystal using a USB-RS232 adapter.

However, I keep getting a message which says:-

UNABLE TO COMMUNICATE. TRY REDUCING THE BAUD RATE. RESET THE HARDWARE INTO ISP MODE.

I have tried every Baud rate available and still get this message.

What should I do to solve this problem?

Edit: I have tried unchecking the "Use DTR to control RST" box. That gives me the message "RESET THE DEVICE TO ISP MODE NOW". However, switching OFF and ON the power supply or pressing an external RESET button does not help at all.
Title: Re: Unable to program P89V51RD2
Post by: Jan Waclawek on October 05, 2007, 10:11:56 am
Can you try a different USB-RS232 adapter? Or a true COM port?

Have you also read the troubleshooting guide (http://forum.flashmagictool.com/index.php?topic=3273.0 and http://forum.flashmagictool.com/index.php?topic=3375.0)?

JW
Title: Re: Unable to program P89V51RD2
Post by: bmn123 on October 13, 2007, 02:08:44 am
I tried a true serial port and everything works fine. However, now I am facing another dilemma.

I am carrying out the In-Application Programming in the microcontroller. However, I am unable to write in the same location for a second time. I believe this may be because the flash needs to be erased before being written into like in the P89C51RD2.Is there any way to get around this problem?

Flash Magic has the feature to Erase Flash Pages. Is it possible to do so with software in the P89V51RD2? This would allow me to just erase my data and preserve my code.
Title: you'll find the answer here:
Post by: Jan Waclawek on October 13, 2007, 08:49:15 am
http://www.8052.com/forum/thread.phtml?thread=145736
Title: Re: Unable to program P89V51RD2 [This Works !!]
Post by: maggidatta on March 28, 2014, 03:37:17 am
Follow the documentation in the following link. This works fine !

http://www.nex-robotics.com/images/downloads/P89V51RD2%20Developement%20Board.pdf (http://www.nex-robotics.com/images/downloads/P89V51RD2%20Developement%20Board.pdf)