* [ECOS] problem when launching applications
@ 1999-08-21 6:46 Stefan GroÃberger
1999-08-23 3:18 ` Alex Schuilenburg
0 siblings, 1 reply; 2+ messages in thread
From: Stefan GroÃÂberger @ 1999-08-21 6:46 UTC (permalink / raw)
To: ecos-discuss
hi,
i am new in eCos and just installed eCos on linux and windows NT and
have the same problem with both installations. after creating a
work-tree (using powerpc-eabi and sim) i compiled the example sources
coming with eCos.
this worked without any problem, but if i try to launch the compiled
files i get the following message:
>powerpc-eabi-run hello
core_find_mapping() - access to unmaped address, attach a default map to
handle
this - addr=0xf000101a nr_bytes=0x1 processor=0x2abc3008 cia=0x4478
can you tell me what i did wrong or what is misconfigured?
thx in advance
stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [ECOS] problem when launching applications
1999-08-21 6:46 [ECOS] problem when launching applications Stefan GroÃberger
@ 1999-08-23 3:18 ` Alex Schuilenburg
0 siblings, 0 replies; 2+ messages in thread
From: Alex Schuilenburg @ 1999-08-23 3:18 UTC (permalink / raw)
To: Stefan GroÃÂberger; +Cc: ecos-discuss
> hi,
>
> i am new in eCos and just installed eCos on linux and windows NT and
> have the same problem with both installations. after creating a
> work-tree (using powerpc-eabi and sim) i compiled the example sources
> coming with eCos.
> this worked without any problem, but if i try to launch the compiled
> files i get the following message:
>
> >powerpc-eabi-run hello
> core_find_mapping() - access to unmaped address, attach a
> default map to handle
> this - addr=0xf000101a nr_bytes=0x1 processor=0x2abc3008 cia=0x4478
>
> can you tell me what i did wrong or what is misconfigured?
This is a valid sim error because eCos is trying to initialise real
hardware. You need to connect to the simulator within gdb as follows:
(gdb) 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'
(or even better, set up a macro for this - see
http://sourceware.cygnus.com/ecos/docs-1.2.1/tutorials/ecos-tutorial/usi
ng-the-simulator.html)
HTH
-- Alex
Alex Schuilenburg
eCOS Engineering Project Manager
Cygnus Solutions
35-36 Cambridge Place
Cambridge
CB2 1NS
UK
http://sourceware.cygnus.com/ecos/
Tel: +44 1223 728770 (Direct) 728728 (Switchboard)
Fax: +44 1223 728777
Mobile: +44 831 714953
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-08-23 3:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-21 6:46 [ECOS] problem when launching applications Stefan GroÃberger
1999-08-23 3:18 ` Alex Schuilenburg
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).