Modifying Pre-Production BoosterPacks to Run the Production Software

=Introduction= There were several changes to the hardware design of the AIR ZigBee BoosterPack between the pre-production version and the production version of the board. Most notably, the temperature and light sensors were changed to completely different hardware, and the MRST signal was moved from MSP-430 IO pin P2.3 to P2.7. The drivers for the pre-production temp and light sensors are no longer included in the production AIR-ZNP software. However, if you have pre-production boards, they can still be reloaded with the new software by doing some fairly minor modifications. These modifications do require cutting jumpers and soldering a wire.

Once modified, the production software will run on the pre-production boards with the following notes:


 * Unless you rebuild the production software (see section below), the software will report bad values for the temperature and light since the production sensors are not present. But it will run.
 * You can rebuild the software to remove the checking of the non-existant light and temp sensors. See the instructions below.

=Moving MRST from P2.3 to P2.7=
 * Cut Jumper J23 to disconnect MRST from MSP-430 P2.3.
 * Add a wire from the MRST side of J23 to connector J2-8 (aka MSP-430 P2.7).

=Removing the Pre-Production Temperature Sensor= Since there are no software drivers for the pre-production temp sensor included in the production software, it makes sense to disconnect the pre-production temp sensor.


 * Cut Jumpers J13, J14, and J20 to disconnect the pre-production temp sensor.

=Removing the Pre-Production Light Sensor= Since there are no software drivers for the pre-production light sensor included in the production software, it makes sense to disconnect the pre-production light sensor.


 * Cut Jumper J10 to disconnect the pre-production light sensor.

=Rebuilding the Production Software= Since the production software uses temp and light sensors that are not present on the pre-production boards, one can optionally rebuild the software to not try to use the nonexistent sensors.


 * In IAR, go to Project -> Options -> C/C++ Compiler Category -> Preprocessor Tab -> Defined Symbols box.
 * If present, modify the line that says INCLUDE_IR_TEMPERATURE_SENSOR to say xINCLUDE_IR_TEMPERATURE_SENSOR.
 * If present, modify the line that says INCLUDE_COLOR_SENSOR to say xINCLUDE_COLOR_SENSOR.
 * Rebuild the project(s).
 * Load the code into the MSP-430 as appropriate.

Once rebuilt, the application will no longer attempt to use the nonexistent Temp and Light sensors.