This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPCUSB, USBCDC; A reply to thread-16477

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.

Parents
  • 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.

Reply
  • 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.

Children
No data