This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: uart
- From: "Sicheri Marco" <m dot sicheri at ctsgroup dot it>
- To: "Andrew Lunn" <andrew at lunn dot ch>
- Cc: "eCos Dev.List" <ecos-devel at sources dot redhat dot com>
- Date: Fri, 8 Oct 2004 13:43:48 +0200
- Subject: Re: uart
- Organization: CTS electronics
- References: <003101c4ad1d$b5927e30$110110ac@Msicheri> <20041008100951.GD28515@lunn.ch>
- Reply-to: "Sicheri Marco" <m dot sicheri at ctsgroup dot it>
Andrew Lunn,
THANKS! ^_^ You wrote me: "You might of overwritten the end of you stack"
and it was true!
Now: it work OK! :-)
Ossequi, (Best Regards/Obrigado)
Marco SICHERI
CTS electronics - R&D Department
phone: +39 0125 235637, +39 0125 235630
e-mail: m.sicheri@ctsgroup.it
http://www.ctsgroup.it
----- Original Message -----
From: "Andrew Lunn" <andrew@lunn.ch>
To: "Sicheri Marco" <m.sicheri@ctsgroup.it>
Cc: "eCos Dev.List" <ecos-devel@sources.redhat.com>
Sent: Friday, October 08, 2004 12:09 PM
Subject: Re: uart
> On Fri, Oct 08, 2004 at 12:00:58PM +0200, Sicheri Marco wrote:
> >
> > Hi all,
> > I'm a ecos rookie :-) ...
> > probably my query is ridiculous for you... ^_^ but please, help me!
> > I have the samsung S3C44B0X and i'd like use the /dev/ser1.
> > I check some samples and i write this code:
> >
> > cyg_io_lookup(..)
> > cyg_io_set_config(...)
> > for (;;)
> > cyg_io_write(...)
> >
> > It work ok! But afther 512 bytes, the process go lock! :o(
> > The io_write is stop.
> > which is the problem? Which is my error?
> > How do I do for resolve this 'oddity'?
>
> It could be a number of things.
>
> You might of overwritten the end of you stack.
> You might have flow control problems.
>
> Try enabling CYGPKG_INFRA_DEBUG. This will enable assertion checking
> which might find something.
>
> Andrew