Contents|Index|Previous|Next
GDB and Hitachi microprocessors


The following documentaton discusses using GDB with Hitachi microprocessors. GDB needs to know the following things to talk to your Hitachi SH, H8/300, or H8/500. Connecting to Hitachi boards

Use the special GDB command ‘deviceport’ if you need to explicitly set the serial device. The default, port, is the first available port on your host. This is only necessary on Unix hosts, where it is typically something like /dev/ttya.

GDB has another special command to set the communications speed: ‘speed bps’. This command also is only used from Unix hosts; on DOS hosts, set the line speed as usual from outside GDB with the DOS modecommand (for instance, ‘mode com2:9600,n,8,1,p’ for a 9600 bps connection).

The ‘device’ and ‘speed’ commands are available only when you use a Unix host to debug your Hitachi microprocessor programs. If you use a DOS host, GDB depends on an auxiliary terminate-and-stay-resident program called asynctsr to communicate with the development board through a PC serial port. You must also use the DOS mode command to set up the serial port on the DOS side.

Using the E7000 in-circuit emulator

You can use the E7000 in-circuit emulator to develop code for either the Hitachi SH or the H8/300H. Use one of these forms of the ‘target e7000’ command to connect GDB to your E7000.

Special GDB commands for Hitachi micros

Some GDB commands are available only on the H8/300 or the H8/500 configurations.
 


Top|Contents|Index|Previous|Next