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?
Paolo Inviato da Samsung Mobile -------- Original message -------- Subject: Re: [Amforth] HW flow control From: Matthias Trute <mtr...@web.de> To: amforth-devel@lists.sourceforge.net CC: Hi Paolo, > I'm writing a wxpython GUI for AMforth. Cool. > It's a serial terminal capable of upload files and include. The amforth-shell is not only a terminal shell, its a python component for embedded use as well. Using may save you a lot of work, perhaps. > I'm dealing with timeouts to guest if the micro is ready or busy. > The echo mechanism is ok but it lacks I spent some time to get XON/XOFF working too. It was ok as long as I used a "real" serial lne. With USB sticks I've encoutnterd very mixed results ranging from "works well" to "works not at all". The current echo-based flow control turned out to be very realiable for all connection types and the timeouts that occured had a real reason. Hardware flow control is of course better, but requires 2 hardware pins. Enoch mentioned that he wrote something, but did not published a recipe for it, IIRC. Matthias ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel