[<<][simtrace][>>][..]
Mon Jul 15 09:50:07 EDT 2013

DFU SIMtrace

After adding the ID to udev

List:

# dfu-util -d 16c0:0762 -l

Backup:

# dfu-util -d 16c0:0762 -U --alt 0 SIMtrace_alt0.bin
# dfu-util -d 16c0:0762 -U --alt 1 SIMtrace_alt1.bin

Backing up the RAM partition gives a large image, stopped at 40MB, the
others were:

$ ls -l *.bin
-rw-r--r-- 1 tom tom 114688 Jul 15 09:53 SIMtrace_alt0.bin
-rw-r--r-- 1 tom tom 131072 Jul 15 09:53 SIMtrace_alt1.bin

[master] tom@zoo:~/at91work/usb-device-ccid-project/bin$ dfu-util -d 16c0:0762 --alt 0 -D usb-device-ccid-project-simtrace-at91sam7s256-flash_dfu.bin 
dfu-util 0.7

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Filter on vendor = 0x16c0 product = 0x0762
Opening DFU capable USB device... ID 16c0:0762
Run-time device DFU version 0100
Found DFU: [16c0:0762] devnum=0, cfg=1, intf=0, alt=0, name="SimTrace DFU Interface - Application Partition"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0100
Device returned transfer size 256
No valid DFU suffix signature
Warning: File has no DFU suffix
bytes_per_hash=344
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!





So that seems to work.

However, I'll need to use JTAG anyway since debugging won't work otherwise.


[1] http://dfu-util.gnumonks.org/




[Reply][About]
[<<][simtrace][>>][..]