This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: RedBoot
- To: "Jonathan Larmour" <jlarmour at redhat dot com>
- Subject: RE: [ECOS] RedBoot
- From: "Anthony Massa" <amassa at san dot rr dot com>
- Date: Thu, 19 Apr 2001 16:32:29 -0700
- Cc: <ecos-discuss at sources dot redhat dot com>
- Reply-To: <amassa at san dot rr dot com>
> >
> > I am trying to download code using GDB/Insight with my MBX860
> target running
> > RedBoot. I am a little confused as to the sequence of the
> commands I need
> > to use. What I am doing is in Insight I use Run->Connect to
> Target. I then
> > connect via Remote/TCP using the IP address and port 9000. I get a
> > successfully connected message.
> >
> > What do I do next to run my code on the target?
> >
> > Do I use the .img file or .srec file?
>
> The fact you are mentioning those extensions seems to indicate confusion -
> those extensions are only likely to be relevant for RedBoot itself but you
> say RedBoot's already on your board, so you don't have to do anything with
> any other RedBoot files.
When I compile my application, the output is an mbx.img and mbx.srec file.
I guess the confusion is that I was not referring to any RedBoot files,
rather my
application files.
>
> Any applications you've built in ecos will be in ELF format and can be
> downloaded just by selecting it with File->Open, setting a breakpoint if
> you like, probably opening the console window with View->Console
> to see any
> output, and then hitting the Run button which should both download and run
> your program.
So, I guess I would open my mbx.img file and run it.