Go Down

Topic: extract .hex file from arduino program (Read 9413 times) previous topic - next topic

antoine

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

Eight

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.

antoine


herctrap

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

robtillaart

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)
Rob Tillaart

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

herctrap


dut

how we can get .asm file from Arduino software?..
it is posible?
dut eden rockes

robtillaart

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.
Rob Tillaart

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

floresta

#8
Jan 20, 2011, 10:02 pm Last Edit: Jan 20, 2011, 10:07 pm by floresta Reason: 1
Code: [Select]
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

Go Up