public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] debug i386 application
@ 2004-08-26  8:43 Muna Hummady
  2004-08-26  8:57 ` Nick Garnett
  0 siblings, 1 reply; 17+ messages in thread
From: Muna Hummady @ 2004-08-26  8:43 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Nick Garnett, amassa

hello

I want to boot the target i386 PC with the RedBoot via
a floppy and use GDB to load application image into
the target PC from the host PC via serial line or
ethernet.

As in "Embedded s/w development with eCos" 
{it is better to use serial port for RedBoot
communicationand allow the application to use Ethernet
port execlusively} 
{RedBoot is able to share the portsit uses for
debugging and diagnostics with the eCos application}

so I'm trying to do so :
1- First, I'm trying to connect the host target (i386)
to RedBoot via serial (I have only one serial port in
my target PC) so I'm enable the following option in
the redboot.ecc 
   CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL  and
   CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL  (both to 
      port 0)

when I'm using the Hyperterminal to load and run the
basic1 application, it is done correctly. But i
couldnt run any other example program (serial, or
twothreads),I'm load them and when I'm run them using
go it is halted and there are no response.


I could'nt load and debug any example program
following the procedure:

(gdb) set remotebaud 38400
(gdb) remote target /dev/ttyS0
(gdb) load
(gdb) continue
when doing continue the target PC is halted and there
is no response.

could you tell me what is the wrong? 

2- please could you tell me how to enable both the
ethernet and serial ports to have the communication
via  serial and loading the application via ethernet?


please could anyone help me!!!!
                             thanks
                              Muna


		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

-- 
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] 17+ messages in thread
* [ECOS] debug i386 application
@ 2004-08-24 18:19 Muna Hummady
  0 siblings, 0 replies; 17+ messages in thread
From: Muna Hummady @ 2004-08-24 18:19 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Nick Garnett, amassa

hello

I want to boot the target i386 PC with the RedBoot via
a floppy and use GDB to load application image into
the target PC from the host PC via serial line or
ethernet.

As in "Embedded s/w development with eCos" 
{it is better to use serial port for RedBoot
communicationand allow the application to use Ethernet
port execlusively} 
{RedBoot is able to share the portsit uses for
debugging and diagnostics with the eCos application}

so I'm trying to do so :
1- First, I'm trying to connect the host target (i386)
to RedBoot via serial (I have only one serial port in
my target PC) so I'm enable the following option in
the redboot.ecc 
   CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL  and
   CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL  (both to 
      port 0)

when I'm using the Hyperterminal to load and run the
basic1 application, it is done correctly. But i
couldnt run any other example program (serial, or
twothreads),I'm load them and when I'm run them using
go it is halted and there are no response.


I could'nt load and debug any example program
following the procedure:

(gdb) set remotebaud 38400
(gdb) remote target /dev/ttyS0
(gdb) load
(gdb) continue
when doing continue the target PC is halted and there
is no response.

could you tell me what is the wrong? 

2- please could you tell me how to enable both the
ethernet and serial ports to have the communication
via  serial and loading the application via ethernet?


                             thanks
                              Muna



	
		
__________________________________
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] 17+ messages in thread

end of thread, other threads:[~2004-09-20 17:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-26  8:43 [ECOS] debug i386 application Muna Hummady
2004-08-26  8:57 ` Nick Garnett
2004-09-04  9:25   ` Muna Hummady
2004-09-09 14:21     ` dpalmer
2004-09-20  8:50       ` Muna Hummady
2004-09-20  8:51         ` Muna Hummady
2004-09-20  9:39         ` Jonathan Larmour
2004-09-20  9:46           ` Jonathan Larmour
2004-09-20  8:53       ` Muna Hummady
2004-09-20  8:58         ` Muna Hummady
2004-09-20  9:11         ` Andrew Lunn
2004-09-20 12:18           ` Muna Hummady
2004-09-20 12:25             ` Andrew Lunn
2004-09-20 18:07               ` Muna Hummady
2004-09-20 18:35               ` [ECOS] connecting the host to RedBoot via networking Muna Hummady
2004-09-20 12:22           ` Re:Re: [ECOS] debug i386 application Muna Hummady
  -- strict thread matches above, loose matches on Subject: below --
2004-08-24 18:19 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).