AVRDUDE 5.11 released

Go To Last Post
19 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

After a quite lengthy silence of about 1.5 years, I
finally released a new version of AVRDUDE.

This is mostly a bugfix release. The most interesting
new features (despite of a few new devices added) are

  • bitbang programmers can program through TPI now (i.e. connect directly to an ATtiny10)
  • FTDI chips employing their MPSSE for bitbanging (like the FT2232) can be used as ISP programmers

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

Last Edited: Thu. Oct 20, 2011 - 12:23 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Jason Hecker kindly provided a Win32 binary. While the focus of this
binary is testing his FT232H (high-speed fast bitbang) patch, it's
otherwise very close to stock AVRDUDE 5.11. Please understand that
this binary has only undergone limited testing; if you have any issues
with it, please subscribe to the avrdude-dev mailinglist, and discuss
those issues there:

http://lists.nongnu.org/mailman/...

(You'll also find Jason's preceding discussion about the FT232H patch
in the archives of the list.)

The URL of the Win32 binary is:

http://download.savannah.gnu.org...

and the GPG signature:

http://download.savannah.gnu.org...

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For those who didn't see my other post in the 8-bit forum I have a bit of a write up on this version of AVRDUDE and the UM232H in Windows at http://helix.air.net.au To use USB FTDI devices in Windows you need to install the libusb drivers which is discussed on this page too.

Although the emphasis is on using the FTDI chips and the UM232H specifically it should work with all the usual programmers and chips in the AVRDUDE zoo which is why I included the giveio stuff in the zip file.

I'll be interested to hear if anyone gets the FTDI chips and TPI programming mode working with this binary.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It turned out release 5.11 suffered from a regression: TPI programming
(i.e., programming ATtiny10 and its relatives) was broken using the
STK600 or AVRISPmkII, as a side-effect from enabling TPI in other
programmers (bitbang programmers, USBasp). This has been fixed, and I
thus decided to re-roll the release as AVRDUDE-5.11.1.

Also included (as it was convenient now) is a fix for a long-standing
regression that prevented the AT90S1200 from being programmed. There
are still limitations in which programmers can handle this chip at all
(bitbang and stk500v2 only), but these limitations have always been
around.

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hello

the version was provided here - avrdude-5.11-Patch7610-win32.zip

is the only version allowing to substitute one inside Arduino IDE (which has avrdude obscured one placed there by default) working with libusb and allowing to use avrftdi programming mode from windows (windows 7 to be precise is in use).

unfortunately this avrdude is crashing on trial to read-back already programmed flash memory using avrftdi.

is it possible to build and upload into the same path: http://download.savannah.gnu.org...

a newer (6.0.1 or 6.1 or 6.3) version of avrdude but with the same libusb and libftdi (probably) embedded, so it could be used standalone with libusb and libusb driver filter as the one mentioned above?

thanks a lot

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This might have something to do with the mysterious mega2560 timeouts when using avrdude to program mega2560s!

 

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

no, it isn't. it's just all other avrdude releases are libusb-less compiled or win32-less compiled so it's not possible to use following configuration: FT2232H board+ftdi drivers+libusb driver filters+Windows7 to be able to "burn bootloader" for any Arduino (not necessary 2560) over ICSP port.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ole2 wrote:
FT2232H board+ftdi drivers+libusb driver filters+Windows7 to be able to "burn bootloader" for any Arduino (not necessary 2560) over ICSP port.
Could consider the following sequence :

Pololu USB AVR Programmer v2 + Windows USB CDC ACM + Windows 7 to burn an Arduino bootloader over ICSP

The current Pololu AVRISP STK500v2-compatible is about half the price of a first source (iow FTDI) FT2232H module; it's full-speed USB instead of high-speed USB, but its ISP frequency can be up to 3MHz via AVRDUDE for 20MHz megaAVR.

Its manual states how to install drivers into Windows 7, build AVRDUDE on MSYS2 on Windows (32b or 64b), then invoke AVRDUDE.

P.S.

PlatformIO packages AVRDUDE for Linux (86, ARM), OS X, and Windows.


https://www.pololu.com/product/3170 (Pololu USB AVR Programmer v2)

https://shop.clickandbuild.com/cnb/shop/ftdichip?productID=226&op=catalogue-product_info-null&prodCategoryID=317 (Future Technology Devices Intl - FT2232H Mini Module)

https://www.pololu.com/docs/0J67/all (Pololu USB AVR Programmer v2 User’s Guide)

https://www.pololu.com/distributors

http://docs.platformio.org/en/stable/platforms/atmelavr.html (Platform atmelavr — PlatformIO 2.11.2 documentation)

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:
Could consider the following sequence : Pololu USB AVR Programmer v2

