Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Failed to connect to OCD.
@ 2001-06-05  7:37 IGOR LURI
  2001-06-05  8:45 ` leonp
  0 siblings, 1 reply; 2+ messages in thread
From: IGOR LURI @ 2001-06-05  7:37 UTC (permalink / raw)
  To: 'gdb@sources.redhat.com'

> I am using Insight-5.0 with wiggler for mpc823 on a win 2000 hosted
system.
> I am using Cygwin and cross compiler for powerpc-eabi target.
>
> I am not able to connect to the target. When I write this command on the
> gdb console apears the following error:
>
> 	(gdb) target ocd wiggler lpt1
> 	Remote target wiggler connected to wiggler lpt1
>
> 	Error: OCD_INIT: Couldn't establish connection to remote target
> 	Unknown error code 24
> 	Failed to connect to OCD.
>
> If you are using wiggler to connect your target, please say me how you
done.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Failed to connect to OCD.
  2001-06-05  7:37 Failed to connect to OCD IGOR LURI
@ 2001-06-05  8:45 ` leonp
  0 siblings, 0 replies; 2+ messages in thread
From: leonp @ 2001-06-05  8:45 UTC (permalink / raw)
  To: IGOR LURI; +Cc: gdb

At 16:32 05/06/01 +0200, you wrote:
> > I am using Insight-5.0 with wiggler for mpc823 on a win 2000 hosted
>system.
> > I am using Cygwin and cross compiler for powerpc-eabi target.
> >
> > I am not able to connect to the target. When I write this command on the
> > gdb console apears the following error:
> >
> >       (gdb) target ocd wiggler lpt1
> >       Remote target wiggler connected to wiggler lpt1
> >
> >       Error: OCD_INIT: Couldn't establish connection to remote target
> >       Unknown error code 24
> >       Failed to connect to OCD.
> >
> > If you are using wiggler to connect your target, please say me how you
>done.
0. Your problem looks like the problem of contacts. Check that your wiggler 
is working properly by using the Macraigor's OCD debugger.
1. There is some bug/problem with mpc860/823 CPU's in gdb - you need to 
define the CPU type and thus the registers will become accessible, but this 
not happens. I just now simply use an old version of gdb 4.18, which is 
free of this bug.
2. Another problem, that you must be aware is that you must perform several 
initializing commands, such as define chip selects, IMMR, etc. to make the 
system capable of downloading the code.



Leon Pollak
leonp@plris.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-05  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-05  7:37 Failed to connect to OCD IGOR LURI
2001-06-05  8:45 ` leonp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox