extract .hex file from arduino program

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

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.

Thanks a lot!! It works well! :smiley:

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

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)

thanks a lot

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

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.

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