public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] connect eCos to RedBoot
@ 2004-07-21 20:11 Muna Hummady
  2004-07-22  9:24 ` Nick Garnett
  0 siblings, 1 reply; 5+ messages in thread
From: Muna Hummady @ 2004-07-21 20:11 UTC (permalink / raw)
  To: baljeet45; +Cc: ecos-discuss

hello all
I want to created the RedBoot on X86 (PC) target
system with ecos2.0. I want to connect the host target
with the PC target through serial port. 
I'm building the Redboot image (redboot.bin) and but
it on floppy disk (using 
dd conv=sync if=install/bin/redboot.bin of=/dev/fd0)
and then build the eCos library.
When i want to communicate between the two targets by
following this proceedure on the host target (eCos):
1- enter the command line tool 
2- change to the working directory
3- entering the debugger which is i386-elf-gdb
4- (gdb) set remotebaud 38400
5- (gdb) target remote /dev/ttyS0
    when I'm doing this the PC taget will be halted,
so     i can do nothing than restart it. but I can    
        continue the procedure on the host target.
6- load file.exe
   this file will be loaded and the an output appear  
    showing the size of all .text, .rodata, .data and 
     the lma for all of them. Also showing the
transfer      rate. 
7- continue 
   output continuing.. 
   and enter eneless loop.


could you tell me where is the problem and what I'm
doing to solve it?
Is the proceedure true?
What I'm doing on the RedBoot side?
 
                           Thanks
                           Muna M. Hummady



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] connect eCos to RedBoot
  2004-07-21 20:11 [ECOS] connect eCos to RedBoot Muna Hummady
@ 2004-07-22  9:24 ` Nick Garnett
  2004-07-29 15:35   ` Muna Hummady
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Garnett @ 2004-07-22  9:24 UTC (permalink / raw)
  To: Muna Hummady; +Cc: baljeet45, ecos-discuss

Muna Hummady <muna_hummady@yahoo.com> writes:

> 5- (gdb) target remote /dev/ttyS0
>     when I'm doing this the PC taget will be halted,
> so     i can do nothing than restart it. but I can    
>         continue the procedure on the host target.

This makes no sense, it sounds like you are resetting the target after
GDB has connected. Don't do that.

Can you talk to RedBoot via the serial line using HyperTerminal?
However the next step implies that RedBoot and GDB are communicating
correctly, so there doesn't seem to be a problem.

> 6- load file.exe
>    this file will be loaded and the an output appear  
>     showing the size of all .text, .rodata, .data and 
>      the lma for all of them. Also showing the
> transfer      rate. 
> 7- continue 
>    output continuing.. 
>    and enter eneless loop.
> 
> 
> could you tell me where is the problem and what I'm
> doing to solve it?
> Is the proceedure true?
> What I'm doing on the RedBoot side?

Try running some of the standard test programs. If these work then any
issues with your program are of your own making.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re:Re: [ECOS] connect eCos to RedBoot
  2004-07-22  9:24 ` Nick Garnett
@ 2004-07-29 15:35   ` Muna Hummady
  2004-07-29 18:11     ` Nick Garnett
  0 siblings, 1 reply; 5+ messages in thread
From: Muna Hummady @ 2004-07-29 15:35 UTC (permalink / raw)
  To: Nick Garnett; +Cc: ecos-discuss, amassa


--- Nick Garnett <nickg@ecoscentric.com> wrote:

> Muna Hummady <muna_hummady@yahoo.com> writes:
> 
> > 5- (gdb) target remote /dev/ttyS0
> >     when I'm doing this the PC taget will be
> halted,
> > so     i can do nothing than restart it. but I can
>    
> >         continue the procedure on the host target.
> 
> This makes no sense, it sounds like you are
> resetting the target after
> GDB has connected. Don't do that.
> 
> Can you talk to RedBoot via the serial line using
> HyperTerminal?
> However the next step implies that RedBoot and GDB
> are communicating
> correctly, so there doesn't seem to be a problem.
> 
> > 6- load file.exe
> >    this file will be loaded and the an output
> appear  
> >     showing the size of all .text, .rodata, .data
> and 
> >      the lma for all of them. Also showing the
> > transfer      rate. 
> > 7- continue 
> >    output continuing.. 
> >    and enter eneless loop.
> > 
> > 
> > could you tell me where is the problem and what
> I'm
> > doing to solve it?
> > Is the proceedure true?
> > What I'm doing on the RedBoot side?
> 
> Try running some of the standard test programs. If
> these work then any
> issues with your program are of your own making.
> 
> -- 
> Nick Garnett                    eCos Kernel
> Architect
> http://www.ecoscentric.com/     The eCos and RedBoot
> experts
> 

hello freinds
1- Could you tell me how to talk to RedBoot via the
serial line using HyperTerminal?
2- you didn't tell me why when i'm running continue on
the host, it goes on endless loop?
                            thanks
                            Mrs. Muna M. Hummady



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] connect eCos to RedBoot
  2004-07-29 15:35   ` Muna Hummady
@ 2004-07-29 18:11     ` Nick Garnett
  0 siblings, 0 replies; 5+ messages in thread
From: Nick Garnett @ 2004-07-29 18:11 UTC (permalink / raw)
  To: Muna Hummady; +Cc: ecos-discuss, amassa

Muna Hummady <muna_hummady@yahoo.com> writes:

> hello freinds
> 1- Could you tell me how to talk to RedBoot via the
> serial line using HyperTerminal?

Just follow the instructions in the HyperTerminal documentation. If you
can set up Insight to talk to the board then you should be able to
get HyperTerminal going. When you reset the board you should see the
RedBoot startup message and prompt appear. 


> 2- you didn't tell me why when i'm running continue on
> the host, it goes on endless loop?

Cannot help you there I'm afraid. I repeat: try running some of the
test programs.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] connect eCos to RedBoot
@ 2004-07-24  6:44 Muna Hummady
  0 siblings, 0 replies; 5+ messages in thread
From: Muna Hummady @ 2004-07-24  6:44 UTC (permalink / raw)
  To: baljeet45; +Cc: ecos-discuss

hello all
I want to created the RedBoot on X86 (PC) target
system with ecos2.0. I want to connect the host target
with the PC target through serial port. 
I'm building the Redboot image (redboot.bin) and but
it on floppy disk (using 
dd conv=sync if=install/bin/redboot.bin of=/dev/fd0)
and then build the eCos library.
When i want to communicate between the two targets by
following this proceedure on the host target (eCos):
1- enter the command line tool 
2- change to the working directory
3- entering the debugger which is i386-elf-gdb
4- (gdb) set remotebaud 38400
5- (gdb) target remote /dev/ttyS0
    when I'm doing this the PC taget will be halted,
so     i can do nothing than restart it. but I can    
        continue the procedure on the host target.
6- load file.exe
   this file will be loaded and the an output appear  
    showing the size of all .text, .rodata, .data and 
     the lma for all of them. Also showing the
transfer      rate. 
7- continue 
   output continuing.. 
   and enter eneless loop.


could you tell me where is the problem and what I'm
doing to solve it?
Is the proceedure true?
What I'm doing on the RedBoot side?
 
                           Thanks
                           Muna M. Hummady

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-07-29 15:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-21 20:11 [ECOS] connect eCos to RedBoot Muna Hummady
2004-07-22  9:24 ` Nick Garnett
2004-07-29 15:35   ` Muna Hummady
2004-07-29 18:11     ` Nick Garnett
2004-07-24  6:44 Muna Hummady

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).