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: build Tx39xx program


"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

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