PowerPC hardware setup

The eCos package comes with an EPROM which provides GDB support for the Cogent CMA/286-60 MPC860 evaluation board. An image of this EPROM is also provided at loaders/powerpc-cogent/gdbload.bin under the root of your eCos installation. The EPROM is installed to socket U4 on the board. Attention should be paid to the correct orientation of the EPROM during installation.

If you are going to burn a new EPROM using the binary image, be careful to get the byte order correct. It needs to be big-endian. If the EPROM burner software has a hex-editor, check that the first few bytes of the image look like:


00000000: 3c60 fff0 6063 2000 7c68 03a6 4e80 0020  <`..`c .|h..N.. 

If the byte order is wrong you will see 603c instead of 3c60 etc. Use the EPROM burner software to make a byte-swap before you burn to image to the EPROM.

When you switch on the Cogent board with an eCos GDB stub EPROM installed, you should see the following text on the LCD:


eCos ROM 03:40:1
Oct 28 1998  

The GDB stub in the EPROM allows communication with GDB using the serial port at connector P12. The communication parameters are fixed at 38400 baud, 8 data bits, no parity bit and 1 stop bit (8-N-1). No flow control is employed. Connection to the host computer should be made using a dedicated serial cable as specified in the Cogent CMA manual.

Note: On the Cogent CMA102 board, the serial connector used for GDB communication is called P3.