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


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]