From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Andrea Acquaviva Cc: eCos discussion Subject: Re: [ECOS]Hello World on AEB rev.C Date: Tue, 07 Nov 2000 08:27:00 -0000 Message-id: <3A082D52.80940884@cygnus.co.uk> References: <3A068BCF.9E6A7B38@deis.unibo.it> <3A0707C6.DB34A7D7@cygnus.co.uk> <3A07FC30.E7D865F8@deis.unibo.it> X-SW-Source: 2000-11/msg00091.html [ 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