Chris Howard wrote:

Hi,

I think I have gcc and gdb built ok, and I got the
bintools, and the msp430libc built.

Now I am having problems with msp430-gdbproxy.

A printer was previously connected to the printer
port, and it worked ok.  I turned off cups and
removed the lp module.  I did a modprobe for ppdev
and it appears to have loaded ok.

But when I run gdbproxy I get:

prompt> msp430-gdbproxy  --debug --port=2000 msp430

debug: msp430: msp430_open()
error: msp430: Could not find device (or device not suported) (4)

I am running as root, so permissions shouldn't be an issue.

I have an Olimex card and JTag ribbon thingy.  It all worked
awhile ago using the TI tools under Win XP.  So I think
my hardware is ok.

Any ideas?
I assume this is Linux, since you mention CUPS (could be BSD, of course)? Permissions shouldn't be the issue, as you have apparently opened the port OK. It wouldn't get as far as "Could not find device" if the port had not opened. Even if you have used the parallel port before, it may still be a problem. Some people have had trouble with ports where the BIOS is configured for then to support DMA modes (EPP, or ECP). Set it to be a basic old fashioned parallel port, and try.

If the problem lies beyoud the 25 pin connector, you don't get a lot of help. The design of the JTAG tool is very simple (which is good), but this means it gives very little diagnostic information (which is not so good). Its difficult to tell if the JTAG tool or the target is at fault. We should really do some kind of JTAG lead loopback diagnostic tool.

Regards,
Steve



Reply via email to