dear all, we are using USBHID code (available on keil site) for our specific application using GNU Compiler for lpc2364.during some testing in our application, we faced problem in continues while loop.
< BELOW code is original code.> int main (void) {
PINSEL10 = 0; /* Disable ETM interface */ FIO2DIR = LEDMSK; /* LEDs, port 2, bit 0~7 output only */
USB_Init(); /* USB Initialization */ USB_Connect(TRUE); /* USB Connect */
while (1); /* Loop forever */ }
<NOW my code is BELOW.> int main (void) {
while (1) /* Loop forever */ { delay(10000); /*calling delay function */ } }
void delay(unsigned long cnt) { while(cnt--); } when my code download in hardware that time USB device gone to hang. my code's total size is 70KB. we are using GNU compiler(cygnil) in windows98.so is there any problem, when keil using in windows 98? because of in keil site they specified in requirement column .(http://www.keil.com/demo/requirements.asp) in that they specified below OS. Windows 2000, Windows XP, or Windows Vista