Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Status
Not open for further replies.

thannara123

Advanced Member level 4
Joined
Jan 7, 2010
Messages
1,456
Helped
121
Reputation
242
Reaction score
111
Trophy points
1,353
Location
God's Own country India, India
Activity points
9,464
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 .
 

FenTrac

Full Member level 4
Joined
Jul 6, 2014
Messages
208
Helped
37
Reputation
74
Reaction score
41
Trophy points
1,308
Location
West Coast
Activity points
3,079
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top