ATmega8 bootloader

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From Russian to

Threaded View
Hello All!

Hабрёл тут в поисках на весьма примечательный subj, рекомендую:

=== Cut ===
http://www.dl5neg.de/bootloader/bootloader.html

[...]

What is the history behind this piece of software?

Atmel has published a bootloader written in C language in their application
note AVR109. It is written using the IAR C compiler which is not free, so it is
not available to everyone. The application note itself is well written and
worth reading. It can be found at www.atmel.com.

On www.avrfreaks.net there is design note (#32) which describes a bootloader
written in assembly for the ATmega163. It even has an counter implemented in
the devices EEPROM to count the number of flash erases. However this software
is not directly applicable to the most widely used AVR processor, the ATmega8.
This software was used as a basis for the bootloader that is published here.
The main advances are:

check implemented to access the flash only after the last task was completed
re-enabling the application section after it was reprogrammed by the bootloader
interface sync-losses between AVRProg1.37 and the bootloader solved by
implementing required commands that were missing
startup code section that waits for 8 seconds for bootloader commands and
starts the application if no commands are received (this makes it possible to
use solely RXD and TXD lines on the RS232 for software upload, no further lines
are required)
Usage of "universal command" by AVRProg1.37 with regard to fuse/lock bit
reading conquered to make things work
code is well documented now, every block and every line is exactly explained
(this simplifies adaptations to individual requirements)

[...]

=== Cut ===


ATmega8 bootloader
Привет, Alexander !


 04 Jan 08 , 17:42  Alexander Konosevich писал к All:


AK> Hабрёл тут в поисках на весьма примечательный subj, рекомендую:

В поисках - это в полном мануале на мега8?


.                                            С уважением, Hикита.
icq:240059686, lj-user:nicka_startcev
... должность придворного бушмейстера не занимал

ATmega8 bootloader
Hello Nickita A Startcev!

 AK>> Hабрёл тут в поисках на весьма примечательный subj, рекомендую:
 NS> В поисках - это в полном мануале на мега8?

"Помолчи - глядишь, и за умного сойдёшь ..." (ц)

http://www.dl5neg.de/bootloader/bootloader.html

PS2ALL: упомянутый выше бутлоадер "прикидывается" *стандартным* программатором
AVReal на RS232/etc, что имхо бывает *весьма* полезно ... ;)


Site Timeline