This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: System crashes when executed from ROM
- To: chandrag at danlawinc dot com
- Subject: Re: [ECOS] System crashes when executed from ROM
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 19 Oct 2000 18:30:50 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <00101921223300.00596@localhost.localdomain>
Chandrasekhar G wrote:
>
> Hi,
>
> We are trying to execute an application from ROM. It works perfectly from
> RAM. But with ROM it crashes on entering certain routines. The routines do
> some IO on serial port using cyg_io_read and cyg_io_write and sprintf and
> sscanf functions. Can anybody suggest possible
> reasons for this beheavior?
Just to check: you are changing the startup type (i.e. the config option
CYG_HAL_STARTUP) from RAM to ROM and not just programming the same
application into ROM, aren't you? :-).
Other than that, no idea. Does it actually manage to call sprintf/sscanf or
cyg_io_read/write? I presume you mean it crashes, i.e. hangs? Are there any
relevant differences in your configuration? Have you tried using just a
very simple test application?
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault