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

Reply via email to