# How to flash an application to a programmable Xbee ZB by mounted on XBIB USb board ?

**URL:** <https://forums.digi.com/t/how-to-flash-an-application-to-a-programmable-xbee-zb-by-mounted-on-xbib-usb-board/17610>\
**Category:** XBee Programamble (S2C & 900 HP)\
**Tags:** flash, usb, zb, s2c, sample\
**Created:** [October 28, 2016, 8:58am UTC](https://forums.digi.com/t/how-to-flash-an-application-to-a-programmable-xbee-zb-by-mounted-on-xbib-usb-board/17610 "2016-10-28T08:58:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![btatsoplo](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@btatsoplo](https://forums.digi.com/u/btatsoplo)\
**Post date:** [October 28, 2016, 8:58am UTC](https://forums.digi.com/t/how-to-flash-an-application-to-a-programmable-xbee-zb-by-mounted-on-xbib-usb-board/17610/1 "2016-10-28T08:58:43Z")

</div>

Hi all,  
I have:

- 1 Programmable XBee-PRO ZigBee Through-Hole (PCB Antenna) XBP24CZ7PITB003
- 1 XBIB-U-DEV kit

I’m trying to program the blink\_led sample application provided by CodeWarrior (including Digi plugin) in my programmable Xbee module mounted on the XBIB board.

1. Is this possible by just using the XBIB board?
2. If yes, what is the procedure to achieve that?
3. If no, is it mandatory to use the “P&E Multilink” or “Cyclone multilink” programmer tools ( cost around 300$ !! ) to just flash an application to a programmable Xbee?

Feel free for further details.  
Regards

---

<div class="post-metadata">

**Author:** ![btatsoplo](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@btatsoplo](https://forums.digi.com/u/btatsoplo)\
**Post date:** [October 28, 2016, 4:40pm UTC](https://forums.digi.com/t/how-to-flash-an-application-to-a-programmable-xbee-zb-by-mounted-on-xbib-usb-board/17610/2 "2016-10-28T16:40:59Z")

</div>

After some search in the forum, i found the following link:  
[http://www.digi.com/support/forum/57213/can-access-the-bootloader-with-xctu-but-where-the-xmodem-tab](http://www.digi.com/support/forum/57213/can-access-the-bootloader-with-xctu-but-where-the-xmodem-tab)

It explains how to flash the Xbee S2C by using the XMODEM file transfer tool integrated in Teraterm 🙂

---

<div class="post-metadata">

**Author:** ![btatsoplo](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@btatsoplo](https://forums.digi.com/u/btatsoplo)\
**Post date:** [October 29, 2016, 12:19pm UTC](https://forums.digi.com/t/how-to-flash-an-application-to-a-programmable-xbee-zb-by-mounted-on-xbib-usb-board/17610/3 "2016-10-29T12:19:50Z")

</div>

The firmware update timeout is 10 seconds by default. This time can be increased by using the bootloader command “T” (see more info in [http://xbee-sdk-doc.readthedocs.io/en/1.5.7/doc/flashing\_bootloader/#512-bootloader-options](http://xbee-sdk-doc.readthedocs.io/en/1.5.7/doc/flashing_bootloader/#512-bootloader-options)).

To simplify the flashing method with XMODEM described at [http://www.digi.com/support/forum/57213/can-access-the-bootloader-with-xctu-but-where-the-xmodem-tab](http://www.digi.com/support/forum/57213/can-access-the-bootloader-with-xctu-but-where-the-xmodem-tab) (skipping steps 2 and 3), once in bootloader mode, set the Timeout to T3 or T4 for example, in order to have the sufficient time to browse to the binary file in Tera term XMODEM tool.
