AnsweredAssumed Answered

USB on stm32f103

Question asked by franciulla.geoffrey on Jan 20, 2015
Latest reply on Jan 22, 2015 by franciulla.geoffrey

I'm trying to use a mass storage example taken from here Stm32F10x_USB_FS.

When I'm executing, at startup the driver gets a SUSP, RESET and ESOF interrupt causing it to first reset then suspend and it stay indefinitly suspended.

When debugging I noticed that in the PowerOn method executed at startup (just before interruption control register setting) the instruction
does not write the entire register to zero.

So three questions:

1: Is it possible that my observation comes from the time needed by the debugger to read the register, a single step on the instruction, causing new interrupts to occures ?

2: If no, does my problem could come from here ?

3: Anybody got this mass storage exemple working ?

Thank you in advance for your help.