Use chadmin to update the information provided during the registration of the target.
The following example sets the baud rate to 38400 and sets the parity to none. It uses the device /dev/ttya for the target name:
$ chadmin -baud 38400 -parity none -device /dev/ttya target_name |
Before the target updates, it is necessary to adjust certain tunables for the debug agent. See "Configuring the Debug Agent" for more information.
To specify a new layout.xml file because the path has changed, use the following command to inform the debug server of the new path:
$ chadmin -layout-file pathname/layout.xml target_name |
When you change the mode in which the system image boots (using the BOOT_MODE
global variable) or select a different system image
configuration (using the SYSTEM
global variable),
the path to the layout.xml file changes.
For example, if you type:
$ configurator -set SYSTEM=kts |
the path changes to build_dir/image/RAM/kts/layout.xml.
If you then type:
$ configurator -set SYSTEM=chorus |
the path changes to build_dir/image/RAM/chorus/layout.xml.
Similarly, if you change the mode in which the system image boots by typing:
$ configurator -set BOOT_MODE=ROM |
the path changes to build_dir/image/ROM/chorus/layout.xml.