Programming over USB

Started by "see...@yahoo.com [rabbit-semi]" December 15, 2015
Has anyone successfully programmed an R3k module using the clrfu and a USB adapter? The manual says using USB is an option, but I can't get it work. I usually get error, "Error reading bytes". I can communicate with the Rabbit using a USB adapter, just not reprogram it. Programming works fine using the serial port with the same set of cables.

Commandline: clrfu .\myfile.bin -s 4:115200 -cl .\coldload.bin -pb .\pilot.bin -v -vp- -usb+

I'm using the adapter that Z-World used to recommend. I think it's Tripp-lite.

Steve
On 12/15/2015 2:58 PM, s...@yahoo.com [rabbit-semi] wrote:
> Has anyone successfully programmed an R3k module using the clrfu and a
> USB adapter? The manual says using USB is an option, but I can't get
> it work. I usually get error, "Error reading bytes". I can communicate
> with the Rabbit using a USB adapter, just not reprogram it.
> Programming works fine using the serial port with the same set of cables.
> Commandline: clrfu .\myfile.bin -s 4:115200 -cl .\coldload.bin -pb
> .\pilot.bin -v -vp- -usb+
> I'm using the adapter that Z-World used to recommend. I think it's
> Tripp-lite.

If it is an FTDI adapter like ZW sold, look at the driver advanced
settings. There should be a latency setting. Set it to 1ms and it should
work better.
--
------
Scott G. Henion, Consultant
Web site: http://SHDesigns.org
------
I've tried 3-different USB adapters, and none work for programming.

The first was from Tripp-Lite. It uses the Prolific chip-set.
The second used the FTDI chip-set. Changing the latency to 1ms from 16ms had no effect.
The third is from ATEN. I don't know what chip-set it uses, but it didn't work either.

Steve
You might want to try using clrfu from Dynamic C 10.72. The GUI from that release can program Rabbit2000/3000 boards, so there’s a good chance the command-line version can as well. And it’s likely that version has better USB support.

-Tom

From: r... [mailto:r...]
Sent: Tuesday, December 15, 2015 11:58 AM
To: r...
Subject: [rabbit-semi] Programming over USB

Has anyone successfully programmed an R3k module using the clrfu and a USB adapter? The manual says using USB is an option, but I can't get it work. I usually get error, "Error reading bytes". I can communicate with the Rabbit using a USB adapter, just not reprogram it. Programming works fine using the serial port with the same set of cables.

Commandline: clrfu .\myfile.bin -s 4:115200 -cl .\coldload.bin -pb .\pilot.bin -v -vp- -usb+

I'm using the adapter that Z-World used to recommend. I think it's Tripp-lite.

Steve