public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Networking in a ROM build
@ 2001-08-22 10:06 Trenton D. Adams
  0 siblings, 0 replies; only message in thread
From: Trenton D. Adams @ 2001-08-22 10:06 UTC (permalink / raw)
  To: 'eCos Discussion'

Is there anything I should know about using a ROM version of my eCos
program as opposed to the RAM version?  In particular I need to know if
there are some settings I should change that might affect the networking
aspect of it.  Below I have a brief description of my program and what
goes wrong.

I have 5 threads.
AcquireThread - acquires data required by TransmitThreadX threads.
TransmitThreadA - connects and transmits data to a windows machine
TransmitThreadB - connects and transmits data to a windows machine
StatusSignalsThread - connects and transmits status signals to a windows
machine (eg. voltage, temperature, etc.)
CommandThread - waits for connection from the windows machine.

Once the Transmit and Status signal threads have connected to my windows
machine on three separate ports, the windows machine connects back to
the CommandThread socket using the IP obtained from one of the other
sockets.

Everything works fine when using GDB, Redboot and a RAM version of my
program.

When using a ROM version, the following thing happens:
The transmit and status signal threads connect to my windows machine
just fine.  After they are connected, my windows machine attempts to
connect back to the embedded system's CommandThread socket.  The
connection attempt times out.

I traced through the windows code, and it is connecting to the correct
IP:PORT pair.

So, any config options I should be looking at?  If not, where should I
start for trying to debug something like this?


Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1

Phone: 403 640 9494 ext-208
Fax: 403 640 9599

http://www.extremeeng.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-22 10:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-22 10:06 [ECOS] Networking in a ROM build Trenton D. Adams

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