patchAVR Downloader/UploaDEr - Patches: patch #7594, Support for Atmel serial...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7594: Support for Atmel serial UART-Bootloader "FastBoot"

Submitter:  Stefan <stefan_sn>
Submitted:  Tue 09 Aug 2011 08:00:54 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Fri 13 Sep 2013 04:12:15 PM UTC, comment #4: 

The patch contains unrelated changes to ser_posix.c/ser_win32.c
(different indentation level).  I won't commit these changes.
If anything needs to be changed in those files, please resubmit
that.

Also, what happens if someone e.g. starts terminal mode on
a fastboot device, and tries to use one of the byte-access
functions, or tries a -U flash:r:foo.hex:i (paged read of
entire flash)?

Finally, the page write algorithm has changed meanwhile, the
respective backend functions are now called once per page
rather than on the entire memory region.  Since I don't have
any fastboot-ready target around, I would appreciate if you
could adapt your patch to the new structure.  (I can do it
myself, but it will be a "blind flight".)

Joerg Wunsch <joerg_wunsch>
Group administrator
Tue 30 Aug 2011 06:11:39 PM UTC, comment #3: 

Joerg

Please find attached the patch including documentation changes. As I mentioned before I also changed the programmer's name from 'pedabl' (means 'Peter Danneggers Bootloader') to 'FastBoot' which is also used on the website of mikrocontroller.net.

If you feel something is missing, please let me know.

It would be great to see the patch in the main distribution of avrdude!


(file #23910)

Stefan <stefan_sn>
Wed 24 Aug 2011 05:59:15 PM UTC, comment #2: 

Ok, so I will update the patch with documentation changes in the next days. I also think about to change the name of the programmer from 'pedabl' to 'fastboot'. So please wait with the integration of the patch.

Stefan <stefan_sn>
Wed 17 Aug 2011 02:39:25 PM UTC, comment #1: 

Please don't forget to submit documentation patches.

I just added a preamble to the patch tracker submission form
explaining some details about our documentation.

Thanks for your contribution!

Joerg Wunsch <joerg_wunsch>
Group administrator
Tue 09 Aug 2011 08:00:54 PM UTC, original submission:  

At http://www.mikrocontroller.net/topic/73196 and http://www.mikrocontroller.net/articles/AVR_Bootloader_FastBoot_von_Peter_Dannegger exists an implementation of a serial bootloader for a wide range of 8-bit Atmel devices.

The attached patch adds support to program this devices with avrdude over a serial line. It should work on linux and windows. I plan to implement the one-wire mode later.

A complete call for programming might look like:
avrdude -c pedabl -p m8 -P /dev/ttyUSB0 -b 57600 -U flash:w:main.hex -x "reset_cmd=\nR\n" -x "reset_baud=9600"

The last two extended options are optional and are used to automatically reset the device for programming.

The bootloader does not support uploading the program to the pc therefore the verify procedure has to be change in avrdude. To verify a program it has to be sent to the device again but this time the device checks it itself against the flash and returns a status code.


Stefan <stefan_sn>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #23910:  fastboot.udiff added by stefan_sn (49KiB - application/octet-stream)
file #23772:  pedabl.udiff added by stefan_sn (43KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by stefan_sn (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-30 stefan_sn Attached File- Added fastboot.udiff, #23910
    2011-08-09 stefan_sn Attached File- Added pedabl.udiff, #23772

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code