# Combining ROM.bin and image.bin into one file

**URL:** <https://forums.digi.com/t/combining-rom-bin-and-image-bin-into-one-file/4312>\
**Category:** NET+OS\
**Tags:** firmware\
**Created:** [May 18, 2011, 10:27pm UTC](https://forums.digi.com/t/combining-rom-bin-and-image-bin-into-one-file/4312 "2011-05-18T22:27:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebernste](https://avatars.discourse-cdn.com/v4/letter/e/90db22/32.png) [@ebernste](https://forums.digi.com/u/ebernste)\
**Post date:** [May 18, 2011, 10:27pm UTC](https://forums.digi.com/t/combining-rom-bin-and-image-bin-into-one-file/4312/1 "2011-05-18T22:27:44Z")

</div>

I have a need to combine and upload the ROM.bin and image.bin into one file named rom.bin and upload it using ftp to my ConnectME. I remember that there is a way to combine the two binaries and upload them as a rom.bin file.

The reason I have to do this, when I try to upload an image.bin file, there is not enough RAM to retrieve the whole file, and so the uploading of the file fails…can’t upload new firmware. If I upload rom.bin file it uploads in chunks.

Please help!

---

<div class="post-metadata">

**Author:** ![rdeabill](https://avatars.discourse-cdn.com/v4/letter/r/91b2a8/32.png) [@rdeabill](https://forums.digi.com/u/rdeabill)\
**Post date:** [May 19, 2011, 7:51am UTC](https://forums.digi.com/t/combining-rom-bin-and-image-bin-into-one-file/4312/2 "2011-05-19T07:51:38Z")

</div>

Hi,

I believe that this is what you will need

---

<div class="post-metadata">

**Author:** ![ebernste](https://avatars.discourse-cdn.com/v4/letter/e/90db22/32.png) [@ebernste](https://forums.digi.com/u/ebernste)\
**Post date:** [May 20, 2011, 11:49pm UTC](https://forums.digi.com/t/combining-rom-bin-and-image-bin-into-one-file/4312/3 "2011-05-20T23:49:34Z")

</div>

Yes. Thank you. I assume that the padding size can be kept to a minimum ? Thanks again, this utility save me a few days of work.

---

<div class="post-metadata">

**Author:** ![rdeabill](https://avatars.discourse-cdn.com/v4/letter/r/91b2a8/32.png) [@rdeabill](https://forums.digi.com/u/rdeabill)\
**Post date:** [May 23, 2011, 8:15am UTC](https://forums.digi.com/t/combining-rom-bin-and-image-bin-into-one-file/4312/4 "2011-05-23T08:15:24Z")

</div>

Hi,

The padding size should be set to the value defined for the Bootloader in the Flash Memory Map section, under NET+OS in the project properties. This is normally 64K, if you are using the default bootlader.

---

<div class="post-metadata">

**Author:** ![Nana111](https://avatars.discourse-cdn.com/v4/letter/n/d78d45/32.png) [@Nana111](https://forums.digi.com/u/Nana111)\
**Post date:** [March 10, 2014, 1:48am UTC](https://forums.digi.com/t/combining-rom-bin-and-image-bin-into-one-file/4312/5 "2014-03-10T01:48:10Z")

</div>

Hi there  
I have never tried to combine and upload the image.I think that would be very difficult for me if there is no image program.So is there any [[color=black]image program](http://www.rasteredge.com/how-to/csharp-imaging/) which supports to do that directly?Thanks a lot[/color]
