nobody wrote on Monday, January 09, 2006:
You need to write an interrupt handler like the one for uart
; Wrapper for the USB interrupt service routine. This can cause a
; context switch so requires an assembly wrapper.
; Defines the portSAVE_CONTEXT and portRESTORE_CONTEXT macros.
portSAVE_CONTEXT ; Save the context of the current task.
bl USB_Istr ; Call the ISR routine.
portRESTORE_CONTEXT ; Restore the context of the current task -
; which may be different to the task that
; was interrupted.
and then exchange the DefaultISR with vUSBISREntry at the USBLP_Addr and the USBHP_Addr