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

Topics - haresh

#1
P89V51Rx2/P89LV51Rx2 / Assistance needed with P89V51RD2BN
November 29, 2006, 04:56:30 AM
Hello everyone,

Can any one assist me with the issue am experiencing.

I am using Philips P89V51RD2BN for my project; Flash Magic to program it.

The issue:-

I was able to read the device signature 4 or 5 times earlier.

After that when I built a simple project using Keil uVision 3 that  toggled pin 1.0 of  the micro-controller it would not run.

The project included a simple file with the following code:-

#include
 
#include

void main(void)
{
 unsigned int i;

  while(1)
 {
   P1 = 0x01;
   for(i=0;i<50000;i++);
   P1= 0x00;
 }  
}

Using the debug utility of Keil I found that the code was correct and was giving the desired output.

With a Digital Multi-meter I tried to check if the output at the pin was toggling or not. There was no change at the pin it remained 5V. Also, all the other pins showed 5 V. I reset the device, and then tried to re-program the device. But still there was no desired output.

I attempted once more, Then mid way, I attempted to cancel the burning. While the cancellation was going on, there was a power failure.

After that whenever I try to read the device, I am prompted to reset the device in ISP mode. I tried reducing the Baud Rate (as prompted a few times), but with no results.

For the reset circuit, I have connected a 10uF (electrolytic) capacitor in series with a 8.2K resistor between the Vcc[5V] and ground.The node of R-C  has been connected to the pin 9 of the controller. A push-button switch has been connected across the capacitor.
#2
P89V51Rx2/P89LV51Rx2 / No Subject
September 10, 2006, 06:43:01 AM



Post Edited (09-10-06 06:49)