I couldn’t decide which site to post this on, but figured this was the best fit.
I’m trying to set up a testing environment for an embedded system running ChibiOS. This embedded system expects a USB OTG device (USB flash drive) with a file on it. This file is created on a PC and need to be transferred to the embedded system.
The current method:
- Take a USB flash drive, insert it into the PC.
- Copy the file from a directory to the USB flash drive.
- Eject/unmount the USB flash drive.
- Physically move the USB flash drive from the PC to the embedded system.
This is tedious and happens dozens of times per day. I’d like to script it, but need a solution to physically moving the USB flash drive from one host port to another.
I thought I was onto something with the following type of USB device (Sony USM-SA3) with two USB connectors.
However, there’s a disclaimer:
*Note: Do not connect SA series to PC and mobile devices simultaneously.
This is what I want to do, so this won’t work.
In short, the device I’m looking for would have two USB ports.
- Plug both USB ports into your PC.
- Two USB flash drives are mounted and show up as 2 devices.
- A file copied to one device shows up simultaneously on the other device.
This DIAMOND PC To PC USB File Transfer Adapter looks like exactly what I’m looking for, but seems to rely on specific software likely because there’s no onboard storage.
Any other solutions would be welcome, of course.