Home  >  Support  >  Support Forum  >  Uploading code to the programable xbee

Uploading code to the programable xbee

0 votes
Hello,

I am trying to figure out what are my programming options for the ZB module.

When the XBEE arrives from the factory, is the bootloader locked, thus preventing me to upload any code on the module?

Am I able to upload code developed with codewarrior using the XCTU utility and just a FTDI adapter ?
I tried the steps outlined here:

http://www.digi.com/support/forum/37419/programming-xbee-with-cable-codewarrior-xbee-without-adapter

and here:

http://www.digi.com/support/forum/37490/instructions-for-creating-binary-and-uploading-xbee-via-ctu

After a few attempts, I managed to upload the whole program ( without the transfer stalling ), but it did not seem to run my code.

Any help here would be appreciated.
asked Jun 16 in XBee Programmable Development by clusty New to the Community (7 points)

Please log in or register to answer this question.

2 Answers

0 votes
No the bootloader is not locked. But you do need to follow the steps in the product manual or in the Software Development Kit in order to compile, upload and run the code properly.

Have you tried following any of the sample applications and steps provided in the sdk?
answered Jun 16 by mvut Veteran of the Digi Community (2,054 points)
0 votes
I got it working.
The initial issues were related to the fact that the module kept sleeping.

The timing between pressing upload and module sleeping is quite tight.

All the is left is figuring out how to debug stuff.
Where does stdout and stderr wind up ?
Is there a way to do serial console debugging ?
answered Jun 16 by clusty New to the Community (7 points)
Contact a Digi expert and get started today! CONTACT US
...