From: "Roland Caßebohm" <roland.cassebohm@visionsystems.de>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] i386 problem
Date: Thu, 02 May 2002 09:04:00 -0000 [thread overview]
Message-ID: <200205021604.g42G4nL24254@hhlx01.visionsystems.de> (raw)
Hi,
I tried till long ago running an eCos application on the PC target again.
Everything was working fine, but the application won't run :-(.
- Redboot is starting from floppy.
- gdb connects via net and via serial line.
- The application is builded for startup type RAM
$ ecosconfig new pc
$ ecosconfig tree
$ make
$ cd ex
$ i386-elf-gcc -c -o hello.o -g -Wall -I../install/include
-ffunction-sections -fdata-sections hello.c
$ i386-elf-gcc -nostartfiles -L../install/lib -Wl,--gc-sections -o hello
hello.o -Ttarget.ld -nostdlib
- loading the application works
target remote 192.168.1.155:9000
load
b main
c
-->
nothing is happen!
I have set a breakpoint at "hal_platform_init".
I can step till:
// ISR table setup: plant the default ISR in all interrupt handlers
// and the default interrupt VSR in the equivalent VSR table slots.
for (vector = CYGNUM_HAL_ISR_MIN; vector <= CYGNUM_HAL_ISR_MAX; vector++)
{
cyg_uint32 index;
HAL_TRANSLATE_VECTOR( vector, index );
here >> hal_interrupt_handlers[index] = (CYG_ADDRESS) HAL_DEFAULT_ISR;
HAL_VSR_SET( vector, &__default_interrupt_vsr, NULL );
}
but after vector is 70, the application stops at this line.
(the same over serial line)
Does anybody know what's going 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
next reply other threads:[~2002-05-02 16:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-02 9:04 Roland Caßebohm [this message]
2002-05-14 14:22 ` Jonathan Larmour
2005-04-27 0:21 [ECOS] RE: eCos Loader David Bonfrer
2005-04-27 0:33 ` [ECOS] i386 problem Gonçalo Antunes
2005-04-27 6:05 ` Andrew Lunn
2005-04-30 9:57 ` Gonçalo Antunes
[not found] ` <20050430171810.GA6601@lunn.ch>
2005-05-02 16:12 ` Gonçalo Antunes
2005-05-02 16:30 ` Andrew Lunn
2005-05-02 16:35 ` Gonçalo Antunes
2005-05-03 10:14 ` Nick Garnett
2005-05-03 10:37 ` Gonçalo Antunes
2005-05-03 20:30 ` Bart Veer
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=200205021604.g42G4nL24254@hhlx01.visionsystems.de \
--to=roland.cassebohm@visionsystems.de \
--cc=ecos-discuss@sources.redhat.com \
/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).