From: Charles S. <sum...@gm...> - 2012-02-28 23:23:51
|
Hi, Just started working with amforth 4.7 on atmega328p on uno (rev3) board. compile went ok. connection with minicom from linux went ok. But when I try to enter definitions it hangs after the second word. I've seen this with both colon and constant definitions. here's some output: amforth 4.7 ATmega328P > ok > words @i (!i-nrww) !i @e !e not s>d up! up@ >< cmove> unloop i sp! sp@ rp! rp@ +! rshi ft lshift 1- 1+ xor or and 2* 2/ invert um* um/mod m* + - log2 d< d> 0> u> u< tr ue 0 0< > < 0= = <> r@ >r r> rot drop over swap ?dup dup c@ c! ! @ execute exit ? applturnkey ms 1ms int-trap int@ int! -int +int show-wordlist +usart baud tx?- poll tx-poll rx?-isr rx-isr get-order get-current !e[] @e[] environment? environ ment end-code code abort abort" [char] immediate recurse user constant variable [ ] ; :noname : does> create ?do leave +loop loop do again until repeat while be gin then else if sliteral literal is Rdefer Edefer words s" ." .s u. dinvert d- d+ d2* init-user ee>ram ee-user source-tib refill-tib tib 2swap d2/ cmove dnegat e dabs d>s j * icompare search-wordlist defer@ defer! to value unused noop ver ? stack rec-notfound rec-find rec-intnum interpret depth rp0 sp sp0 warm cold paus e quit find-name parse-name /string source cscan parse >number number char refil l accept cskip throw catch handler ' type spaces space cr icount itype s, u>= u< = digit? ud/mod ud.r ud. . d. .r d.r sign #> #s # <# hold hld tolower toupper wi thin max min abs mod / negate u/mod */ /mod */mod turnkey bl hex decimal bin ['] , compile ( \ header allot here edp dp key? key emit? emit pad #tib >in cell+ c ells base state f_cpu ok > ok > ok > $25 constant PORTB ok > $24 constant DDRB (This is where it hangs) I'll provide any other information as requested. TIA -- -chuck * This sig intentionally left blank * |