This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Hello Example
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: [ECOS] Hello Example
- From: Ron Avisa <ravisa at base2software dot com>
- Date: Thu, 02 Aug 2001 12:40:00 -0700
- Cc: ecos-discuss at sources dot redhat dot com
- References: <4.2.0.58.20010801160153.00a33300@128.121.113.105>
using gdb/insight I am connecting on serial port 0 successfully at 38400.
I have the download at connect option disabled.
I then select FILE->OPEN /c/Program Files/Red Hat/eCos/examples/hello.exe
I start a console window, connect and see the following:
--------------
0xe0006338 in ??()
(gdb) LOAD
Error: invalid download offset: /files/redhat/examples/hello.exe
--------------
Any thoughts?
At 04:16 AM 8/2/01 +0100, Jonathan Larmour wrote:
>Ron Avisa wrote:
> >
> > I have setup the ecos config for a "default" cirrus ARM 7xxx board with RAM
> > startup
> > and 7212 cpu settings. I have flashed my board with the cymon_ROM
> bootloader.
> > I have built the ecos kernel and tests and have been able to download and
> > run them
> > successfully.
>
>Good, so there's nothing intrinsically wrong.
>
> > The next step then was to put together a simple app and try downloading
> that.
> > I modified ...\eCos\examples\makefile to have a working dir pointing to my
> > ecos-work_install
> > directory and I set XCC up for ARM 7212
> > and did a "make". This seems to work fine producing a 1.2M image.
> > However when I attempt to download this via GDB/insight I get
> >
> > "error: invalid download offset message"
>
>If you open the console first, there should be some output. What is it?
>
>Jifl
>--
>Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
>Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine