User Manual
Software Design
ZSTAR3 Reference Design Manual, Rev. 0.1
5-44 Freescale Semiconductor
Preliminary
Pr
e
l
i
m
i
n
a
ry
A user is required to place the Sensor Board into horizontal position(for example on a desk), in which the
earth’s gravity will induce a maximum acceleration in Z axis.First command ‘Q’ sent to USB Stick only
prepare user to calibration by text help and second commnad ‘Q’ in line starts autocalibration process in
Sensor board.
5.5 Compatiblity with Original ZSTAR
The new ZSTAR3 and new USB stick sw are fully compatible with original ZSTAR on USB
communication, thus can be used all application designed for original ZSTAR as demo application
RD3152MMA7260Q_SW. Compatibility was reach by keeping all original commands in communication
protocol on USB.
USB Stick provides compatibility mode with original ZSTAR RF protocol. If first devices in brodcast
mode is Sensor Board with original software, USB Stick is switched to Compatibility mode and start
original ZSTAR RF protocol. When is Compatibility mode is active, any sensor can’t be connect.
5.6 Bootloader
There’s bootloader software implemented in MCHC908JW32 microcontroller. The bootloader is based on
1., “AN2295 Application note - Developer’s Serial Bootloader for M68HC08 and HCS08 MCUs and
AN2295SW related software. The original AN2295 bootloader targets serial connections between the PC
and applications, and since the MCHC908JW32 implements a virtual serial port application, the USB
version of the AN2295 bootloader has been created to allow reprogramming of Flash memory in the USB
stick.
The USB virtual serial port software is fully described in 2., “AN3153 Application note - Using the
Full-Speed USB Module on the MCHC908JW32. The MCHC908JW32 bootloader implements the same
virtual serial port but under a different PID (the PC sees that serial port as a different application from
ZSTAR).
The bootloader drivers installation guide can be found in Section 6.1.2, “AN2295 Bootloader Drivers
installation.
5.6.1 Switch to Bootloader procedure
The Bootloader in the ZStar is starts very simply by followed procedure:
1. Unplug the USB Stick from USB port.
2. Press and keep the button on the USB Stick.
3. Keep pressed button and plug the USB Stick back to the USB port.
4. Release the button.