I need to install the MicroPython on a board https://github.com/elhep/MCORD_HUB/tree/master/Hub_PCB based on NUCLEO_H743ZI
I have successfully compiled the MicroPython, hower after I run `make BOARD=NUCLEO_H743ZI deploy`, I can see the following in my console:
Code: Select all
$ make BOARD=NUCLEO_H743ZI deploy
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
GEN build-NUCLEO_H743ZI/genhdr/qstrdefs.collected.h
QSTR not updated
Writing build-NUCLEO_H743ZI/firmware.dfu to the board
File: build-NUCLEO_H743ZI/firmware.dfu
b'DfuSe' v1, image size: 454133, targets: 1
b'Target' 0, alt setting: 0, name: "ST...", size: 453848, elements: 2
0, address: 0x08000000, size: 15024
1, address: 0x08040000, size: 438808
usb: 0483:df11, device: 0x0000, dfu: 0x011a, b'UFD', 16, 0xd9d4728f
Writing memory...
0x08000000 15024 [=========================] 100%
0x08040000 438808 [=========================] 100%
Exiting DFU...
Code: Select all
[ 5183.396365] usb 2-11: new full-speed USB device number 36 using xhci_hcd
[ 5183.546193] usb 2-11: New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
[ 5183.546200] usb 2-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5183.546203] usb 2-11: Product: DFU in FS Mode
[ 5183.546205] usb 2-11: Manufacturer: STMicroelectronics
[ 5183.546208] usb 2-11: SerialNumber: 100364500000
[ 5187.256027] usb 2-11: USB disconnect, device number 36
[ 5213.008134] usb 2-11: new full-speed USB device number 37 using xhci_hcd
[ 5213.157759] usb 2-11: New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00
[ 5213.157762] usb 2-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5213.157764] usb 2-11: Product: DFU in FS Mode
[ 5213.157766] usb 2-11: Manufacturer: STMicroelectronics
[ 5213.157767] usb 2-11: SerialNumber: 100364500000
[ 5283.658262] usb 2-11: USB disconnect, device number 37
[ 5283.963523] usb 2-11: new full-speed USB device number 38 using xhci_hcd
[ 5299.439372] usb 2-11: device descriptor read/64, error -110
[ 5315.059266] usb 2-11: device descriptor read/64, error -110
[ 5315.295213] usb 2-11: new full-speed USB device number 39 using xhci_hcd
[ 5330.671446] usb 2-11: device descriptor read/64, error -110
[ 5346.286952] usb 2-11: device descriptor read/64, error -110
[ 5346.394973] usb usb2-port11: attempt power cycle
[ 5347.046933] usb 2-11: new full-speed USB device number 40 using xhci_hcd
[ 5352.302860] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 5357.678823] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 5357.886762] usb 2-11: device not accepting address 40, error -62
[ 5358.014773] usb 2-11: new full-speed USB device number 41 using xhci_hcd
[ 5363.054806] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 5368.430698] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 5368.638691] usb 2-11: device not accepting address 41, error -62
[ 5368.638762] usb usb2-port11: unable to enumerate USB device
I have tried to disable the SD card (as it is not connected in that board) and to comment out
definition of the HW_UART:
Code: Select all
#define MICROPY_HW_ENABLE_SDCARD (0)
[...]
//#define MICROPY_HW_UART_REPL PYB_UART_3
//#define MICROPY_HW_UART_REPL_BAUD 115200
What can be the cause of that misbehavior?
TIA & Regards,
Wojtek