Dennis, this works for me (from template.asm): ........ .include "devices/atmega1284p/device.asm" ; amforth needs two essential parameters ; cpu clock in hertz, 1MHz is factory default .equ F_CPU = 22000000 ; initial baud rate of terminal .equ BAUD = 115200 .set USART_B_VALUE = (1<<TXEN0) | (1<<RXEN0) .equ WANT_ISR_RX =1; .if WANT_ISR_RX == 1 .set USART_B_VALUE = (1<<TXEN0) | (1<<RXEN0)| (1<<RXCIE0) .else .set USART_B_VALUE = (1<<TXEN0) | (1<<RXEN0) .endif ; 8N1 is commonly used .equ USART_C_VALUE = (3<<UCSZ00) .include "drivers/usart_0.asm" ....... P.
------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Amforth-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amforth-devel
