Re: [Mspgcc-users] mspdebug and olimex-v1

2013-05-03 Thread Daniel Beer
On Fri, May 03, 2013 at 12:59:11PM +0200, Hardy Griech wrote: > I've encountered problems reading data from the target with an olimex-v1 > FET. Writing was ok. > > Turned out (hopefully), that in cp210x.c/usbtr_recv() the function > usb_bulk_read() may legally return 0. > > Modifying the code

[Mspgcc-users] mspdebug and olimex-v1

2013-05-03 Thread Hardy Griech
Hi, I've encountered problems reading data from the target with an olimex-v1 FET. Writing was ok. Turned out (hopefully), that in cp210x.c/usbtr_recv() the function usb_bulk_read() may legally return 0. Modifying the code to: do { rlen = usb_bulk_read(tr->handle, V1_IN_EP, (char *)d