2Boots Question

? All,

when I run the make on ubuntu it generates the following files. my question is; does the size of the hex file matter?

ls -la build/*.hex -rw-rw-r-- 1 scott scott 2374 Feb 3 15:39 build/2boots-arduino-atmega168-16000000L-nommc.hex -rw-rw-r-- 1 scott scott 6183 Feb 3 15:39 build/2boots-arduino-atmega168-16000000L-PD4.hex -rw-rw-r-- 1 scott scott 2374 Feb 3 15:39 build/2boots-arduino-atmega168-8000000L-nommc.hex -rw-rw-r-- 1 scott scott 6183 Feb 3 15:39 build/2boots-arduino-atmega168-8000000L-PD4.hex -rw-rw-r-- 1 scott scott 2374 Feb 3 15:39 build/2boots-arduino-atmega328p-16000000L-nommc.hex -rw-rw-r-- 1 scott scott 6183 Feb 3 15:39 build/2boots-arduino-atmega328p-16000000L-PD4.hex -rw-rw-r-- 1 scott scott 2399 Feb 3 15:39 build/2boots-arduino-atmega328p-8000000L-nommc.hex -rw-rw-r-- 1 scott scott 6195 Feb 3 15:39 build/2boots-arduino-atmega328p-8000000L-PD4.hex

Matter, in what sense?

Sorry for that Actual file size. Also can the hex file be copied to windows in binary and use the Arduino IDE to burn to a board where the programmer is an Arduino as ISP unsing ladyada technique to load boot loader to a 328 chip with an arduino.

If you open the hex file in a text editor it will look something like this:

:103E0000112484B714BE81FFF0D085E08093810037
:103E100082E08093C00088E18093C10086E08093B7
:103E2000C20080E18093C4008EE0C9D0259A86E06C
:103E300020E33CEF91E0309385002093840096BB13

Because it is "printable" hex the file will be over twice the size on disk that it is on the chip. Yes, you can copy the file to another machine and burn the bootloader.