Hi,
I found out that without the following code, the USB callback handler never gets called when data is written to the device (on EP1 OUT).
#define ID_IRQ_USB_LP (0x90)
UTIL_SetIrqHandler(ID_IRQ_USB_LP, (u32)USB_Istr);
These lines are from the PrimerMouse1.1 application, an "adapted version" for the Primer of the ST sample code (from their USB Dev Kit).
Can you give me more details about it... :
* Why is it necessary ? What/Where is the default handler ?
* Where does the offset of this #define ID_IRQ_USB_LP (0x90) come from ?
* Why isn't there anything like this in the ST sample code (nor in the ride-specific stm32f10x_vector.c) ? (or maybe I didn't look at the right place ?)
* What/Where is the corresponding code in the ST sample code if any ?
Many thanks,
Sylvain.