×

Our Technical Support team will be out of the office on Wednesday, April 23 starting at 12pm. Tech Support will reopen with normal hours on Thursday, April 24 at 9am. Thank you

Roman Elizarov

Member Since: February 8, 2010

Country: Russia

  • Tutorial - Wireless XBee/AVR Bootloading | about 3 months ago

    I had a similar problem of wireless Arduino bootloading over XBee Series 2 (ZigBee) mesh network. Solved it.

    I’ve started with a patch to avrdude to support AVR code upload over XBee ZigBee mesh using API mode. I’ve put the corresponding patch to avrdude to github here https://github.com/elizarov/haworks/blob/master/avrdude-xbee.diff but I’m not using it anymore.

    Instead, I’ve written Arduino programmer that works over XBee mesh network in Java from scratch. It also has a number of utilities to manage my XBee home automation network (scan, manage, and reprogram remote devices). It has a console interface where you can do things like “discover”, “link” console to messages on your network to type text to your devices and “@name avr f:w:your-hex-file”. It is available on github at https://github.com/elizarov/xtools but unfortunately I did not find time yet to write a decent documentation (there is built in help for console commands, though, when you type ‘?’ and <ENTER>), while I’m the only one who uses it. You’ll need to have your device attached to XBee with AT firmware running at the same baud rate as your arduino bootloader, while for the programming computer I use XBee usb dongle (thank you sparkfun) and an XBee with API firmware (any fast enough baud will work - it does not have to match and I have a mix of 57600 and 115200 bootloaders in my home).

    If anybody is interested, I can spend some time writing a better documentation.

  • Product DEV-10116 | about 4 months ago

    It is possible to repogram via mesh network. I do it for over 2 years now. You’ll need a special software. See my answer above.

  • Product DEV-10116 | about 4 months ago

    You can wirelessly program FIO and other arduinos with a proper connection of XBee DIO3 to Arduino reset line (all sparkfun pro arduinos attached to xbee regulated explorer have it) usign XBee Series 2. It works perfectly in a mesh network with lots of device in it, because you can name them wih NI XBee command and address them by name. You just need a special sofware instead of avrdude.

    I’ve written arduino programmer that works over xbee network a while ago with a host of other utilities to manage my XBee home automation network (scan, manage, and reprogram remote devices). It has a console interface where you can do things like “discover”, “link” console to messages on your network to type text to your devices and “@name avr f:w:your-hex-file”. It is avaible on github at https://github.com/elizarov/xtools but unfortunately I did not find time yet to write a decent documentation (there is built in help for console commands, though), while I’m the only one who uses it. You’ll need to have your device attached to XBee with AT firmware running at the same baud rate as your arduino bootloader, while for the programming computer I use XBee usb dongle (thank you sparkfun) and an XBee with API firmware (any fast enough baud will work - it does not have to match and I have a mix of 57600 and 115200 bootloaders in my home).

    If anybody is interested, I can spend some time writing a better documentation.

No public wish lists :(