Hi Erich 
There is nothing wrong.
Me too I'm reading the echo char while transmitting.
The timeout problem is while receiving form the mcu. 
After transmitting a line you stay earing for a response.
How can I know when the response is complete?
Wait a lot of seconds is not so logic.
How can I know if the mcu is ready to receive another line?
An XON ending char would be fine...

Paolo

Inviato da Samsung Mobile

-------- Original message --------
Subject: Re: [Amforth] R: Re:  HW flow control 
From: Erich Waelde <ew.fo...@nassur.net> 
To: Everything around amforth <amforth-devel@lists.sourceforge.net> 
CC:  

Hi Paolo,

On 07/30/2014 09:32 AM, Paolo Garro wrote:
> Hi all,
> Timeout is a matter of transmission.
> Guessing how many time consumes the process of a " ; " is not.
> I think a ready/busy flag will help.
> HW flow control will help too if used to communicate the ready status.
> What do you think about?

Could you explain to me what is wrong with waiting for the echo
reply? I use this on automatic data collection from controllers
running an amForth program.

Of course, you have to read and parse for the prompt, however, with
hw flow control you need to read the prompt as well.

Cheers,
Erich




------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to