cancel
Showing results for 
Search instead for 
Did you mean: 

Bootloader on STM32H503RB via USB

CWedg.1
Associate III

We wish to bootload a STM32H503RB using USB. This works on the NUCLEO-H503RB, but after resetting the processor on our PCB with BOOT0 high windows reports "Device Descriptor Request failed".

AN2606 states that CRS is enabled for the DFU to allow USB to be clocked by HSI48 48 MHz, but is there anything CRS needs to work?

 

 

8 REPLIES 8
MM..1
Chief II

Maybe show schematics , seems some hw fail on your pcb

CWedg.1
Associate III

Schematic.png

CWedg.1
Associate III

USB socket and processor are within 30 mm, D+ and D- both have 2 or 3 vias. We have tried remove the IP4220CZ6 and behaviour did not change.

CWedg.1
Associate III

In case it matters PC14/OSC32_IN drives a HC logic device. Shorted pin to 0V (so it wouldn't try and lock to noise) and still got the USB error.

D+ D- is USB differential pair must meet wired impedance and length minimum difference on pcb...

CWedg.1
Associate III

CWedg1_0-1716883458834.pngCWedg1_1-1716883740086.png

Impedance could be improved, but I believe this should be sufficient for FS (12 MHz) performance. Total distance is less than 25 mm.

 

Still trying to find a solution to this and I have found something that confuses me. Table 6 of AN4879 Introduction to USB hardware, etc has a "-" in the entry for crystal-less USB for the STM32H503, but RM0492 Reference manual for STM32H503 line MCUs section 11 says that the clock recovery system can synchronise using SOF on the USB bus, presumably from the USB Host or the 32kHz LSE.

 

 

CWedg.1
Associate III

The processor on the MB1814B Nucleo board is labelled RBT6U, but the processors we have are labelled RBT6. What does the "U" mean?