# Loading Without Dynamic C - through a serial port

**URL:** <https://forums.digi.com/t/loading-without-dynamic-c-through-a-serial-port/16467>\
**Category:** Rabbit Software\
**Tags:** usb, update\
**Created:** [March 21, 2016, 7:57am UTC](https://forums.digi.com/t/loading-without-dynamic-c-through-a-serial-port/16467 "2016-03-21T07:57:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![iliask](https://avatars.discourse-cdn.com/v4/letter/i/b782af/32.png) [@iliask](https://forums.digi.com/u/iliask)\
**Post date:** [March 21, 2016, 7:57am UTC](https://forums.digi.com/t/loading-without-dynamic-c-through-a-serial-port/16467/1 "2016-03-21T07:57:54Z")

</div>

Hello Digi forum,

I would like to ask if it’s possible to update the running software on a board directly by a serial communication port, for example by using a usb key, and not using a programming cable at all. If it is possible which steps should i follow. Is there any example on the samples directory that i could follow.

Thank you in advance  
Best Regards  
IK

---

<div class="post-metadata">

**Author:** ![petermcs](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@petermcs](https://forums.digi.com/u/petermcs)\
**Post date:** [March 21, 2016, 9:28am UTC](https://forums.digi.com/t/loading-without-dynamic-c-through-a-serial-port/16467/2 "2016-03-21T09:28:12Z")

</div>

If you are using the one of the Rabbit 6000 based systems you could probably implement something like that via USB as it supports USB host operation and could read an update file from a USB memory stick (maybe check for a special file on power up?).

You would have to look at modifying some of the examples/libraries for Remote Program Update to read a file from the memory stick instead of the network but I don’t see why it can’t be done.

For Rabbit 4000/5000 (and possibly 2000/3000) you could do the same with an SD card if you added the hardware for this to your design.

Regards,  
Peter

---

<div class="post-metadata">

**Author:** ![iliask](https://avatars.discourse-cdn.com/v4/letter/i/b782af/32.png) [@iliask](https://forums.digi.com/u/iliask)\
**Post date:** [March 21, 2016, 11:58am UTC](https://forums.digi.com/t/loading-without-dynamic-c-through-a-serial-port/16467/3 "2016-03-21T11:58:22Z")

</div>

Thanks Peter for your quick response,

Actually i am using a Rabbit 4300 with an integrated sd memory slot. Could you please guide me on how i could use the sd to update the soft. Could you also suggest an example that i could follow.

Best Regards  
IK

---

<div class="post-metadata">

**Author:** ![petermcs](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@petermcs](https://forums.digi.com/u/petermcs)\
**Post date:** [March 21, 2016, 12:50pm UTC](https://forums.digi.com/t/loading-without-dynamic-c-through-a-serial-port/16467/4 "2016-03-21T12:50:59Z")

</div>

If you are using the RCM4300 then you are in luck. Have a look at the Samples\RemoteProgramUpdate\bootchk.c example as it seems to be exactly what you need.

Regards,  
Peter

---

<div class="post-metadata">

**Author:** ![iliask](https://avatars.discourse-cdn.com/v4/letter/i/b782af/32.png) [@iliask](https://forums.digi.com/u/iliask)\
**Post date:** [March 22, 2016, 8:21am UTC](https://forums.digi.com/t/loading-without-dynamic-c-through-a-serial-port/16467/5 "2016-03-22T08:21:41Z")

</div>

Thank you Peter,

It seems to be what i was looking for.

Have a nice day  
IK

---

<div class="post-metadata">

**Author:** ![iliask](https://avatars.discourse-cdn.com/v4/letter/i/b782af/32.png) [@iliask](https://forums.digi.com/u/iliask)\
**Post date:** [November 14, 2017, 10:05am UTC](https://forums.digi.com/t/loading-without-dynamic-c-through-a-serial-port/16467/6 "2017-11-14T10:05:10Z")

</div>

Is it possible to update firmware remotely on a rcm4120 through serial communication?
