Pages: [1]   Go Down
Author Topic: How to get hex file from arduino files ?  (Read 6078 times)
0 Members and 1 Guest are viewing this topic.
Jordan
Offline Offline
Newbie
*
Karma: 0
Posts: 6
no thing is impossible except that the state of your mind keeps it so...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi every body

this my first topic to me on Arduino forum , and I hope to be useful to you

I prepared this video to show you how to convert INO and PDE to hex file .

http://www.youtube.com/watch?v=cPXO8CbYlKw&feature=youtu.be

and this is the full tutorial for this video "I know it's not desired more than video " in arabic

http://genotronex.blogspot.com/2012/11/ino-hex-hex-avr-studiobuscomavr-dude.html



thank you

« Last Edit: November 09, 2012, 08:01:51 pm by Mohannad_Rawashdeh » Logged

no thing is impossible except that the state of your mind keeps it so...

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 534
Posts: 26969
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The hex file is converted as part of the Verify (Compile) process.

Select File:Prefences, check Verbose output

When you compile the last 2 lines that are displayed are:

C:\Users\Owner\AppData\Local\Temp\build1191639898936270974.tmp\eightx32display_progmem_eeprom.cpp.hex
Binary sketch size: 8,362 bytes (of a 130,048 byte maximum)

And there's your hex file.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Jordan
Offline Offline
Newbie
*
Karma: 0
Posts: 6
no thing is impossible except that the state of your mind keeps it so...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you CrossRoads , you are right .

any one don't know how to get hex file can return to this simple illustration .
Logged

no thing is impossible except that the state of your mind keeps it so...

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13673
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


If you only have an Arduino you can read back the hex file with the AVRDUDE.exe command. See the manual for the details / params.

Be careful as this tool can do a lot you might not intend to do ...
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: