Starting the OCDremote

Next, you need to start the OCDremote server to listen on a local port for incoming GDB client connections. This server translates incoming gdb commands into instructions understood by JTAG devices such as the Macragior Usb2Demon Debugger.

To start the OCDremote server, obtain the appropriate flags for your JTAG device, USB port, and target board. A complete reference can be found in Appendix A of the Using Macraigor JTAG/BDM Devices with Eclipse and the Macraigor GNU Tools Suite on Windows Hosts documentation from Macraigor.

For example, you can start the OCDremote utility at the command prompt for the Power PC by using the following command:
-c ppc405 -d usb -s 2

You'll notice that GDB is bound to port 8888.

As an external tool, or from the command line, start OCDremote on a local port.