This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RedBoot gets() problems
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] RedBoot gets() problems
- From: Grant Edwards <grante at visi dot com>
- Date: Fri, 2 Mar 2001 10:22:00 -0600
I'm having problems with RedBoot due to the way the main loop
and gets() interact.
If at some point a spurious byte comes in on one of the diag
ports, RedBoot effectively "locks up" until it sees an
end-of-line on that port: it ignores network packets, it
ignores commands on the other diag port.
I think I'm going to have to re-design the input scheme so that
Redboot still responds to the network and to all ports while
in the "middle" of reading an input line.
--
Grant Edwards
grante@visi.com