Dropped Telnet connection

Hi,

trying to setup Eclipse+OpenOCD as per Lynches tutorial.

Launching OpenOCD is fine; can telnet from the terminal to port 4444 and get a connection and can issue commands. Also telnetting to gdb port 3333 works, although I’m unsure what commands it takes.

From Eclipse can start OpenOCD, it resets my board, but when I start the blink app, OpenOCD complains as follows:

Info:    server.c:67 add_connection(): accepted 'telnet' connection from 0
Info:    server.c:367 server_loop(): dropped 'telnet' connection

When I try again it says:

Info:    server.c:67 add_connection(): accepted 'telnet' connection from 0
Error:   telnet_server.c:173 telnet_input(): error during read: Connection reset by peer
Info:    server.c:367 server_loop(): dropped 'telnet' connection

In Eclipse the blink code is suspended and can’t get it to run, possibly because it can’t get a debug connection?

Anyone has suggestions on this issue?

Thanks,

Arthur

To answer my own question… was talking to the wrong port on OpenOCD… duh dumn, the gdb_server sits on port 3333 not 4444.

If anyone is interested, now have Eclipse+OpenOCD with an ARM-USB-OCD from Olimex running on a Mac OS X 10.4 (intel) system.

Now need to fix the FTDI virtual com port driver to recognize the extra serial port on the thing. Just adding Olimex’s USB vendorID and productID to the list of devices in Info.plist didn’t help.

Oh well, progress at least.