Documentation for Firmware D, version 1.3 for UBW Boards
(New version 1.3, 08/18/2006)
Back to main UBW page

Note: SparkFun is shipping Firmware D version 1.1 on their UBW boards.
This means that if you buy a UBW board from Spark Fun, you will get a board with Firmware D version 1.1 on it. If you want version 1.3 (described on this page) you will need to upgrade your UBW as described here. (It is a very easy procedure.) Get the FW D v1.3 hex file here. There have been reports of problems after upgrading from Firmware D v1.1 to v1.2, where the UBW would no longer be recognized by Windows anymore. With the help of several dedicated UBW users, I was able to track the problem down. Version 1.3 has the bug fixed, and hopefully there will be no more problems.

Firmware version D is a more advanced (and more complicated) firmware version than Firmware C. Wheras C just allows you to write out 8 bits at a time to Port B, Firmware D allows you to use every one of the 19 I/O pins on the UBW Board as an input or an output, and to read the state of every one of those pins. In order to do this, it has an actual command structure that must be followed when communicating with it.

Version Notes:

    The "C" Command:

    The "O" Command:
    The "I" Command
    The "V" Command
    The "R" Command
   The "T" Command
   The "A" Command
   The "MR" Command    The "MW" Command    The "PD" Command    The "PI" Command
   The "PO" Command
Hints on using Firmware D:

Errors Reponses:
    There are some rules about sending these commands to the UBW. If any of the rules is violated, an error charater will be sent back. You can monitor the serial port for these characters to know what you are doing wrong.
    Other things to note:

    The full zip file for Firmware D v1.3, including all source and project files necessary to rebuilt it are located here.
    If you just want the Firmware D v1.3 HEX file, it is here.

Back to main UBW page
Questions? E-mail me at my e-mail address