Am Freitag, den 27.08.2010, 17:24 +0200 schrieb pito: > FYI - result of the compilation for 1284p (avr studio 4.18), device > from trunk: > > AVRASM: AVR macro assembler 2.1.42 (build 1796 Sep 15 2009 10:48:36) > Copyright (C) 1995-2009 ATMEL Corporation
Thats the version I use too. so far ok > > ... > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm(2): Here lies probably the root cause: try including the usart_0.asm file instead. The following template.asm snippet did work out of the (trunk-) box (note the additional 0 digits almost everywhere) ----------- ... ; initial baud rate of terminal .equ BAUD = 9600 .set USART_B_VALUE = (1<<TXEN0) | (1<<RXEN0) .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" .......... ----------------- template.hex: [echo] Producing Hexfiles for atmega1284p BUILD SUCCESSFUL Total time: 4 seconds ------------- Without that _0 the wrong usart drivers gets included (dont blame me for that). HTH Matthias ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel