![]() usb 1-8: new full-speed USB device number 9 using xhci_hcd usb 1-8: new full-speed USB device number 8 using xhci_hcd usb 1-8: device descriptor read/64, error -71 usb 1-8: new full-speed USB device number 7 using xhci_hcd These are the dmesg logs after doing the same procedure stated above to enter DFU mode: usb 1-8: USB disconnect, device number 6 The problem now is that I get errors when entering USB DFU mode. usb usb1-port8: unable to enumerate USB device usb 1-8: device not accepting address 10, error -71 usb 1-8: new full-speed USB device number 10 using xhci_hcd usb 1-8: device not accepting address 9, error -71 usb 1-8: Device not responding to setup address. The same messages happen when I plug the board while pressing the boot0 button. Plugging the board this way skips the previously installed firmware and directly goes to the erroneous state. Has anyone experienced this problem? Is it possible to fix it? My understanding is that this board has a bootloader in the ROM that cannot be replaced or modified, so I don't think the flashing of the firmware could have interfered with the bootloader. The MCU has two pins, BOOT0 and BOOT1 which select how to boot after a reset. So obviously they both need to be set correctly at reset to go into correct mode. The BOOT0 is a separate pin, but the BOOT1 is shared with one of the GPIO pins, PB2. ![]() The board should not try to enumerate when it is connected to PC while reset button is pushed. If it still tries to enumerate even when pushing the reset button, there may be an external resistor on the USB that is always connected.Īnother explanation is that it does enter bootloader properly, but some other interface for firmware upload gets activated due to noise or toggling, so the bootloader deactivates USB before USB connection is detected. Make sure there are no extra pull-ups on USB data pins, and that there is no pin that floats or has activity when bootloader is entered - all other UART pins must be held static for example.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |