Hi, wkz,
Below is my advice for you:
1. Using uuu tool to program u-boot to eMMC or SD
if you are using windows, windows 10 is recommended. on windows command line:
> uuu -b emmc imx-boot-imx8mn-flash-evk.bin ( assume this is the bootloader's name, and program it into eMMC)
or
> uuu -b sd imx-boot-imx8mn-flash-evk.bin (program bootloader to sd card)
during programing bootloader to flash on board, you can see logs on console.
so you don't need to use debugger, only need USB OTG port.
>> About "Error: HID(W):LIBUSB_ERROR_TIMEOUT"
If users run uuu command on windows 7 command line, probably the error will occur. root cause is USB driver for windows 7.
>> About checking hardware design.
At the same time, you need to carefully check the hardware design: eMMC IO level matching, SD card level matching. For example, the CPU side should be 1.8V IO, and eMMC should also be 1.8V IO. If the level match is wrong, an IO error will occur in the eMMC or SD card.
Hope above information is helpful to you.
Have a nice day!
B.R,
weidong