This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB bridge

Other Parts Discussed in Thread: OMAP3530, DM3730, AM3359

I have the following scenario:

USB mass storage device (stick/HDD/other) <-> Tiva C <-> Host PC

In which i would like to move data from the mass storage device to the host pc with the tiva c in between as some kind of mediator. The data that moves from one endpoint to the other is supposed to get modified as it is transfered. Is it possible to realize such a scenario with a single Tiva C? If yes, how would i go about that? If not, are there any suitable TI MCs that can handle such a scenario?

  • Is it possible to realize such a scenario with a single Tiva C?


    It isn’t possible.
    Your plan requires both of USB host and device, which work simultaneously on the single Tiva C. Tiva C has just "switchable" host and device.

    If not, are there any suitable TI MCs that can handle such a scenario?

    OMAP3530 / DM3730 (BeagleBoard/xM), Sitara AM3359 (BeagleBone Black), etc.
    But overkill.
    Apply two Tiva C.
    Or you’ll find Cortex-M3/M4 MCUs with two USB ports in other companies.

    The data that moves from one endpoint to the other is supposed to get modified as it is transfered.

    If you would realize Mass-Storage Class (MSC) as such simple scheme, you should learn about MSC’s three protocol layers, more.
    1) bare USB protocol (control/bulk tranfser)
    2) Bulk-Only Transport (BOT)
    3) SCSI commands

    I’ve once explained outline of MSC protocol stack on this post.
    http://e2e.ti.com/support/microcontrollers/stellaris_arm/f/471/p/220076/775472.aspx#775472

    As of the details, refer to Jan Axelson’s "USB Mass Storage"
    http://janaxelson.com/usbms.htm

    Tsuneo