This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: PowerPC simulator help request
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Ashish Thakkar" <ashishvthakkar at hotmail dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: 05 May 2003 10:10:37 +0100
- Subject: Re: [ECOS] PowerPC simulator help request
- References: <BAY7-DAV430BbDgdTfY0000337e@hotmail.com>
"Ashish Thakkar" <ashishvthakkar@hotmail.com> writes:
> Hi,
>
> I am trying to run an application for PowerPC simulator and I get the
> following output message when I run the application using gdb:
>
> Starting program: /ecos-c/workdir/application/basic1,exe
> core_find_mapping() - access to unmaped address, attach a default map to
> handle this - addr=0xf000101a nr_bytes=0x1 processor=0xa0bea40 cia=0x4510
>
> I have no idea what I am supposed to do to correct this. I have tried
> different source files, but I get the same message. Can someone help me with
> this?
You need to supply some arguments to the simulator when you start
it. The following line comes from the ~/.eCosPlatforms/PowerPC-PSIM
file.
target sim -o '/#address-cells 1' -o '/openprom/init/register/pc 0x100' -o '/iobus@0xf0000000/reg 0xf0000000 0x01000000' -o '/iobus/pal@0xf0001000/reg 0xf0001000 32'
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss