| braindump |
The command-line braindump tool is used to re-initialize the basic robot configuration parameters. This tool is like a simple package manager that loads everything onto the two BrainStem modules in the Garcia.
Hardware Reset
The robot's BrainStem modules first needs to be completely reset to factory defaults to ensure a known state to start from. Details on how to perform a BrainStem module hardware reset are provided in the Reference manual.
http://acroname.com/brainstem/ref/ref.html#Hardware/physresetgp2.html
http://acroname.com/brainstem/ref/ref.html#Hardware/physresetmo.html
| Note: | The EEPROM lock must be removed before performing the hardware resets, settings changes, as well as the braindump to allow the settings to be written to the EEPROM. Once complete and verified, don't forget to restore the EEPROM lock to lessen the chances of these settings being corrupted. |
Preparation
There are 2 settings that need to be configured from the hardware defaults so that the braindump can take place.
A mandatory first step is to network the BrainStem GP 2.0 and Moto 1.0 module as the Garcia TEAware relies on intermodule communication. The Moto's router must be set to GP's address (at address 2). This requires using the aConsole application to send configuration packets. Detailed instructions are provided in the reference manaul under the subsection "Networking a GP and Moto Module".
http://acroname.com/brainstem/ref/ref.html#Hardware/stemnetwork.html
An additional configuration step is to increase the serial baudrate to the BrainStem router module to the host processor.
http://www.acroname.com/brainstem/ref/ref.html#Hardware/baudrates.html
A final step is to save changed module settings using the command cmdVAL_SAV. Once the settings are changed, one can successfully perform a Braindump for the supplied TEAware for Garcia.
Dumping
The braindump tool is a command-line tool that can be run directly from withing the aConsole application. The factory supplied braindump file is located in the acroname/aObject directory inside the Garcia download.
brainstem> braindump garcia_dump.dump
Braindumping the factory provided file using aConsole