2

我正在寻找一种非常特定的 USB 设备,用于调试可能使用 USB 但不使用普通计算机(专有硬件)的系统。我想要一个具有 USB 主机控制器和两个 USB 设备连接的设备。要调试的设备连接到 USB 主控制器,并且其中一个设备连接连接到另一个设备,该设备上有自己的主控制器。另一个设备连接连接到电脑。关键是所有通过设备传输的 USB 数据(从连接到主机控制器的设备到连接到第一个设备连接的设备)都会报告给 pc。

我很乐意编写软件来进行日志记录(实际上我想这样做),但我似乎在任何地方都找不到这样的板。任何人都可以帮忙吗?

4

4 回答 4

3

I have an Ellisys USB analyser, which isn't exactly what you describe internally, but does sit between a peripheral and a host and use a separate PC to collect the data.

(i.e. it has two 'B' and one 'A' connectors on it.)

Excellent product, and very helpful company.

于 2008-12-05T14:33:58.820 回答
2

如果你有合适的硬件,嗅探 USB 应该不会太难。这是一个棘手的问题。我还没有看到任何描述你想要的 USB 接线盒的东西。但是我可以说这是在以下两本杂志的范围内:

  1. 坚果和伏特
  2. 电路酒窖

如果他们的档案中没有 USB 分线盒项目,那么至少他们会有小型廉价单板计算机的广告,这些计算机具有多个 USB 端口,您可以使用这些端口缓冲信号并将其报告回您的 PC。

或者,是否可以将您的 PC 连接到两个设备的中间,并编写一个自定义驱动器,在为您嗅探流的同时来回回显数据?

于 2008-11-26T17:11:43.137 回答
1

Sorry for the long delay in my reply -- I checked out one of our USB developer's toolchain, and he uses a Beagle USB Sniffer. He seems happy with it.

于 2008-12-05T14:27:39.300 回答
1

You're looking for a USB device with two upstream outputs. I think according to the USB spec, this is not possible. You will have two USB hosts trying to send messages and control the USB devices at the same time.

What if you were to look for a device which allowed you to view the data going through a hub via something other than a usb output?

If you're building something custom, take a look at this USB chip site. The chips are programmable via a windows application. Once you define how you want it to operate, it's saved on an EPROM on the dev board ($30-$50).

Sorry if this isn't helpful!

于 2008-12-05T14:41:10.787 回答