This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Failed to connect to OCD.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]