Hardware Reset (GP 2.0)Index

Contents

Physical Hardware Reset
Software Hardware Reset
Hardware Reset Values

Physical Hardware Reset

It is possible to corrupt the system settings in a BrainStem module with erroneous commands.  When this occurs, it may no longer be possible to communicate with the module through the serial link, or through the IIC link if it is in a network.  To regain control of the BrainStem module, it is necessary to perform a hardware reset by connecting a jumper resistor between two pins on the GP 2.0 board and turning the power on and off.  The steps for doing this are as follows:

1.  Turn off power to the module.

2.  Disconnect the serial cable from the module (if attached).  Disconnect the module from the IIC bus (if attached).

3.  Connect a 1K-10K Ohm resistor between the SRX pin of the module's serial port and the SDA pin of the module's IIC port.

4.  Reapply power.  The green LED on the module will blink rapidly for a moment, turn off briefly, then continue to blink rapidly.  This indicates a successful hardware reset.

5.  Turn off power to the module.

Software Hardware Reset

A packet command can issue a hardware reset in place of performing the steps outlined in the physical hardware reset.  For example, to issue a hardware reset to a BrainStem GP 2.0 one would issue a cmdRESET_HARDWARE packet followed by a cmdRESET packet from the Console:

When successful, the heartbeat status LED will flicker rapidly until power is cycled to the BrainStem.

Hardware Reset Values

This procedure will not alter any stored TEA programs or reflexes.  After a hardware reset, the BrainStem GP 2.0 module will have the following default system settings:

ParamID Description VALUE
0 Module IIC Address 2
1 Router IIC Address 2
2 Heartbeat Rate 10 (256 ms)
3 IIC Baud Rate 2 = 1 Mbps
4 Serial Baud Rate 2 = 9600
5 Heartbeat Mode 0 = Link
6 Boot Reflex Flag 0 = No Reflex at Power-up
7 Link Reflex Flag 0 = No Reflex at link-down
15 VM Boot File 1 255 = no file
16 VM Boot File 2 255 = no file
17 VM Boot File 3 255 = no file
18 VM Boot File 4 255 = no file
19 Serial Relay Flag 0 = disabled
20 Quiet Mode Flag 0 = disabled
21 Serial Timeout 40 = timeout of 1024ms

The servo outputs will also be reset.  Each servo will be enabled and centered at position 128.  Each servo will have a 90 degree range.  This 90 degree range will be centered within the 180 degree range of a typical servo.

Connect the BrainStem module via the serial cable to your computer and re-apply power.  Use the Console program to reconfigure the system parameters for your application.


version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado.  All rights reserved.