- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using an Agilex 5E Premium Development kit board.
I'm trying to communicate with my PC via USB, and I'm planning to use this device as a device(gadget).
Can you tell me how to configure defconfig, device tree, etc. for this?
Regards,
Jung.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please refer the device tree changes for Agilex-5 and for USB.
Regards
Tiwari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Jeet14.
Thanks for comment.
As I know, some configuration needs for using Gadget Serial feature like below url.
https://www.rocketboards.org/foswiki/Documentation/REFLEXCESAchillesArria10SoCSOM
Can I use the usb-gadget.cfg mentioned in this document as Agilex5 kernel configuration?
In device tree, the "dr_mode" property in usb node have to be added as I know.
This property can be configured as "peripheral", "otg", or "host".
Which value shoud I use?
Regards,
Jung.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You need to use the dr_mode as "host".
I believe you are using the board USB as Host through which you are connecting the USB devices.
Regards
Tiwari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think that there is some miss commnunication.
I said that I want to use the Developlment Kit as a gadget(device).
And I will use My PC as a HOST.
(FYI, In USB communication, there is a host/gadget concept.
It is concept like between master/slave.)
So, setting up a development board to act as a host seems a little different than what I'm asking for.
Regards,
Jung.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Apologies for delayed response.
Then you need to use the "peripheral" mode, as the PC will be the host.
Regards
Tiwari
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page