From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10029 invoked by alias); 30 May 2006 12:59:38 -0000 Received: (qmail 10021 invoked by uid 22791); 30 May 2006 12:59:37 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 30 May 2006 12:59:35 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1Fl3om-0000e9-00; Tue, 30 May 2006 14:59:28 +0200 Date: Tue, 30 May 2006 12:59:00 -0000 To: Agus Ariffianto Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20060530125928.GA2478@lunn.ch> Mail-Followup-To: Agus Ariffianto , ecos-discuss@ecos.sourceware.org References: <20060530071313.2C71820E04C@gemmini.netco.de> <03e601c683de$e8dc5510$6c44cda7@aariffianto> <20060530120216.GN2876@lunn.ch> <041d01c683e6$16e68280$6c44cda7@aariffianto> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <041d01c683e6$16e68280$6c44cda7@aariffianto> User-Agent: Mutt/1.5.11+cvs20060403 From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] error: no memory region specified for loadable '.ram_vectors' X-SW-Source: 2006-05/txt/msg00253.txt.bz2 > Loading section .rom_vectors, size 0x1300 lma 0x40000000 > > Loading section .text, size 0xf9fc lma 0x40001300 > > Loading section .rodata, size 0x324 lma 0x40010cfc > > Loading section .data, size 0x490 lma 0x40011020 > > Start address 0x40001300, load size 70832 > > Transfer rate: 566656 bits in <1 sec, 276 bytes/write. > > (gdb) run > > The program being debugged has been started already. > > Start it from the beginning? (y or n) y > > Starting program: > /home/agus/work/project-eCos/LEON/sparc-elf-3.2.3/hello.out > > Program received signal SIGILL, Illegal instruction. > > 0x00000008 in ?? () You loaded the program into memory at 0x40000000 I expect run starts from 0x0. Hence it is executing rubbish, not your program. try set $pc=0x40000000 c Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss