curl -O https://technical.swissmicros.com/dm41x/firmware/DMCP_flash_3.16_DM41X-
1.10.bin
Launch dfu-util command
You can start flashing using command (edit to use correct firmware file name)
sudo dfu-util -D DMCP_flash_3.16_DM41X-1.10.bin -d 0483:df11 -a "@Internal Flash
/0x08000000/512*0002Kg" -s 0x8000000
Please, be patient, it takes some time (few minutes).
Press RESET button after dfu-util finishes the flashing.
Example output of dfu-util
$ dfu-util -D DMCP_flash_3.16_DM41X-1.10.bin -d 0483:df11 -a "@Internal Flash
/0x08000000/512*0002Kg" -s 0x8000000
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: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting # 0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08000000, size = 756288
Download [=========================] 100% 756288 bytes
Download done.
File downloaded successfully
real 1m55.929s
user 0m0.044s
sys 0m0.048s
38