This is the mail archive of the ecos-devel@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: uart


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]