DFU 似乎不适用于开发板(Hitex LPC1850 或 Keil MCB1800),但手册说明它应该可以工作。
我在互联网上找不到同样的问题,所以我在这里发布了我的问题。(我手动编译了 dfu-util 0.7,但 lpcXpresso 捆绑的二进制文件给出了类似的结果)
tijs@debian:~/u-boot$ sudo ../dfu-util/src/dfu-util -R -D u-boot-dfu.bin boot/u-boot/u-boot-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
Opening DFU capable USB device...
ID 1fc9:000c Run-time device DFU version 0100
Claiming USB DFU Runtime Interface...
Determining device status: state = dfuIDLE, status = 0
dfu-util: WARNING: Runtime device already in DFU state ?!?
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 2048
Copying data from PC to DFU device
Download [=========================] 100%
90640 bytes Download done.
dfu-util: unable to read DFU status
问题是,我不确定 u-boot 是否已执行。重置(-R)应该这样做,但它告诉我它“无法读取 dfu 状态”。
我在这里错过了什么吗?有谁知道这里可能是什么问题?