avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] AT90CAN128 support


From: E. Weddington
Subject: Re: [avrdude-dev] AT90CAN128 support
Date: Fri, 12 Nov 2004 09:11:52 -0700
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Brian Dean wrote:

On Fri, Nov 12, 2004 at 07:28:35AM -0700, E. Weddington wrote:

I'm sorry I can't help you with this, but did you get a hold of an actual device yet?

Yes - one of my customers sent me a couple samples to install onto a
pair of my MAVRIC-II boards that they are using, replacing their
ATmega128's.  With the chip installed, I can enter programming mode
just fine, dump the various chip memories, etc.  However, I'm not
convinced that programming the chip is working correctly because I'm
getting sporadic verify errors.  I'm using the STK500 so the
instruction incoding in the avrdude.conf file should not be relevent,
even if it is not quite right.  I'm wondering if I need to update the
firmware on my STK500.
If you have problems with the new version of stk500 firmware, or you need to go back to the previous version (which is PITA from what I hear), contact Colin O'Flynn: he's the resident expert on that issue.

The latest GCC port does not yet support this device so I can't yet
actually test any C code and I haven't had the time yet to write a
test program in assembly language.  Since the interrupt vector table
and other things appear to be different compared to the ATmega128,
unfortunately I can't just build for that chip and expect that to
work.

I think there's a patch floating around to add this support to GCC,
but I haven't tried to apply and build that yet.
Yes, there is a patch, it's in the avr-libc patch manager. Patches for bintuils, and for GCC, including one for the 3.4.x series. Use the latest avr-libc from CVS: it has the latest stuff for these devices including the latest IO header file for the can128. If you run into any issues, Ted could probably help on this (I'm going to be out for the rest of the day soon).

FYI, the latest WinAVR is built with support for the can128.

It would be good to know how your customers get along with the latest toolset.

Good luck!

Eric





reply via email to

[Prev in Thread] Current Thread [Next in Thread]