From: Xiaofan C. <xia...@gm...> - 2018-06-19 13:13:20
|
On Tue, Jun 19, 2018 at 8:40 PM, Michelle Ran <mic...@gm...> wrote: > Hi all, > > I've recently been experimenting with pyusb to try and learn how to transfer > data over USB, mainly using various USB devices I have lying around (flash > drive, mouse, Ethernet, etc.) However, I've been struggling to make progress > because I'm unfamiliar with USB and how these devices work - I often get > errors like access denied (even when running with sudo), invalid endpoint > address, etc. > > That brings me to my question - what would be the simplest device to > experiment with, that at least supports writing from the host? It is better to use a USB MCU device which you have access to the firmware source code and can change the firmware. Many USB MCU boards will fit the bill, from ST, Microchip/AVR, NXP/Freescale, etc. Depending on which MCU you are familiar with, then you can choose from them. For example, I am mainly using an old USB PIC18F87J50 PIM since I can build the FW since Microchip provides the USB stack which provide quite some examples. I also have a few STM32 discovery kit which I use less since I am less familiar with the FW side. -- Xiaofan |