Pages: [1]   Go Down
Author Topic: 2Boots Question  (Read 256 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

? 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
Logged

Global Moderator
Melbourne, Australia
Offline Offline
Brattain Member
*****
Karma: 511
Posts: 19367
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Matter, in what sense?
Logged

http://www.gammon.com.au/electronics

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Global Moderator
Melbourne, Australia
Offline Offline
Brattain Member
*****
Karma: 511
Posts: 19367
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Code:
: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.
Logged

http://www.gammon.com.au/electronics

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Pages: [1]   Go Up
Jump to: