AnsweredAssumed Answered

Pluto firmware repair

Question asked by Richard on Oct 6, 2017
Latest reply on Oct 27, 2017 by Richard

I have messed up the firmware on my Pluto device and I think my device is in DFU mode,  LED1 is constantly on

and Ready LED off.  I also see the PlutuSDR DFU icon in the windows device manager. The unit has worked properly in the past but I have been unable to fix it.

 

I have searched and found similar posts and so have tried using the dfu_util, but without success.  Neither of the recommended commands to flash pluto.dfu or uboot-env.dfu work, resulting in the same error message

 

C:\Users\richard\Desktop\Pluto>update.bat pluto.dfu
dfu-util 0.9

 

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

 

Match vendor ID from file: 0456
Match product ID from file: b673
No DFU capable USB device available

 

In contrast, running it with -l shows

 

dfu-util 0.9

 

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

 

Found DFU: [0456:b674] ver=0221, devnum=2, cfg=1, intf=0, path="6-3", alt=1, name="uImage", serial="UNKNOWN"
Found DFU: [0456:b674] ver=0221, devnum=2, cfg=1, intf=0, path="6-3", alt=0, name="BOOT.bin",

 

serial="UNKNOWN"

 

Only the Pluto device is connected, so there should be no confusion with other devices on the bus.

 

I have also tried access via a Linux machine (Raspberry Pi).
The dmesg command shows
[   33.340530] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[   33.471323] usb 1-1.4: New USB device found, idVendor=0456, idProduct=b674
[   33.471337] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   33.471345] usb 1-1.4: Product: USB download gadget
[   33.471353] usb 1-1.4: Manufacturer: Analog Devices Inc.

 

with the dfu-util giving a little more information saying that the DFU descriptor is wrong
pi@rpi6:~/Pluto $ dfu-util -l
dfu-util 0.9

 

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

 

dfu-util: Device has DFU interface, but has no DFU functional descriptor
Deducing device DFU version from functional descriptor length
dfu-util: Cannot open DFU device 0456:b674

 

This is a version A device, so there is no reset button. Also, while not immediately available, I could borrow a JTAG connector, but would not know how to proceed from there. Any help is appreciated.

 

Finally, for background, while I am not certain what I did wrong here are my recollections. I performed the firmware upgrade and after an eject and re-connect I saw a new file (SUCCESS) created. I then accessed the device via putty and used fw_setenv commands to make the device ad9364 compatible.  I think the problem occurred when I wrongly entered "reset" rather than "pluto_reboot reset".

 

There is quite a long lead time to purchase a replacement, so any help to recover from this blunder would be gratefully received

 

many thanks Richard

Outcomes