This is the mail archive of the mailing list for the SID project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [ECOS] how to build an eCos library for ARM7tdmi simulator

> -----Original Message-----
> From:
> []On Behalf Of Gary Thomas
> Sent: 13 September 2002 13:33
> To: Satish Kumar
> Cc: 'Robert Cragie '; ' ;
> ''; ''
> Subject: RE: [ECOS] how to build an eCos library for ARM7tdmi simulator
> On Fri, 2002-09-13 at 00:16, Satish Kumar wrote:
> >
> > Hi,
> >
> >         i followed the build procedure of sid, as stated in ur mails
> > was able to finish it sucessfully. but i m not able to connect to the
> > target board. i.e initially i tried this command:
> > arm-elf-sid --board=arm7t-normalmap -gdb=2000 -EL --tksm &
> > i got a message stating 'Unknown board arm7t-normalmap'

[RCC] The original document was wrong - I posted an update.

> >
> > later i tried a different command:
> > arm-elf-sid --board=pid7t-normalmap -gdb=2000 -EL --tksm &
> > this time,i got a message stating : [1] 816

[RCC] This is what you would expect.

> > well next when i run the command
> > arm-elf-gdb twothread.x
> > the debugger window opened with the source file displyed in the source
> > window, now i clicked on Run->Connect to target. and i used the same
> > settings as stated:
> > Target: Remote/TCP.
> > Host:localHost.
> > port:2000
> >
> > set breakpoint at 'cyg_user_start'
> > and other breakpoint at the exit.
> >
> > on pressing ok, i get an Error message stating:
> > Error:bad option "-modal" : must be
> -default,-icon,-message,-parent,-title,
> > or -type..

[RCC] Sounds like you may have a Tcl/Tk compatibility issue here. What
version of Tcl/Tk are you using? On what platform? What version of Insight
are you using?

You can always use the console and enter the gdb commands explicitly:

(gdb) target remote localhost:2000
(gdb) load
(gdb) break cyg_user_start
(gdb) cont

> > and i m not able to run the program..plz kindly tell me how to run the
> > sid simulator for arm7tdmi and how to run my application programs once
> > they are compiled using the ecos library built for pid.
> >
> Try running without "--tksm".  This only turns on the Tk (GUI)
> configuration tool, which you can do without [at least for the start].

[RCC] This is needed for the UART output with the specified command line,
however you can send the UART output to the console by changing the --board
option in the SID command line to:


If you do this you don't need the --tksm option.

AFAICT (by looking at configrun-sid), other options for where to send the
UART output include gdb, a socket or the serial port on the PC. If you want
the output to a file, I guess the easiest way is to use the stdio option
specified above and redirect stdout, or pipe to tee <file>.

Robert Cragie, Design Engineer
Jennic Ltd, Furnival Street, Sheffield, S1 4QT,  UK  Tel: +44 (0) 114 281 2655

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