AVR32 DFU bootloader source

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

I know this question has been asked "“ and answered "“ before. But the answers are now obsolete. The wanted files are nowhere to be found in the AS6 file structure.

Does anyone know where the source code for the AVR32 DFU bootloader can be found? The best link I have found is here: http://support.atmel.no/knowledgebase/avr32studiohelp/AT32UC3B_Software_Framework/SERVICES/USB/CLASS/DFU/EXAMPLES/ISP/DOC/html/files.html
But the actual files cannot be downloaded as such. All I can do is copy the text from the one web page at a time, paste it into a text editor, and remove all the line numbers. Somehow, that doesn't seem right. (But I'll do it if there is no other way.)

I would like to use the files for inspiration, because I am about to write a bootloader for the AVR32. I've done this before for ATmega and xmega controllers, but the AVR32 is a bit more tricky.

Br, ErikT

You're absolutely right. This member is stupid. Please help.

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

Which UC3?
The following gets some but not all of the UC3:
http://asf.atmel.com/docs/latest/search.html?search=dfu

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

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

At the moment, UC3B0256. Eventually, UC3C0512.

Sadly, your link doesn't really have what I hoped to find. I was kinda looking for boot.h, boot.S, isp.c, isp.h, isp.S and such.

The reason why I'm asking is that I can't figure out how to get the various program sections placed correctly. The whole trampoline.S thing puzzles me. So I hoped that a more or less complete example could shed some light on things.

You're absolutely right. This member is stupid. Please help.

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

ErikT wrote:
The whole trampoline.S thing puzzles me.
Searching AVR UC3 USB DFU Boot Loader, Version 1.1.0 and Higher (Atmel) for "trampoline" provides some information.
Is that enough information?

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

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

exactly, you may also read:
https://www.avrfreaks.net/index.p...

the way trampoline works is pretty well explained in the DFU and MSC bootloader documentation
the DFU bootloader source code was part of the 1.7 standalone ASF.

please search the forum, you should find a download location there
if not, google for it or use the startup code from Atmel's MSC archive.

-sb

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

Finally. Found them all in AVR-UC3-SoftwareFramework-1.7.0.zip, under
1.7.0-AT32UC3/SERVICES/USB/CLASS/DFU/EXAMPLES/ISP
and some of the subfolders.

You're absolutely right. This member is stupid. Please help.