XBee Prop Programming
bee_man
Posts: 109
I was thinking I would like to program my S2 thru an XBee adapter that I made here. http://forums.parallax.com/showthread.php/148314-S2-XBee-adapter-for-Tiny-Logo-and-more
So I did a little searching and discovered this link for Arduino. http://www.ladyada.net/make/xbee/arduino.html
Has anyone tried this? I bet it will work since I use my prop plug to program my RepRap board (ATMEGA644 based) all the time, so the timing should be close.
This is exactly the course of action that I had in mind, use one of the data lines from the XBee to trip the reset line.
I may have some reset timing issues that should be easily overcome.
So I did a little searching and discovered this link for Arduino. http://www.ladyada.net/make/xbee/arduino.html
Has anyone tried this? I bet it will work since I use my prop plug to program my RepRap board (ATMEGA644 based) all the time, so the timing should be close.
This is exactly the course of action that I had in mind, use one of the data lines from the XBee to trip the reset line.
I may have some reset timing issues that should be easily overcome.
Comments
-Phil
BTW, you will not find an XBee solution that uses the internal ROM loader, due to timing contraints.
-Phil
The Arduino had a similar soft solution to yours that this mod seems to correct.
The prop manual is very vague on the boot loader timing
what's the baud rate?
Would not the Arduino be subject to these same restraints? Apparently they have it working over there. I am going to try this mod and I will share the results with both the Arduino and the Prop.
This question of XBee direct programming comes up a lot and yes Phil has a soft work around, but I came across that Ladyada page and it appears to be feasible. I don't really need rock solid reliability.
I still can not find the baud rate the prop is looking for during the 100ms delay after reset.
-Phil
Now that does not sound encouraging !
-Phil