From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Anthony Massa" To: "Jonathan Larmour" Cc: Subject: RE: [ECOS] RedBoot Date: Thu, 19 Apr 2001 16:36:00 -0000 Message-id: References: <3ADF7555.751910D6@redhat.com> X-SW-Source: 2001-04/msg00238.html > > > > 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.