This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Regarding Problems with cyg_io_read and cyg_io_write!!
- To: Arif dot Abbas at combitechsystems dot com
- Subject: Re: [ECOS] Regarding [ECOS] Problems with cyg_io_read and cyg_io_write!!
- From: Jesper Skov <jskov at cambridge dot redhat dot com>
- Date: 03 Jul 2001 15:37:52 +0200
- Cc: ecos-discuss at sources dot redhat dot com
- References: <2253171AF143D21185A60000F8FA748B0379B1F7@pluto.combitech.se>
>>>>> "Arif" == Arif Abbas <Arif.Abbas@combitechsystems.com> writes:
Arif> Hi again! I think I have the solution to the problem I had
Arif> before. Thought I'd just write it in if someone encounters the
Arif> same problem: It seems like you have to have the functions above
Arif> running in threads... When I started from the example called
Arif> serial.c and then just changed some parts of it (such as
Arif> reconfiguring port, using read/write etc etc) it worked just
Arif> fine! But the question WHY you have to have them running in a
Arif> thread I don't know...
Most likely you ran the code on the startup stack before and it just
bombed due to an overflow.
Jesper