hi Keith, > Could you reply with an example showing the exact command line options > you are giving and the output you get when it does not work.
mt@ayla:amforth/tools$ ./amforth-term.py -p /dev/ttyUSB2 ./test.frt --debug |a( )\n |s( )\n->\r\n|\n-> ok\r\n| |r( )> \r\n ok |F=mcudef |a( )dp . |s( )d->\r\n> d|p->p| -> |.->.|\n->\r\n| |r( )3569 ok |a( )s" cpu" environment search-wordlist drop execute itype |s( )s->\r\n> s|"->"| -> |c->c|p->p|u->u|"->"| -> |e->e|n->n|v->v|i->i|r->r|o->o|n->n|m->m|e->e|n->n|t->t| -> |s->s|e->e|a->a|r->r|c->c|h->h|-->-|w->w|o->o|r->r|d->d|l->l|i->i|s->s|t->t| -> |d->d|r->r|o->o|p->p| -> |e->e|x->x|e->e|c->c|u->u|t->t|e->e| -> |i->i|t->t|y->y|p->p|e->e|\n->\r\n| |r( )ATmega1280 ok failed using device.py for atmega1280 .. continuing |F=/..../amforth/tools/test.frt |C| 1|\ this is a test |W| 2| |a( )ver 1000 ms cr |s( )v->\r\n> v|e->e|r->r| -> |1->1|0->0|0->0|0->0| -> |m->m|s->s| -> |c->c|r->r|\n->\r\n| |r( )amforth 4.9 ATmega1280\r\n ok |S| 3|ver 1000 ms cr |O| 3|amforth 4.9 ATmega1280 |E| 3|Unexpected output after line. To allow, specify --no-error-on-output. mt@ayla:amforth/tools$ cat test.frt \ this is a test ver 1000 ms cr 1000 ms ver cr ver 1000 ms words 1000 ms 1 2 + . 1000 ms mt@ayla:amforth/tools$ With the --no-error-on-output option everything works well. > Thanks. What amazed me was how easy it was to implement some of those > features leveraging the Python standard library modules. It was really > neat when I saw it all coming together. :-) Yeah, I tried it myself and it's really easy. It now talks with the controller and tries to detect its name to load the device.py file from the core/devices/<controller> directory. This gives me the huge number of register names and other specific constants without filling up the dictionary on the controller. My next topic on the wishlist is the inclusion of the environment variable AMFORTH_LIB for a list of directories in which the tool looks for a given file. Matthias ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel