# flashing programmable Xbee S2W over uart

**URL:** <https://forums.digi.com/t/flashing-programmable-xbee-s2w-over-uart/18349>\
**Category:** XBee & XBee Gateway\
**Tags:** flash, programmable, xbee\
**Created:** [May 12, 2017, 8:56am UTC](https://forums.digi.com/t/flashing-programmable-xbee-s2w-over-uart/18349 "2017-05-12T08:56:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Kestens](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@Mark\_Kestens](https://forums.digi.com/u/Mark_Kestens)\
**Post date:** [May 12, 2017, 8:56am UTC](https://forums.digi.com/t/flashing-programmable-xbee-s2w-over-uart/18349/1 "2017-05-12T08:56:58Z")

</div>

Hello,

Concerning my previous question :

1. power-consumption : is okay.
2. flashing xbee  
Can you provide me the full information on how to flash a ‘fresh’ programmable xbee (S2C) over the uart with our application (developed in codeWarrior).  
Our application is ready but we need to be able to make updates in the future via the uart of our PCB (Xbee is fixed soldered to our PCB)  
Starting from a ‘fresh’ S2C : is it still needed to update the bootloader (or is this only for development)?

Thanks in advance, Mark

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [May 12, 2017, 9:10am UTC](https://forums.digi.com/t/flashing-programmable-xbee-s2w-over-uart/18349/2 "2017-05-12T09:10:04Z")

</div>

If you are going to write code to a programmable module, you must add a bootloader hock into your application for you to be able to change the firmware in the future.

---

<div class="post-metadata">

**Author:** ![Mark\_Kestens](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@Mark\_Kestens](https://forums.digi.com/u/Mark_Kestens)\
**Post date:** [May 15, 2017, 2:49pm UTC](https://forums.digi.com/t/flashing-programmable-xbee-s2w-over-uart/18349/3 "2017-05-15T14:49:39Z")

</div>

1. For changing the FW in the future, we need a bootloader hock : do you have more info on this ? How? Examples ?
2. Suppose we do not need updates in the future. How can we then easily flash our own app on the xbee? Via XCTU? Is RX/TX/GND of uart sufficient or also DTR/RTS needed?

Thanks

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [May 15, 2017, 3:03pm UTC](https://forums.digi.com/t/flashing-programmable-xbee-s2w-over-uart/18349/4 "2017-05-15T15:03:40Z")

</div>

The Digi supplied bootloader is one of the sample applications you will find in the Programmable SDK.

The Programmable sections of the XBee manuals tell you all you need for accessing the Digi supplied bootloader.
