Hi UISRC,
mz7xa 核心板 + 开发板, vivado/sdk 2017.4, ucos_v1_43, usb host MSC
上周买了 mz7xa 核心板 + 开发板,现在做 裸核 usb host MSC 怎么也通不过,就是用 vivado/sdk debug, 测试 ucos 官网给的例程,这个例程在 microzed 上没有任何问题,microzed uart 输出如下,
Terminal ready
UCOS - uC/OS Init Started.
UCOS - STDIN/STDOUT Device Initialized.
UCOS - Initializing uC/FS.
UCOS - uC/FS initialization successful.
UCOS - Initializing uC/USB-Host.
UCOS - UCOS init done
UCOS - Total configured heap size. 81521
UCOS - Total used size after init. 9652
Hello world from the main task
... Initiliazing HOST Mass Storage class ...
UCOS - Starting uC/USB-Host.
MSC Demo: Device with unit #0 connected
Writing 'msc:x:\MSPrint.txt' to USB drive...OK
Reading 'msc:x:\MSPrint.txt' from USB drive...OK
Comparing original data and data read from USB drive... Passed
Periodic output every 10 seconds from the main task
Periodic output every 10 seconds from the main task
Periodic output every 10 seconds from the main task
mz7xa uart debug 输出缺了蓝色的4句话,其他和上面一样,
MSC Demo: Device with unit #0 connected
Writing 'msc:x:\MSPrint.txt' to USB drive...OK
Reading 'msc:x:\MSPrint.txt' from USB drive...OK
Comparing original data and data read from USB drive... Passed
感觉 usb vbus 没有供电 -- 我有一个usb器件带电源指示灯,所以知道有没有 vbus +5v 输出)
请指教,谢谢
P.S. 1。zedboard 也是用 TUSB1210 芯片,但是多了一根 OTG-RESETN输出,对应G17引脚,不知道mz7xa怎么处理的。