|
(this is very similar to my previous post, but I'll just copy the whole thing to make it easier to follow)
I've figured out the DFU suffix part of the DFU restore operation using VirtualBox on Linux. We would need the current CVS libpcap and Wireshark for this. Wireshark is very helpful here, since it allows us to monitor everything that's going on between the device and the DFU tool.
As always, preparation:
1. Install Windows XP inside QEMU, and then install DFU Tool on it.
2. Copy M3.EBN, M6.EBN or M6SL.EBN into the DFU Tool folder in the Windows XP installation.
3. Download, compile and install the current CVS version of libpcap.
4. Recompile Wireshark against the new libpcap.
Steps:
1. Mount usbfs at /proc/bus/usb.
2. As root, loop every 0.5 seconds to chown all the files in /proc/bus/usb to the username you are using.
3. Run VirtualBox. Remember to enable USB support for the VM.
4. Run Wireshark, then start a capture on the appropriate USB port.
5. Hold the M and Play buttons, wait 2 seconds, then connect the device to the computer.
6. Release the Play button.
7. Connect the device to VirtualBox.
8. Run DFU Tool, then press "Download" button.
9. Unplug device.
10. Stop and save the capture.
Notes:
1. The Play button must be released after connecting the device to the PC, otherwise it will power off after a few seconds.
2. Keep the M button pressed down through the recovery procedure.
3. If anything fails, start over. Remember to restart the capture in Wireshark.
|