From: avr f. <avr...@gm...> - 2008-06-15 18:26:12
|
Hello. I just got it working. But I can't understand one thing. Why do I need faster baud rate in ZTerm compared to Amforth baud rate settings? When Amforth it set to 9600 and ZTerm to 19200. It works. why? I just got my Arduino this week. So I'm learning.. --- Background: This is how I got it working Tools: Mac, VMware Fusion, Studio4.14(589) in WindowsXP, ZTerm on mac Amforth 1. Get amforth compiling clean. (change temp6->zl and temp7->zh) 2. Change ADCaddr -> ADCCaddr 3. Comment out r30 and r31 in macros.asm. 3. Set Baud rate = 9600 4. Change .include to device/atmega168.asm 5. Compile, f7. Uploading hex and eep files. 1. Arduino have a extern crystal. (CKSEL=1111,SUT=00) 2. LFUSE=0xCF, HFUSE=0xDF, EFUSE=0xF8 ( http://palmavr.sourceforge.net/cgi-bin/fc.cgi) 3. LockBit=0xCF Connecting with ZTerm 1. Connect USB cable direct to Arduino 2. Disconnect AVRISP mkII from Arduino 3. ZTerm 19200N81, no local echo, no Xon/Xoff, no Hardware handshake vt100, ZModem protocol for send and receive. |