Hi!
I'm evaluating USB0 host msc, and I'm trying to use starterware example usb_device_host_msc.
In this example USB interrupts are enabled here:
|
// // // |
USBInterruptEnable() function register USB1HostIntHandler() as ISR, which uses g_USBInstance variable to access USB registers.
Problem is that g_USBInstance is not configured by anyone before USBInterruptEnable() call, so at the very first register read/write every variable in g_USBInstance is NULL (or random data, since nobody initialize it).
Any advice?