dfu-programmer/dfu-programmer: dfu-programmer is a Device Firmware Update based USB programmer for Atmel chips with a USB bootloader
Recordsdata
Permalink
Did not load newest commit data.
dfu-programmer is an implementation of the System Firmware Improve class USB driver that permits firmware upgrades for varied USB enabled (with the right bootloader) Atmel chips. This program was created as a result of the Atmel "FLIP" program for flashing gadgets doesn't help flashing by way of USB on Linux, and since commonplace DFU loaders don't work for Atmel's chips. Try the Atmel web site for extra data. They're sort sufficient to present typically right specs this implementation relies on. The venture web site is http://dfu-programmer.github.io and you may use that to examine for updates. Presently Supported Chips ========================= 8051 based mostly controllers: at89c51snd1c at89c51snd2c at89c5130 at89c5131 at89c5132 AVR based mostly controllers: at90usb1287 at90usb1286 at90usb1287-4k at90usb1286-4k at90usb647 at90usb646 at90usb162 at90usb82 atmega32u6 atmega32u4 atmega32u2 atmega16u4 atmega16u2 atmega8u2 AVR32 based mostly controllers: at32uc3a0128 at32uc3a1128 at32uc3a0256 at32uc3a1256 at32uc3a0512 at32uc3a1512 at32uc3a0512es at32uc3a1512es at32uc3a364 at32uc3a364s at32uc3a3128 at32uc3a3128s at32uc3a3256 at32uc3a3256s at32uc3a4256s at32uc3b064 at32uc3b164 at32uc3b0128 at32uc3b1128 at32uc3b0256 at32uc3b1256 at32uc3b0256es at32uc3b1256es at32uc3b0512 at32uc3b1512 at32uc3c064 at32uc3c0128 at32uc3c0256 at32uc3c0512 at32uc3c164 at32uc3c1128 at32uc3c1256 at32uc3c1512 at32uc3c264 at32uc3c2128 at32uc3c2256 at32uc3c2512 XMEGA based mostly controllers: atxmega64a1u atxmega128a1u atxmega64a3u atxmega128a3u atxmega192a3u atxmega256a3u atxmega16a4u atxmega32a4u atxmega64a4u atxmega128a4u atxmega256a3bu atxmega64b1 atxmega128b1 atxmega64b3 atxmega128b3 atxmega64c3 atxmega128c3 atxmega256c3 atxmega384c3 atxmega16c4 atxmega32c4 Experimental help for ST cortex M4: stm32f4_B stm32f4_C stm32f4_E stm32f4_G Easy set up process for Unix/Linux/MAC =========================================== % tar -xzf dfu-programmer-.tar.gz # unpack the sources -- or -- % git clone https://github.com/dfu-programmer/dfu-programmer.git % cd dfu-programmer # change to the top-level listing [ If the source was checked-out from GitHub, run the following command. You may also need to do this if your libusb is in a non-standard location, or if the build fails to find it for some reason. This command requires that autoconf is installed (sudo apt-get install autoconf) ] % ./bootstrap.sh # regenerate base config recordsdata [ Optionally you can add autocompletion using the dfu_completion file, and possibly instructions provided after running the ./bootstrap command ] % ./configure # regenerate configure and run it [ Optionally you can specify where dfu-programmer gets installed using the --prefix= option to the ./configure command. See % ./configure --help for more details. ] [ By default the build process will use libusb-1.0 if available. It tries to auto-discover the library, falling back to the older libusb if libusb-1.0 is not available. This process is not entirely reliable and may decide that libusb-1.0 is available when in fact it is not. You can select libusb using --disable-libusb_1_0. If usb library is not available try getting libusb-1.0-0-dev ] % make # construct dfu-programmer [ Become root if necessary ] % make set up # set up dfu-programmer Construct process for Home windows =========================== Constructing Home windows apps from supply is rarely fairly as easy ... Firstly you must have MinGW and MSys with developer instruments. Get them from http://sourceforge.web/initiatives/mingw/recordsdata/ The home windows construct makes use of the libusb-win32 library, which is a port of libusb 0.1. For comfort these recordsdata are included with this distribution, situated within the home windows sub-directory. You could copy these recordsdata to your MinGW set up listing if they aren't already there: home windows/usb.h -> {path-to-mingw}/embody/usb.h home windows/libusb.a -> {path-to-mingw}/lib/libusb.a Open the MinGW shell window and alter to the dfu-programmer folder. Be aware that C:dir is accessed in MinGW utilizing the trail /c/dir [ If the source was checked-out from GitHub, run the following command ] $ ./bootstrap.sh $ ./configure --disable-libusb_1_0 $ make The executable might be constructed within the dfu-programmer/src folder. Home windows Driver Recordsdata ==================== Atmel's FLIP programmer additionally makes use of libusb-win32, so we use the identical library right here and reap the benefits of Atmel's official licensed driver set. The home windows driver recordsdata could be downloaded as a separate zip file dfu-prog-usb-x.x.x.zip