Skip to content

nedos/dfu-programmer

Repository files navigation

dfu-programmer is an implementation of the Device Firmware Upgrade class USB driver that enables firmware upgrades for various USB enabled (with the correct bootloader) Atmel chips. This program was created because the Atmel "FLIP" program for flashing devices does not support flashing via USB on Linux, and because standard DFU loaders do not work for Atmel's chips.

Check out the Atmel website for more information. They are kind enough to provide generally correct specifications this implementation is based on.

The project website is http://dfu-programmer.sourceforge.net and you can use that to check for updates.

Currently Supported Chips

8051 based:

  • at89c51snd1c
  • at89c5130
  • at89c5131
  • at89c5132

AVR based:

  • at90usb1287
  • at90usb1286
  • at90usb647
  • at90usb646

AVR XMega based:

  • ATXmega*a3u
  • ATXmega*a4u
  • ATXmega128b1

Simple install procedure

unpack the sources:

tar -xzf dfu-programmer-<version>.tar.gz

change to the top-level directory:

cd dfu-programmer

If the source was checked-out from CVS, run the following commands:

regenerate base config:

./bootstrap.sh

regenerate congiure and run it:

./configure

Optionally you can specify where dfu-programmer gets installed using the --prefix= option to the ./configure command. See ./configure --help for more details.

build dfu-programmer:

make

install dfu-programmer:

make install

Building RPM Binary Packages

This section is intended to make it easier for those people that wish to build RPMs from the source included in this package, but aren't sure how.

  1. Copy dfu-programmer-.tar.gz to your RPM SOURCES directory. Usually this is /usr/src/redhat/SOURCES/.

  2. Extract or copy dfu-programmer.spec into your RPM SPECS directory. Usually this is /usr/src/redhat/SPECS/.

  3. In your RPM SPECS directory, issue the command 'rpm -ba dfu-programmer.spec'. This will cause rpm to extract the dfu-programmer sources to a temporary directory, build them, and build rpm packages based on the information in the spec file. The binary rpms will be put into your RPM RPMS directory. Usually this is /usr/src/redhat/RPMS//.

If you have any further questions, please refer to the RPM documentation.

About

Fork of dfu-programmer, since it seems to be dead

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published