Hardware Reset (Moto 1.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 Moto 1.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 Moto 1.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 Moto 1.0 module will have the following default system settings:

ParamID Description VALUE
0 Module IIC Address 4
1 Router IIC Address 4
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 n/a n/a
19 Serial Relay Flag 0 = disabled
20 Quiet Mode Flag 0 = disabled
21 Serial Timeout 40 = timeout of 1024ms

The motor control parameters will also be reset.  The default values listed in the table below will be applied to each motor control channel.

Parameter ID Value Value (hex)
MODE 0 0 (off) 0x0000
P 1 32 0x0020
I 2 0 0x0000
D 3 0 0x0000
X1 4 0 0x0000
X2 5 0 0x0000
PERIOD 6 200 0x00C8
LATENCY 7 0 0x0000

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


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