we can't. there is a product meant to be on top of the Arduino-MEGA2560 having FT2232H onboard.

arduino-dgx-xc95

the FT2232H is used for Xilinx CPLD programming purposes also with a help of xc3sprog project so it meant to be on this board for a reason.

in such case the only option to let people having windows to operate with the Arduino IDE/avrdude bootloader burning procedure is to fix the avrdude to have win32 based version pre-linked with libusb.

the only version of avrdude found working as we speak "right from the package" is:

avrdude-5.11-Patch7610-win32.zip

unfortunately it's crashing on trial to read-back already programmed flash memory using avrftdi programmer.

with the linux/macosx everything is fine and the product get's fully operational very easy: having just one line fixed in avrdude.conf for using port B of the FT2232H

Last Edited: Sun. Sep 4, 2016 - 07:34 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Though FT231X instead of FT2232H, SparkFun RedBoard is in the board list for PlatformIO.

PlatformIO has a Windows AVRDUDE package.


http://docs.platformio.org/en/stable/platforms/atmelavr.html#packages

http://docs.platformio.org/en/stable/platforms/atmelavr.html#sparkfun

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:
PlatformIO has a Windows AVRDUDE package

could you be more specific about AVRDUDE package name inside PlatformIO?

there is neither preinstalled nor available for the installation package with the name "avrdude".

thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

dl8dtl wrote:
Jason Hecker kindly provided a Win32 binary

hello

is it possible to contact with Jason to obtain a complete "environment setup and cooking sequence" for the binary to obtain similar to the one he built avrdude-5.11-Patch7610-win32.zip?

I'll try to build it myself and once it works will provide the binary back for the savannah deposition.

based on more modern version of the avrdude of course.

thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm having great difficulty locating the AVRDUDE build for Windows in the PlatformIO repositories.

AVRDUDE is invoked by PlatformIO (Python) to burn a bootloader.

Otherwise, the data to the bootloader is via a port.


http://docs.platformio.org/en/stable/platforms/atmelavr.html#upload-using-programmer

platformio-examples/atmelavr-and-arduino/arduino-blink at develop · platformio/platformio-examples · GitHub

https://github.com/platformio/platformio-examples/tree/develop/atmelavr-and-arduino/arduino-blink

...

# Upload firmware
> platformio run --target upload

...

via

http://docs.platformio.org/en/stable/platforms/atmelavr.html#examples

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

dl8dtl wrote:
kindly provided a Win32 binary

I've managed to build avrdude mingw based binary for win32 libftdi and libusb to support operations with avrftdi mode.

where and how would you like the archive to be uploaded? I believe some people might be happy to have it too.

this pack has been verified on 2 windows 7 x64 workstations working (uploading bootloader through ICSP) over FT2232H

enabled boards: arduino-tps in the default mode (avrftdi) and arduino-dgx-xc95 using channel B (avrftdib fixed for channel B config inside avrdude.conf)

both boards were used directly from Arduino IDE and showed complete success.

internal list of files required for avrdude to be operational:

avrdude.conf
avrdude.exe
libftdi1.dll
libgcc_s_dw2-1.dll
libusb-1.0.dll
pthreadGC-3.dll

Last Edited: Tue. Sep 6, 2016 - 02:12 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ole2 wrote:
where and how would you like the archive to be uploaded?
Well done!

Likely will have a quicker response if post to the AVRDUDE list.


[avrdude-dev] [patch #8967] Change ft2xx library to ftdi_syncbb instead

http://lists.nongnu.org/archive/html/avrdude-dev/2016-04/msg00003.html

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You do know you are responding to posts from back in 2011 don't you? Many of these people are no longer around or involved.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
posts from back in 2011

I'm sorry, but it was the only topic where very specific avrdude build dedicated for win32+libftdi+libusb

assembly being covered. that might also explain why there were no new builds in savannah uploaded.

however this solution is necessary for some people who are working with Arduino products for example.

would you like to suggest a better topic location where to continue this discussion?

Last Edited: Tue. Sep 6, 2016 - 04:09 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:
post to the AVRDUDE list

could you be so kind to explain where is it and how exactly to do posting to the lists these days?

should I write an e-mail to some magic address?

thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

https://lists.gnu.org/mailman/listinfo/avrdude-dev

via

http://savannah.nongnu.org/projects/avrdude

There are two mailing lists :

AVRDUDE - AVR Downloader/UploaDEr

http://www.nongnu.org/avrdude/

...

How to get help or report bugs

...

"Dare to be naïve." - Buckminster Fuller

Last Edited: Tue. Sep 6, 2016 - 09:48 PM