From: Robert E. <epp...@so...> - 2012-01-15 05:54:50
|
Matthias Trute <mt...@we...> writes: >> As for the amforth-upload.py script, I assume that reading characters >> until the ok-prompt is seen *before* sending bytes would help as well. > > I just added a code line that *could* help. It simply sends an empty > line to the conroller and waits for the ok and the prompt before > staring the actual upload (just like pressing enter upon serial line > connect). Let me know if it helps. Thanks a lot. Alas it is not working yet: dada@i3:~/AMFORTH/amforth-svn/amforth/trunk$ ./tools/amforth-upload.py -v \ -t /dev/ttyACM0 lib/misc.frt skipping empty line including file: './lib/misc.frt' sending line: \ some definitions that may be useful Then it hangs. Trying to guess what the script does (i don't talk python) it looks as if the empty line is filtered out and not sent to the avr. Robert |