Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - bmn123

#1
P89V51Rx2/P89LV51Rx2 / Re: Unable to program P89V51RD2
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.
#2
P89V51Rx2/P89LV51Rx2 / Unable to program P89V51RD2
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.