dani
Full Member level 4
Hello all,
I am trying to program Blinky program to P89LPC936 microcontroller through a universal programmer(SuperPro). But the microcontroller is not running. Please I need help regarding it where i am doing wrong.
Here is code >>>
Here is Hex file >>>
And here is the Dev Config attached settings in SuperPro universal programmer >>>
Regards
Dani
I am trying to program Blinky program to P89LPC936 microcontroller through a universal programmer(SuperPro). But the microcontroller is not running. Please I need help regarding it where i am doing wrong.
Here is code >>>
/* Blinky.C - LED Flasher for the Keil LPC900 EPM Emulator/Programmer Module */
#include <REG936.H> // register definition
void delay (unsigned int cnt)
{
while (--cnt);
}
void main()
{
unsigned char i;
P2M1 = 0;
for(;
{ for (i = 0x01; i; i <<= 1)
{ P2 = i; // simulate running lights
delay (50000);
}
for (i = 0x80; i; i >>= 1)
{ P2 = i;
delay (50000);
}
}
}
Here is Hex file >>>
:0A003800EF1F70011E144E70F72236
:10000300E4F5A47D01ED600EF5A07F507EC31138A9
:10001300ED25E0FD80EF7D80ED60E8F5A07F507E6B
:09002300C31138EDC313FD80EF99
:04FFF00023001E00CC
:08FFF800000000000000000001
:0300000002002CCF
:0C002C0078FFE4F6D8FD758107020003A0
:00000001FF
And here is the Dev Config attached settings in SuperPro universal programmer >>>
Regards
Dani