public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: "Robert Cragie" <rcc@jennic.com>
To: "Gary Thomas" <gthomas@ecoscentric.com>,
	"Satish Kumar" <satishkumar@sanyo.co.in>
Cc: <ijsung@csie.nctu.edu.tw>, <ecos-discuss@sources.redhat.com>,
	<sid@sources.redhat.com>
Subject: RE: [ECOS] how to build an eCos library for ARM7tdmi simulator
Date: Mon, 16 Sep 2002 02:50:00 -0000	[thread overview]
Message-ID: <NDBBLOIOMLKELOJBAPAGMEMNCOAA.rcc@jennic.com> (raw)
In-Reply-To: <1031920350.2945.54.camel@hermes.chez-thomas.org>

> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Gary Thomas
> Sent: 13 September 2002 13:33
> To: Satish Kumar
> Cc: 'Robert Cragie '; 'ijsung@csie.nctu.edu.tw ;
> 'ecos-discuss@sources.redhat.com'; 'sid@sources.redhat.com'
> 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:

--board=pid7t-normalmap-uart1:stdio

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
http://www.jennic.com  Tel: +44 (0) 114 281 2655

  parent reply	other threads:[~2002-09-16  9:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-12 23:14 Satish Kumar
2002-09-13  5:32 ` Gary Thomas
2002-09-13  6:23   ` Tim Drury
2002-09-13  6:27     ` Gary Thomas
2002-09-16 12:49     ` Frank Ch. Eigler
2002-09-16 12:54       ` Gary Thomas
2002-09-16 13:05         ` Frank Ch. Eigler
2002-09-16 17:25       ` T Satish Kumar
2002-09-16 17:36         ` Frank Ch. Eigler
2002-09-16 18:55           ` T Satish Kumar
2002-09-17  3:09             ` Frank Ch. Eigler
2002-09-17 17:02               ` T Satish Kumar
2002-09-16  2:50   ` Robert Cragie [this message]
2002-09-16 20:35 T Satish Kumar
2002-09-18  1:29 T Satish Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NDBBLOIOMLKELOJBAPAGMEMNCOAA.rcc@jennic.com \
    --to=rcc@jennic.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=gthomas@ecoscentric.com \
    --cc=ijsung@csie.nctu.edu.tw \
    --cc=satishkumar@sanyo.co.in \
    --cc=sid@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).