# Build a software for uploap hex in Arduino

**URL:** <https://forum.arduino.cc/t/build-a-software-for-uploap-hex-in-arduino/893588>\
**Category:** Programming\
**Created:** [August 8, 2021, 11:52am UTC](https://forum.arduino.cc/t/build-a-software-for-uploap-hex-in-arduino/893588 "2021-08-08T11:52:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lordjota](https://avatars.discourse-cdn.com/v4/letter/l/ce73a5/32.png) [@lordjota](https://forum.arduino.cc/u/lordjota)\
**Post date:** [August 8, 2021, 11:52am UTC](https://forum.arduino.cc/t/build-a-software-for-uploap-hex-in-arduino/893588/1 "2021-08-08T11:52:02Z")

</div>

Hi ! I have a question. I have a hex file, but i want to upload to a Arduino, but, I want to development the sofware that up the hex to arduino.

Can I do it ? I think that i can , but i havent idea how can start.... Do you know a some project that i can see ? I think in this software with a firmware updater :D.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![nicolajna](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/nicolajna/32/1013044_2.png) [@nicolajna](https://forum.arduino.cc/u/nicolajna)\
**Post date:** [August 8, 2021, 12:00pm UTC](https://forum.arduino.cc/t/build-a-software-for-uploap-hex-in-arduino/893588/2 "2021-08-08T12:00:43Z")

</div>

You can bundle AVRdude in your software and run it as a child process. That's what the Arduino IDE does.

---

<div class="post-metadata">

**Author:** ![johnwasser](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/johnwasser/32/214270_2.png) [@johnwasser](https://forum.arduino.cc/u/johnwasser)\
**Post date:** [August 8, 2021, 1:36pm UTC](https://forum.arduino.cc/t/build-a-software-for-uploap-hex-in-arduino/893588/3 "2021-08-08T13:36:21Z")

</div>

An Arduino sketch can't write into it's own FLASH/PROGMEM memory. Only the bootloader segment of FLASH can write into the application (sketch) segment of FLASH. Did you want to write a PC program to upload hex to an Arduino with a bootloader? Did you want to write an Arduino sketch to upload hex into another Arduino (with a bootloader? without a bootloader?)

The Arduino UNO Bootloader and the AVR In-system Serial Programming (ISP) interface both speak the STK500 (V1) protocol.

The sketch File-\>Examples-\>11.ArduinoISP-\>ArduinoISP will accept 'STK500 (V1)' messages from Serial and send 'SK500 (V1)' commands through the SPI interface to the target AVR hardware. It is used to write into FLASH/PROGMEM when an Arduino bootloader is not installed but the same commands over Serial would upload to an Arduino with a bootloader.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 6, 2021, 1:37pm UTC](https://forum.arduino.cc/t/build-a-software-for-uploap-hex-in-arduino/893588/4 "2021-12-06T13:37:14Z")

</div>

Closed on December 6, 2021, 1:37pm UTC

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
