www.shaneburrell.com BLOG Search – Rescue – Scuba – Diving – Telecom – Electronics – HAM Radio

1Feb/120

Linux and DV-RPTR Programming and Setup

Programming the DV-RPTR is very easy on most distros.  The easiest tool to use on linux is dfu-util.  First power your DV-RPTR with the program pins jumper. Then connect the USB Connector.  Here is an example of how to program with dfutool.

First find the DFU device you want...

dfu-util --list
dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Found DFU: [0x0403:0x92ae] devnum=0, cfg=0, intf=0, alt=0, name="UNDEFINED"
Found Runtime: [0x413c:0x8187] devnum=0, cfg=0, intf=3, alt=0, name="UNDEFINED"

sudo dfu-util -d 0x0403:0x92ae -D DV-RPTR-Firmware_V110e.fw
dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Opening DFU USB device... ID 0403:92ae
Found Runtime: [0x0403:0x92ae] devnum=13, cfg=0, intf=0, alt=0, name="DV-RPTR"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Device returned transfer size 512
bytes_per_hash=586
Copying data from PC to DFU device
Starting download: [##################################################] finished!
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!

If you want a development enironment just install eclipse then goto the eclipse marketplace and install avrstudio.  Its an older version but still works on linux.  The controller software works perfectly on linux by installing mono and running the exe with it.

 

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.