June 29, 2018 at 22:58 #24259
Microzed (xc7z020clg400-1), Micrium_Xilinx_Repo_1_43.zip, xilinx vivado/sdk 2016.2
I am testing usb host msc with Microzed, and downloaded Micrium_Xilinx_Repo_1_43.zip from below weblink
Following Xilinx SDK application project templates, I have successfully tested couple example projects, including “Micrium uC/OS-III Hello World”, “Micrium USB Device CDC Class Demo”. However, “Micrium USB Host MSC Class Demo” failed to open device. UART outputs like below messages,
UCOS – uC/OS Init Started.
UCOS – STDIN/STDOUT Device Initialized.
UCOS – Initializing uC/FS.
UCOS – uC/FS initialization successful.
UCOS – Initializing SDCard.
UCOS – Volume sdcard:0: opened
UCOS – Initializing uC/USB-Host.
UCOS – UCOS init done
UCOS – Total configured heap size. 81521
UCOS – Total used size after init. 9716
Hello world from the main task
… Initiliazing HOST Mass Storage class …
UCOS – Starting uC/USB-Host.
MSC Demo: Error opening device
Periodic output every 10 seconds from the main task
It looks like ucos did not setup the 5v VBUS signal.
Please advise, thanks in advance,
MikeJuly 10, 2018 at 17:01 #24342
Do you have the source code for demo?
FarukhJuly 11, 2018 at 07:08 #24345
Hi Farukh Chaudhry,
I don’t have source code, and am an absolute beginner of RTOS. So I download the example project from https://www.micrium.com/download/xilinx-sdk-repository/, wish it works for me.
I did sign up on https://www.micrium.com/makers/getmakers/ , but never got feedback either in email or phone call.
How can I get the source files? As an engineer, I just want to elevate my programming skill by getting in touch with RTOS system.
Please advise, thanks in advance
MikeJuly 11, 2018 at 16:57 #24352
I am also in the makers program and you should be able to download a version of the Micrium OS with the source code and example applications. With the source code, you can put breakpoints in the USB task callback functions to troubleshoot the errors. You are using the exact board and compiler version for the example project?
FarukhAugust 4, 2018 at 21:27 #24533
joined makers program and collected ucos source code, mission accomplished. Thanks Micrium ~~August 6, 2018 at 13:59 #24543
Just a Heads-Up:
We do not provide a BSP for the MicroZed as part of the Xilinx repository.
Here are the boards currently supported, as of V1.43:
Ultrascale+ : ZCU102
Zynq7000 : ZC702, Zedboard
If you wish to use a board we don’t currently support, you may need to make the appropriate BSP modifications on your own.
You must be logged in to reply to this topic.