From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12272 invoked by alias); 28 Feb 2002 08:24:30 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 12208 invoked from network); 28 Feb 2002 08:24:29 -0000 Received: from unknown (HELO executor.cambridge.redhat.com) (195.224.55.237) by sources.redhat.com with SMTP; 28 Feb 2002 08:24:29 -0000 Received: from zoftcorp.dk (dell-paw-2.cambridge.redhat.com [195.224.55.226]) by executor.cambridge.redhat.com (Postfix) with ESMTP id 1A2AEABB0B; Thu, 28 Feb 2002 08:24:29 +0000 (GMT) Received: by zoftcorp.dk (Postfix, from userid 402) id 4F1B06BCA7; Thu, 28 Feb 2002 09:24:28 +0100 (CET) From: Jesper Skov To: Jing Luo Cc: 'Charles-Henri Balet' , eCos Discuss In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.1 (1.0.1-2) Date: Thu, 28 Feb 2002 00:27:00 -0000 Message-Id: <1014884668.8793.66.camel@thinktwice.zoftcorp.dk> Mime-Version: 1.0 Subject: RE: [ECOS] Insight 5.1.1 with Angel /serial debugger X-SW-Source: 2002-02/txt/msg00571.txt.bz2 On Wed, 2002-02-27 at 03:45, Jing Luo wrote: > The same problem with me when I am trying to port eCos to 80200EVB. > But my configuration is disable of CYGIMP_HAL_PROCESS_ALL_EXCEPTIONS and > enable of of CYGSEM_HAL_USE_ROM_MONITOR. > > If this one doesn't work, how I can do to debug eCos? and > I use Insight 5.1.1 on an ARM processor on a board with Angel 1.20, the > link, download, debugger work fine, > my problem, the ecos startup code in the Vectors.s file, this startup > replace vectors in the vector table and when the > vector of the undefined instruction is replaced, insight freeze, I'm have to > start step by step and the problem is > on the line "str r2,[r0,#0x24]" The problem is that Angel is using the CPU exception to do the single-stepping. When the eCos HAL executes and takes over that exception, Angel essentially dies. What you want to do is either (a) comment out that code to debug the application with Angel or (b) port RedBoot and make it the primary monitor and debug agent of the system. RedBoot knows how to debug eCos applications, Angel does not. Jesper -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss