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:


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.