0

What the benefit of uploading merely hex file to avr based board like arduino uno Since the arduino ide it self will send intel hex file to the board after compile .ino file to hex file by the avrdude compiler (https://github.com/arduino/Arduino/wiki/Build-Process)?

2
  • The data is send to the bootloader, and the bootloader writes it to flash memory. Can you explain your question? What else would you want to upload to the arduino board? – Jot Sep 15 '18 at 6:07
  • i just wondering if there is sketch speed execution difference betwen uploading .ino file and uploading pure hex file whether via usb or isp – Doni Mart Galumbang Hutabarat Sep 16 '18 at 2:58
1

If you want to upload the same sketch to many Arduinos compiling it again and again would take much longer. Or if you create a firmware ànd don't want to disclose the source code, you can distribute it in compiled form.

11
  • In some languages an accent can be used to emphasize a word, but the other accent is used (á). What is ànd? – Jot Sep 15 '18 at 11:21
  • @Jot, I don't know. I wrote it on an Android phone with on screen keyboard which has only English characters – Juraj Sep 15 '18 at 11:30
  • i just want to know if there is significant speed difference in user program excecution between .ino file and hex file – Doni Mart Galumbang Hutabarat Sep 16 '18 at 3:04
  • ino file is not executable. it is a source code. an input for the compiler – Juraj Sep 16 '18 at 5:11
  • @juraj i do agree with you reffer to link i attached with my question. but when you googling "send hex file to avr board" and some short of that you will find alot talking around that concept. what dou you think – Doni Mart Galumbang Hutabarat Sep 17 '18 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.