Skip to content
Send sketches wirelessly from the Arduino IDE to your SMART Response XE
C C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ATmegaBOOT.c
ATmegaBOOT_atmega128rfa1.hex
LICENSE.md
Makefile
README.OLD
README.md
bootloader_photo.jpg
wireless_uploader.ino

README.md

Wireless Bootloader

SMART Response XE

Copyright(c) 2018 BitBank Software, Inc.
Written by Larry Bank
bitbank@pobox.com

This project consists of two parts: A custom bootloader for the SMART Response XE handheld and an 'uploader' sketch which will run on another SMART Response XE used as a 'hub' to connect to the PC.

The idea is to allow wireless uploading of Arduino sketches right from the IDE. It was necessary to sacrifice an XE unit to act as the hub since there don't appear to be inexpensive 802.15.4 (ZigBee) products which allow raw packet manipulation.

The bootloader allows uploading of sketches through serial 0 or 1 and wirelessly. Since the SMART Response XE doesn't have a real power switch, the bootloader code will put the unit into power down sleep after 2 minutes of no activity. Press the wake button to wake it up.

ATTENTION: This bootloader takes more than 4K of space, so I changed the HFUSE value (DA->D8) to reflect that. Remember to use the correct values when burning the bootloader to the XE.

I used the ATmega128RFA1 bootloader provided by Sparkfun as a starting point. I removed some unneeded parts and added my wireless code. The original copyright notice and comments are still there. My uploader sketch requires my XE support library which can be downloaded here:

https://github.com/bitbank2/SmartResponseXE

I've written a detailed blog post which documents the hows and whys of this project here:

http://bitbanksoftware.blogspot.com/2018/09/my-adventures-in-writing-ota-bootloader.html


If you find this code useful, please consider buying me a cup of coffee

paypal

You can’t perform that action at this time.