From: Leon N M. <leo...@gm...> - 2010-07-02 14:40:33
|
I've used pd2amforth to generate the files, and I switched to a different usart file. That got rid of one error, but I still have the other one: devices/atmega644pa/device.asm(13): error: Overlap in .cseg: addr=0x1 conflicts with 0x0:0x2 Any other advice? Thanks. -Leon >Friday 02 July 2010 >From: Matthias Trute <mt...@we...> >Subject: Re: [Amforth-devel] Help getting started with a atmeg644PA > Hi Leon, > > > C:\Users\Leon\Desktop\amforth-4.0\core\drivers/usart.asm(2): warning: > > Use of undefined or forward referenced symbol 'UBRRL' in .equ/.set > > etc. That means that your controller uses a different naming scheme > for the usart ports. Looking at the part description files: they are > names UBBR0L, UBRR1L etc. You will have to use the drivers/usart_0.asm > instead (or whatever your terminal is). > > > 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? > > None of them by default. You have to generate the proper files with > the pd2amforth utility from the original Atmel Partdescription file. > I've never tested it on windows however, it's a non-trivial perl > script. > > You may have success with the 644 hex files, I do not know whether > the controllers are similiar enough.. > > Matthias |