bikashh
Full Member level 5
Hello all,
I am a newbie in embedded field and trying to download my program into Flash using JTAG but couldn't.
I've loaded the source file and wrote just a simple program to flash LED ON and OFF. code is written below
#include<LPC23xx.H>
int main(void)
{
int i;
PINSEL4=0xFFFFFFFC;
FIO2CLR=0x00000001;
while(1)
{
FIO2SET=0x00000001;
for(i=0;i<40000;i++)
{;}
FIO2CLR=0x00000001;
}
}
Any help would be appreciable. Thanks in advance
I am a newbie in embedded field and trying to download my program into Flash using JTAG but couldn't.
I've loaded the source file and wrote just a simple program to flash LED ON and OFF. code is written below
#include<LPC23xx.H>
int main(void)
{
int i;
PINSEL4=0xFFFFFFFC;
FIO2CLR=0x00000001;
while(1)
{
FIO2SET=0x00000001;
for(i=0;i<40000;i++)
{;}
FIO2CLR=0x00000001;
}
}
Any help would be appreciable. Thanks in advance