Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

Discussion Groups | Rabbit-Semi | Locking up on serFwrite()

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

Locking up on serFwrite() - allsoft01a - Sep 11 17:29:27 2008

I have an application that is locking up on serFwrite() function. I am
using flow control and the buffer is full when it locks up.

I assumed that if the TX buffer was full that it would return 0, no
bytes written to the buffer and continue on. Is that a wrong
assumption?

To work around I am checking amount of free space in the TX buffer
before attempting to write data.

I am just wondering if it is a known bug or if there is something else
I should be looking at.

Thanks

PS - DC 9.25 on RCM3310/3315
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )