Is it possible that I can design an application running on my PC behave
as an USB device to another USB host(running on a SH7727 board)?

Re: PC as USB device by Maxim

Maxim
Tue Mar 07 04:49:10 CST 2006

No you cannot. USB is electrically oriented, and your PC's host controller
cannot be a target.

With 1394, this is possible though, and supported by MS - look at "virtual
1394 devices" DDK docs chapter.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

<noor.fatma@gmail.com> wrote in message
news:1141728128.946226.81320@u72g2000cwu.googlegroups.com...
> Is it possible that I can design an application running on my PC behave
> as an USB device to another USB host(running on a SH7727 board)?
>


Re: PC as USB device by noor

noor
Tue Mar 07 05:09:13 CST 2006

What I am doing is designing a virtual console for a SH7727 target
board. The virtual console would run on the PC and act as display
device for the target board.the communication I want is through USB
port. How should I go about it. Is it possible to display data properly
if I keep my PC as host and the target board as device.


Re: PC as USB device by pavel_a

pavel_a
Wed Mar 08 19:04:26 CST 2006

Windows always acts as USB host. If your board supports usb2go,
tell it to flip to slave mode, otherwise you can not connect it directly.

--PA


"noor.fatma@gmail.com" wrote:
> What I am doing is designing a virtual console for a SH7727 target
> board. The virtual console would run on the PC and act as display
> device for the target board.the communication I want is through USB
> port. How should I go about it. Is it possible to display data properly
> if I keep my PC as host and the target board as device.
>
>

Re: PC as USB device by Z

Z
Wed Mar 08 20:14:38 CST 2006

sure. just use USB to communicate with your board.

<noor.fatma@gmail.com> wrote in message
news:1141729753.710285.127170@i40g2000cwc.googlegroups.com...
> What I am doing is designing a virtual console for a SH7727 target
> board. The virtual console would run on the PC and act as display
> device for the target board.the communication I want is through USB
> port. How should I go about it. Is it possible to display data properly
> if I keep my PC as host and the target board as device.
>



Re: PC as USB device by Tim

Tim
Thu Mar 09 00:26:03 CST 2006

"noor.fatma@gmail.com" <noor.fatma@gmail.com> wrote:
>
>What I am doing is designing a virtual console for a SH7727 target
>board. The virtual console would run on the PC and act as display
>device for the target board.the communication I want is through USB
>port. How should I go about it. Is it possible to display data properly
>if I keep my PC as host and the target board as device.

The SH7727 chip supports both USB host and USB function, although that
means your board must include sockets for both.

It's still going to be a heck of a lot of work. You'll have to write code
for the SH7727 to drive the USB port, and more code to redirect the console
to your driver. Then, you'll have to write a USB driver for Windows, and
hook it up to your simulated console app.

Are you running a Unix derivative on your SH7727? It might be
significantly easier to direct its console to an RS232 serial port, and
just use HyperTerminal as your virtual console.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Re: PC as USB device by noor

noor
Thu Mar 09 04:48:01 CST 2006

No the OS is NORTi. When u say that SH7727 chip supports both USB host
and USB function,do you mean that it can act both as a controller and a
device.


Re: PC as USB device by Tim

Tim
Fri Mar 10 22:19:18 CST 2006

"noor.fatma@gmail.com" <noor.fatma@gmail.com> wrote:
>
>No the OS is NORTi. When u say that SH7727 chip supports both USB host
>and USB function,do you mean that it can act both as a controller and a
>device.

Yes.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Re: PC as USB device by noor

noor
Wed Mar 15 22:57:28 CST 2006

So the board must have two sockets, one for connecting it as USB host
and the other to connect it as USB device. Like Windows has APIs for
driving USB port, NORTi also might have in the same way. Are most of
the chips designed in the way to act as both controller as well as
device. Can I get the list of the chips designed that ways. Thanks.


Re: PC as USB device by Tim

Tim
Thu Mar 16 22:49:07 CST 2006

"noor.fatma@gmail.com" <noor.fatma@gmail.com> wrote:
>
>So the board must have two sockets, one for connecting it as USB host
>and the other to connect it as USB device. Like Windows has APIs for
>driving USB port, NORTi also might have in the same way. Are most of
>the chips designed in the way to act as both controller as well as
>device. Can I get the list of the chips designed that ways. Thanks.

I can't say anything about the board. iTRON's data sheet for the SH7727
says that the chip supports both ends of USB, but it's up to the board
developer to wire the sockets into the chip.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.