Pages: [1]   Go Down
Author Topic: extract .hex file from arduino program  (Read 8288 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 12
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I want to extract the .hex file of my arduino program to use it with Proteus Isis software. Do you know how can I do it?

thanks
Logged

UK
Offline Offline
Sr. Member
****
Karma: 0
Posts: 304
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If memory serves, holding shift while clicking the Verify compile button shows you the output of the compile process including the location on disk of the hex file.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 12
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks a lot!! It works well! smiley-grin
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 146
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

and how can we upload that hex file
without using the arduino Ide
with a programmer of course
and what about the fuses?

thanks a lot
Logged

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

Check out the avrdude command. HOld down the shift key while clicking the upload for the syntax. And yes somewhere in your installation there is the avrdude manual. look for the -D option (IIRC)
Logged

Rob Tillaart

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

0
Offline Offline
Full Member
***
Karma: 0
Posts: 146
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks a lot
Logged

malaysia
Offline Offline
Full Member
***
Karma: 2
Posts: 101
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

how we can get .asm file from Arduino software?..
it is posible?
Logged

dut eden rockes

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

Quote
how we can get .asm file from Arduino software?..
it is posible?
~\arduino-0021\hardware\tools\avr\bin\avr-objdump.exe

check the -D or -d  option in the manual.
Logged

Rob Tillaart

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

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 32
Posts: 4256
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
and what about the fuses?
I have successfully switched back and forth between using the Arduino IDE / bootloader and Studio 4 / programmer without changing the fuses.  It's not the best solution and may not work if the op codes are enhanced in the future but currently I assume that the values in the unprogrammed bootloader memory space are being treated as NOPs (no operation) when the processor incorrectly starts its execution there.

Don
« Last Edit: January 20, 2011, 04:07:44 pm by floresta » Logged

Pages: [1]   Go Up
Jump to: