On Sunday 13 February 2011 16:36:07 Koustubh Sinkar wrote: > > > Subject: [ILUG-BOM] Wine and usb > > Anybody used a usb device on wine? > > If yes which distro /kernel and wine version. > > > > I have to reverse engineer some code on the pc for programming > > embeded stuff. As usual looking for a short cut.
> > I have used the USB2Serial(Prolific) adapter with Flash magic > > running on > > WINE on a Fedora 11 and 12 machine for connecting to P89V51RD2 via > the USB2Serial adapter. I also tried to use WINE to connect a > programming kit to using USB to my computer but was not able to do > that due to permission issues, I guess. I am not sure about that > because it did not occur to me then. > > Could you please share the details so that we could provide you > with better pointers, if we already have had some such similar > experience? USBto serial will work since wine sees the usb as a serial device. I too have used a usb2serial dongle on wine. I am talking of using a USB device with HID driver on doze. Actually it is a Nuvoton ARM Cortex M0 device debugger / programmer. Cortex M0/1/2/3 use a Serial Wire Device instead of JTAG. Advantage is it uses only 2 pins clk and Data. Jtag uses 4 pins. But there is no support for swd on linux. A jtag to swd dongle costs $40 for what looks like two LS146 tristable buffers. Need to work out the swd protocol and read a 200pg manual to get the thing working. Easy way ofcourse is to bid time with doze while someone comes up with a solution. -- Rgds JTD -- http://mm.glug-bom.org/mailman/listinfo/linuxers

