This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Hello World on AEB rev.C


[ BTW, your mail address bounces ]

Andrea Acquaviva wrote:
> 
> Jonathan Larmour wrote:
> 
> > Andrea Acquaviva wrote:
> > >
> > > Hi,
> > >
> > > I followed the instructions on the manuals to build eCos for AEB revC
> > > board and
> > > link it with the Hello World example, but when I start with the
> > > debugging after
> > > the download, the "insight" debugger crashes.  I use Angel as a debug
> > > monitor in the target board.
> > > The steps I made to build eCos for AEB are the followings:
> > >
> > > - ecosconfig new aeb
> > > - in the ecos.ecc file I set the user_value in the
> > > CYGHWR_HAL_ARM_AEB_REVISION option
> > >     section to "C".
> > > - in the same file I set the user_value in the CYG_HAL_STARTUP option
> > > section to "RAM".
> > > - ecosconfig tree
> > > - make
> > >
> > > Are there some settings that I need to be aware to keep executables
> > > working on
> > > the AEB board with Angel remote debug monitor?
> >
> > You cannot use RAM-loaded eCos applications under Angel. Instead you should
> > reprogram the board with GDB stubs. This is described in the Getting
> > Started documentation.
> >
> > 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
> 
> Hi,
> 
> I downloaded the prebuilt version of the gdb-stub (gdb_module-revC.img,
> version 1.2.2) ,

You mean downloaded as in programmed in flash right?

> but after the connection with the target (set to remote/serial, 9600 baud),
> I'm not able to dowload the hello executable
> (the download command has no visible effect).

If you just connect with a direct serial connection, when you power on the
board you should be able to see output like ++$T01.....

If not, then the gdb stub is not programmed onto the board correctly.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]