Hi Matthias, ..set WANT_ISR_RX = 0 doesn't change anything :( Null chars were a result of a bad ground contact to the board. Now no chars are received at all!
I also tried to include usart_1 (instead of usart_0) w/o success Paolo -----Messaggio originale----- From: Matthias Trute Sent: Wednesday, May 28, 2014 9:03 PM To: amforth-devel@lists.sourceforge.net Subject: Re: [Amforth] No serial connection Hi Paolo, I have no idea why you receive 0 bytes. I've never had such a problem before. There could be a little chance however: please try adding/changing the line ..set WANT_ISR_RX = 0 in your template.asm. It changes from interrupt to polled receive. The Atmega128 is IIRC slightly strange with the usart module IO addresses. They are spread over the whole address range where the usart code assumes addr and addr+1. Maybe it does not work at all (at least with serial IO, the core system itself most probably work well). Matthias PS: dont ask, why that change should affect anything with your problem. Its a guess. ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel --- Questa e-mail è priva di virus e malware perché è attiva la protezione avast! Antivirus. http://www.avast.com ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel