From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5370 invoked by alias); 13 Jun 2002 16:20:09 -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 5312 invoked from network); 13 Jun 2002 16:20:04 -0000 Received: from unknown (HELO hhlx01.visionsystems.de) (62.145.30.242) by sources.redhat.com with SMTP; 13 Jun 2002 16:20:04 -0000 Received: from kallisto.intra.visionsystems.de (kallisto.intra.visionsystems.de [192.168.1.3]) by hhlx01.visionsystems.de (8.11.1/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id g5DGK0O07287 for ; Thu, 13 Jun 2002 18:20:03 +0200 Message-Id: <200206131620.g5DGK0O07287@hhlx01.visionsystems.de> Received: from there (development1.intra.visionsystems.de [192.168.1.36]) by kallisto.intra.visionsystems.de with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id MZYSAFAJ; Thu, 13 Jun 2002 18:20:00 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Roland =?iso-8859-1?q?Ca=DFebohm?= To: ecos-discuss@sources.redhat.com Date: Thu, 13 Jun 2002 09:20:00 -0000 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ECOS] exception when calling reset_platform X-SW-Source: 2002-06/txt/msg00223.txt.bz2 Hi, my ARM7TDMI (SNDS100 Board) makes an abort prefetch exception when the application calls reset_platform(). I added two nop's because I thought the processor prefetches the init_done value, but this doesn't help: ---------- .global reset_platform .type reset_platform,function reset_platform: #ifdef CYGSEM_HAL_ROM_MONITOR // initialize CPSR (machine state register) mov r0,#(CPSR_IRQ_DISABLE|CPSR_FIQ_DISABLE|CPSR_SUPERVISOR_MODE) msr cpsr,r0 b warm_reset #else mov r0,#0 mov pc,r0 // Jump to reset vector //roland mov r0,r0 // nop mov r0,r0 // nop #endif init_done: .long 0xDEADB00B ---------- Does anybody know what's wrong? Roland -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss