我试图同时用DFU-UTIL对多个微控制器进行编程,但是我却被所有具有相同序列号的设备所困扰。
pi@raspberrypi:~/Bootloaders/GrassHopper $ 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/
Found DFU: [0483:df11] ver=2200, devnum=94, cfg=1, intf=0, path="1-1.2", alt=2, name="@DATA Memory /0x08080000/2*3Ke", serial="0F4737430000"
Found DFU: [0483:df11] ver=2200, devnum=94, cfg=1, intf=0, path="1-1.2", alt=1, name="@Option Bytes /0x1FF80000/01*032 e", serial="0F4737430000"
Found DFU: [0483:df11] ver=2200, devnum=94, cfg=1, intf=0, path="1-1.2", alt=0, name="@Internal Flash /0x08000000/1536*128g", serial="0F4737430000"
Found DFU: [0483:df11] ver=2200, devnum=93, cfg=1, intf=0, path="1-1.3", alt=2, name="@DATA Memory /0x08080000/2*3Ke", serial="0F4737430000"
Found DFU: [0483:df11] ver=2200, devnum=93, cfg=1, intf=0, path="1-1.3", alt=1, name="@Option Bytes /0x1FF80000/01*032 e", serial="0F4737430000"
Found DFU: [0483:df11] ver=2200, devnum=93, cfg=1, intf=0, path="1-1.3", alt=0, name="@Internal Flash /0x08000000/1536*128g", serial="0F4737430000"
我当前对单个设备进行编程的命令如下:
dfu-util -S 0F4737430000 -a 0 -s 0x08000000:leave -D testCode.ino.dfu
我能看到的唯一的就是devnum。有没有办法将DFU-UTIL指向该目标?