This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: build Tx39xx program
- To: "adon at walkersun" <adon at walkersun dot com>
- Subject: Re: [ECOS] build Tx39xx program
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 11 Sep 2000 18:55:24 +0100
- CC: eCos discussion <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <001c01c01626$b082bbe0$24e7f1d2@walkersun> <39B3A1BB.3583ED7@redhat.com> <00ab01c01888$a2587960$24e7f1d2@walkersun>
"adon@walkersun" wrote:
>
> Maybe I have to change the question that is, what are the cygmon could
> do for me??? Does the program just serve for downloading program from the
> host to the target, so I should link another cygmon program into my program,
> and after I do that so, I could debug my program at my target???
CygMon is a ROM monitor. As far as you are concerned, it is what you
program into ROM so that you can load your application. When the
application is run, CygMon loses control. Although in some cases, it
"co-operates" with the program to allow the program to be debugged. eCos is
capable of this.
CygMon is only there to be programmed into flash/ROM. You don't link with
it. It is an application in its own right.
Perhaps you are getting the concept confused with having to link your
program differently if you are using it with a board running CygMon in ROM.
While this doesn't always happen, for GNUPro, for example, you sometimes
have to use a different linker script (specified with -Tcygmon.ld on the
link command line) to indicate that this is what your program is doing.
This isn't the same as linking with cygmon itself.
BTW, remember to CC the list. Don't e-mail me directly please.
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