I really like using a bootloader. In this case, the bootloader allows new
programs to be downloaded over the serial port.
BootHost is compatible with the 2.3 version of the MeagLoad bootloader
found on the
MegaBitty
and the one Larry Barello provides for the
ARC.
The thing that I really like about BootHost is that it also behaves like
a terminal program and allows output on the serial port to be displayed,
and allows keypresses to be sent to the AVR.
If you don't specify a file to download on the command line, then BootHost
will instruct the boot loader to execute, and will then behave like
a terminal program.
BootHost understands Intel Hex files (ihex from objcopy) and Motorola
S-Record files (srec from objcopy).
Curently, BootHost can only download flash, and can't download eeprom.
Usage: BootHost
When specifying a port, you need to use a port name which is compatible
with cygwin. Cygwin considers all of the following to be COM1:
com1
/dev/com1
/dev/ttyS0
Note that these are case sensitive.
This program was compiled and tested using cygwin (version 1.5.13).
If you don't have cygwin installed on your machine, then you'll need
to download the cygwin1.dll as well.