From mboxrd@z Thu Jan 1 00:00:00 1970 From: leonp@plris.com To: IGOR LURI Cc: gdb@sourceware.cygnus.com Subject: Re: Failed to connect to OCD. Date: Tue, 05 Jun 2001 08:45:00 -0000 Message-id: <5.0.2.1.0.20010605184036.00af1e68@plris.com> References: X-SW-Source: 2001-06/msg00013.html 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