From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ron Avisa To: Jonathan Larmour Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Hello Example Date: Thu, 02 Aug 2001 12:44:00 -0000 Message-id: <4.2.0.58.20010802123349.009423d0@128.121.113.105> References: <4.2.0.58.20010801160153.00a33300@128.121.113.105> <3B68C620.D1952D99@redhat.com> X-SW-Source: 2001-08/msg00076.html 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