public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Agus Ariffianto <aariffianto@s.ee.itb.ac.id>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] error: no memory region specified for loadable '.ram_vectors'
Date: Tue, 30 May 2006 12:59:00 -0000	[thread overview]
Message-ID: <20060530125928.GA2478@lunn.ch> (raw)
In-Reply-To: <041d01c683e6$16e68280$6c44cda7@aariffianto>

> 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

  reply	other threads:[~2006-05-30 12:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-29  9:20 Agus Ariffianto
2006-05-29  9:44 ` Andrew Lunn
2006-05-29 10:40   ` Agus Ariffianto
2006-05-29 12:20     ` Andrew Lunn
2006-05-30  4:00       ` Agus Ariffianto
2006-05-30  7:28         ` AW: " Ram Sudhir Tadavarthi
2006-05-30  7:38           ` Andrew Lunn
2006-05-30 11:49           ` Agus Ariffianto
2006-05-30 12:02             ` Andrew Lunn
2006-05-30 12:40               ` Agus Ariffianto
2006-05-30 12:59                 ` Andrew Lunn [this message]
2006-05-30 13:02               ` Agus Ariffianto
2006-05-30 13:18                 ` Andrew Lunn
2006-05-30 13:28                   ` Agus Ariffianto
2006-06-13  9:31                   ` [ECOS] error: no memory region specified for loadable '.ram_vectors' => Now it works Agus Ariffianto
2006-05-30  4:06       ` [ECOS] error: no memory region specified for loadable '.ram_vectors' Agus Ariffianto
2006-05-30  7:43         ` Andrew Lunn
2006-05-30  9:36           ` Agus Ariffianto
2006-05-30 11:19             ` Andrew Lunn
2006-05-29  9:38 Agus Ariffianto
2006-05-29 11:21 Agus Ariffianto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060530125928.GA2478@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=aariffianto@s.ee.itb.ac.id \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).