From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28595 invoked by alias); 25 Feb 2002 16:20:20 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28295 invoked from network); 25 Feb 2002 16:20:15 -0000 Received: from unknown (HELO conn.mc.mpls.visi.com) (208.42.156.2) by sources.redhat.com with SMTP; 25 Feb 2002 16:20:15 -0000 Received: from grante.comtrol.com (grante.dsl.visi.com [208.42.141.248]) by conn.mc.mpls.visi.com (Postfix) with SMTP id 2ABF781B7 for ; Mon, 25 Feb 2002 10:20:14 -0600 (CST) Received: (qmail 11586 invoked by uid 500); 25 Feb 2002 16:27:24 -0000 Date: Mon, 25 Feb 2002 08:20:00 -0000 From: Grant Edwards To: Charles-Henri Balet Cc: gdb@sources.redhat.com Subject: Re: GDB using Angel error on an OKI board Message-ID: <20020225102723.A11481@visi.com> References: <005801c1bd6a$b6545e10$0401a8c0@CHARLESHENRI> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <005801c1bd6a$b6545e10$0401a8c0@CHARLESHENRI>; from charles-henri@bluewin.ch on Sun, Feb 24, 2002 at 08:37:36PM +0100 X-SW-Source: 2002-02/txt/msg00308.txt.bz2 On Sun, Feb 24, 2002 at 08:37:36PM +0100, Charles-Henri Balet wrote: > Hello, > > I'm using an OKI developpement board with the OKI ML671000 > processor, this is provide with an ARM SDT 2.50 software and an > ARM Angel 1.20 in the flash memory on the board, when I use the > ARM Debugger with an angel link, all work fine in 9600 or > 19200, the message in the console box at the start is the next: > (gdb) target rdi com1 > RDI_open: undefined error message, should reset target > RDI_open failed At this point things are probably already broken, so I don't know if the messages below mean much. ADP (the protocol used by Angel) has a _lot_ of state to it, and restting the target without restarting GDB never works (at least not for me). Restarting GDB without resetting the target usually works, but not always. 1) Reset the board. 2) Start GDB. 3) Do the command "maint rdilogen on" 4) Do the command "target rdi com1" 5) Exit GDB That should create a file named "rdi.log" with the initial ADP packets logged to it. Post that file and we'll see what we can see. -- Grant Edwards grante@visi.com