110 lines
5.4 KiB
HTML
110 lines
5.4 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<html>
|
||
|
<!-- Created on March 3, 2022 by texi2html 5.0
|
||
|
texi2html was written by:
|
||
|
Lionel Cons <Lionel.Cons@cern.ch> (original author)
|
||
|
Karl Berry <karl@freefriends.org>
|
||
|
Olaf Bachmann <obachman@mathematik.uni-kl.de>
|
||
|
and many others.
|
||
|
Maintained by: Many creative people.
|
||
|
Send bugs and suggestions to <texi2html-bug@nongnu.org>
|
||
|
-->
|
||
|
<head>
|
||
|
<title>AVRDUDE: 5.2 Atmel DFU bootloader using FLIP version 1</title>
|
||
|
|
||
|
<meta name="description" content="AVRDUDE: 5.2 Atmel DFU bootloader using FLIP version 1">
|
||
|
<meta name="keywords" content="AVRDUDE: 5.2 Atmel DFU bootloader using FLIP version 1">
|
||
|
<meta name="resource-type" content="document">
|
||
|
<meta name="distribution" content="global">
|
||
|
<meta name="Generator" content="texi2html 5.0">
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<style type="text/css">
|
||
|
<!--
|
||
|
a.summary-letter {text-decoration: none}
|
||
|
blockquote.smallquotation {font-size: smaller}
|
||
|
div.display {margin-left: 3.2em}
|
||
|
div.example {margin-left: 3.2em}
|
||
|
div.lisp {margin-left: 3.2em}
|
||
|
div.smalldisplay {margin-left: 3.2em}
|
||
|
div.smallexample {margin-left: 3.2em}
|
||
|
div.smalllisp {margin-left: 3.2em}
|
||
|
pre.display {font-family: serif}
|
||
|
pre.format {font-family: serif}
|
||
|
pre.menu-comment {font-family: serif}
|
||
|
pre.menu-preformatted {font-family: serif}
|
||
|
pre.smalldisplay {font-family: serif; font-size: smaller}
|
||
|
pre.smallexample {font-size: smaller}
|
||
|
pre.smallformat {font-family: serif; font-size: smaller}
|
||
|
pre.smalllisp {font-size: smaller}
|
||
|
span.nocodebreak {white-space:pre}
|
||
|
span.nolinebreak {white-space:pre}
|
||
|
span.roman {font-family:serif; font-weight:normal}
|
||
|
span.sansserif {font-family:sans-serif; font-weight:normal}
|
||
|
ul.no-bullet {list-style: none}
|
||
|
-->
|
||
|
</style>
|
||
|
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
|
||
|
|
||
|
<a name="Atmel-DFU-bootloader-using-FLIP-version-1"></a>
|
||
|
<table class="header" cellpadding="1" cellspacing="1" border="0">
|
||
|
<tr><td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude_15.html#Atmel-STK600" title="Previous section in reading order"> < </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude_17.html#SerialUPDI-programmer" title="Next section in reading order"> > </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td>
|
||
|
<td valign="middle" align="left"> </td>
|
||
|
<td valign="middle" align="left"> </td>
|
||
|
<td valign="middle" align="left"> </td>
|
||
|
<td valign="middle" align="left"> </td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
|
||
|
<td valign="middle" align="left">[Index]</td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
|
||
|
</tr></table>
|
||
|
<a name="Atmel-DFU-bootloader-using-FLIP-version-1-1"></a>
|
||
|
<h2 class="section">5.2 Atmel DFU bootloader using FLIP version 1</h2>
|
||
|
|
||
|
<p>Bootloaders using the FLIP protocol version 1 experience some very
|
||
|
specific behaviour.
|
||
|
</p>
|
||
|
<p>These bootloaders have no option to access memory areas other than
|
||
|
Flash and EEPROM.
|
||
|
</p>
|
||
|
<p>When the bootloader is started, it enters a <em>security mode</em> where
|
||
|
the only acceptable access is to query the device configuration
|
||
|
parameters (which are used for the signature on AVR devices). The
|
||
|
only way to leave this mode is a <em>chip erase</em>. As a chip erase
|
||
|
is normally implied by the ‘<samp>-U</samp>’ option when reprogramming the
|
||
|
flash, this peculiarity might not be very obvious immediately.
|
||
|
</p>
|
||
|
<p>Sometimes, a bootloader with security mode already disabled seems to
|
||
|
no longer respond with sensible configuration data, but only 0xFF for
|
||
|
all queries. As these queries are used to obtain the equivalent of a
|
||
|
signature, AVRDUDE can only continue in that situation by forcing the
|
||
|
signature check to be overridden with the ‘<samp>-F</samp>’ option.
|
||
|
</p>
|
||
|
<p>A <em>chip erase</em> might leave the EEPROM unerased, at least on some
|
||
|
versions of the bootloader.
|
||
|
</p>
|
||
|
<hr>
|
||
|
<table class="header" cellpadding="1" cellspacing="1" border="0">
|
||
|
<tr><td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude_15.html#Atmel-STK600" title="Previous section in reading order"> < </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude_17.html#SerialUPDI-programmer" title="Next section in reading order"> > </a>]</td>
|
||
|
<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td>
|
||
|
</tr></table>
|
||
|
<p>
|
||
|
<font size="-1">
|
||
|
This document was generated on <i>March 3, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>.
|
||
|
</font>
|
||
|
<br>
|
||
|
|
||
|
</p>
|
||
|
</body>
|
||
|
</html>
|