From: Leon M. <leo...@gm...> - 2010-07-02 03:22:04
|
Hello everyone, I'm not sure if this it the right place to request help, but I don't see where else to do it, so I apologize if I'm asking in the wrong place. As the subject suggests, I'm interested in getting amforth working on a atmega644PA chip. I've tried assembling amforth in Linux with avra, in Linux with wine/avrasm2, and in Windows with AVR Studio -- all without success. Although the first two methods interest me more, perhaps we should start with the third, because there I was following instructions (from amforth-AVR-Studio.pdf -- are there instructions for the other two?) I get 10 errors and 2 warnings: C:\Users\Leon\Desktop\amforth-4.0\core\drivers/usart.asm(2): warning: Use of undefined or forward referenced symbol 'UBRRL' in .equ/.set C:\Users\Leon\Desktop\amforth-4.0\core\drivers/usart.asm(3): warning: Use of undefined or forward referenced symbol 'UBRRH' in .equ/.set C:\Users\Leon\Desktop\amforth-4.0\core\drivers/usart.asm(4): warning: Use of undefined or forward referenced symbol 'UCSRC' in .equ/.set C:\Users\Leon\Desktop\amforth-4.0\core\drivers/usart.asm(5): warning: Use of undefined or forward referenced symbol 'UCSRB' in .equ/.set C:\Users\Leon\Desktop\amforth-4.0\core\drivers/usart.asm(6): warning: Use of undefined or forward referenced symbol 'UCSRA' in .equ/.set C:\Users\Leon\Desktop\amforth-4.0\core\drivers/usart.asm(7): warning: Use of undefined or forward referenced symbol 'UDR' in .equ/.set C:\Users\Leon\Desktop\amforth-4.0\core\drivers/usart.asm(8): warning: Use of undefined or forward referenced symbol 'RXC' in .equ/.set C:\Users\Leon\Desktop\amforth-4.0\core\drivers/usart.asm(9): warning: Use of undefined or forward referenced symbol 'UDRE' in .equ/.set C:\Users\Leon\Desktop\amforth-4.0\appl\HandHeldForth\template.asm(22): warning: Use of undefined or forward referenced symbol 'TXEN' in .equ/.set C:\Users\Leon\Desktop\amforth-4.0\appl\HandHeldForth\template.asm(23): warning: Use of undefined or forward referenced symbol 'UCSZ0' in .equ/.set C:\Users\Leon\Desktop\amforth-4.0\core\drivers/usart-isr-rx.asm(4): error: Use of undefined or forward referenced symbol 'URXCaddr' in .org C:\Users\Leon\Desktop\amforth-4.0\core\devices/atmega644p/device.asm(13): error: Overlap in .cseg: addr=0x1 conflicts with 0x0:0x2 Please let me know if I can provide any information that might help identify what I'm doing wrong. After getting this to assemble, the next problem is getting it on a device. As I said, I'd like to use a atmega644PA, but I only see atmega644 and atmega644P in the devices directory. Can I use one of them, and if so, which one? Thanks. -Leon |