microzed usb host msc not working

microzed usb host msc not working

Home Forums USB Device & Host microzed usb host msc not working

This topic contains 5 replies, has 3 voices, and was last updated by  Sharbel Bousemaan 1 year, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #24259

    mike tran
    Participant

    Hi Micrium,

    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

    https://www.micrium.com/download/xilinx-sdk-repository/

    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,

    Mike

    #24342

    Farukh Chaudhry
    Participant

    Mike,

    Do you have the source code for demo?

    Regards,

    Farukh

    #24345

    mike tran
    Participant

    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

    Mike

    #24352

    Farukh Chaudhry
    Participant

    Mike,

    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?

    Regards,

    Farukh

    #24533

    mike tran
    Participant

    joined makers program and collected ucos source code, mission accomplished. Thanks Micrium ~~

    #24543

    Hello Mike,

    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.

    Regards,
    Sharbel

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

View the complete site map

x
Loading...