hex file created for Arduino uno by arduino IDE burn to a atmega IC ?

Status
Not open for further replies.

thannara123

Advanced Member level 5
Joined
Jan 7, 2010
Messages
1,580
Helped
122
Reputation
244
Reaction score
114
Trophy points
1,353
Location
India
Activity points
10,382
Hello ,

May i know that can i directly burn the hex file which generated for arduino uno board to an atmega ic for the same functioning .
 

You could burn the file to an ATmega328, the ATmega used on the Arduino.
For a different ATmega chip, the source code has to be written to be compatable and compiled for that processor.
They differ in fuses, amount of flash and ram, ports and special function pins, registers, internal components such as uarts, timers, etc.
The .hex file would need to be uploaded with avrdude in order to program fuses.
Uploading a .hex file with the Arduino IDE "upload using programmer" function does not burn fuses.
An Arduino used as ISP can be used with avrdude to upload the file.
There is a graphical front end for avrdude called AVRdudess that can help using avrdude.

Here is an link that talks about uploading using a programmer:

https://www.arduino.cc/en/Hacking/Programmer
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…