A reply to thread-16477
http://www.keil.com/forum/docs/thread16477.asp
I tried to post something on thread-16477, but somehow failed, and lost my original writing. After that, it seems thread-16477 has been touched, and updated with nothing.
What I tried to post is something very similar to the above post, "Found a dead-end in main_serial.c".
(Still struggle with my USB I/O Board.)
Found another thing in the LPCUSB Library:
/* USB Controller */ #define USB_BASE_ADDR 0xFFE0C000 /* USBPortSel only available on the LPC2378 */ #define USBPortSel (*(volatile unsigned int *)(USB_BASE_ADDR + 0x110)) /* USB Clock Control Registers */ #define USBClkCtrl (*(volatile unsigned int *)(USB_BASE_ADDR + 0xFF4)) #define USBClkSt (*(volatile unsigned int *)(USB_BASE_ADDR + 0xFF8)) /* USB Device Interrupt Registers */ #define USBIntSt (*(volatile unsigned int *)(USB_BASE_ADDR + 0x1C0)) #define USBDevIntSt (*(volatile unsigned int *)(USB_BASE_ADDR + 0x200))
The Address of USB Device Interrupt Registers (USBIntSt) is incorrect.
But it seems that LPCUSB does not use this Register actually.
wiki.sikken.nl/index.php The above Wiki of LPCUSB has been emptied. Don't know how to contact the maintainers of LPCUSB.