Question
USB Mass storage - using ST Mass_Storage example code
Posted on August 15, 2011 at 13:32
Hi,
I'm trying to implement USB mass storage and mass storage bootloader on STM32F103RBT but ... I have a problem with the adapted the code from STM32_USB-FS-Device_Lib_V3.3.0 Mass_Storage example. The ISTR_RESET interrupt is received (MASS_Reset() gets called) when I connect the USB cable to a host PC but no other USB interrupts take place. I think that the code is correctly implemented: - Peripiheral clock is enabled and Interrupts are enabled - USB clock initialised to 1.5 of system clock of 72Mhz (checked that sys clock is 72Mhz) The startup code calls the following routines: MAL_Config(); Set_USBClock(); //USB clock setup USB_Interrupts_Config(); /NVIC setup USB_Init(); Has anyone implemented USB mass storage successfully? What interrupts would you expect to receive after ISTR_RESET? Thanks.