Tool chain support for legacy device (AT91M40800)

All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.

Moderator: nferre

Posts: 15
Joined: Tue May 17, 2011 8:33 pm

Tool chain support for legacy device (AT91M40800)

Tue May 17, 2011 8:45 pm

I've recently taken over the maintenance of an older project based on the AT91M40800 chip. The existing tool chain is fairly old (from 2003) and comprises the IAR compiler and the TRACE32 debugger.

I want to retarget the project to another tool chain based on GCC and Eclipse. All of the examples I have been able to find are related to the newer devices (AT91SAM) and I have not been able to find anything really useful for the AT91M40800 that I use. I am looking for an GCC compatible example for the AT91M40800 and possibily also a C lib implementation that I can use "out of the box".

From various posts around the net I can tell that there was once an "AT91 library" that I suspect contains most of the things I need to get started. Unfortunately, I have been unable to find a copy of this on the net. Please help!

Posts: 871
Joined: Sat Oct 30, 2010 6:04 pm

Re: Tool chain support for legacy device (AT91M40800)

Wed May 18, 2011 6:41 pm

I've been using AT91FR4081 and AT91R40008 parts. I can't find the discs right now, the oldest I can find now is probably from 2005.

You should probably track down Stephan Cadene, I think he's still around here, as he prepared a lot of those discs as I recall.

Beyond the startup code, and includes, which you have from IAR tool chain, the parts are just classic ARM7 solutions. I'd be hard pressed to believe that you couldn't pick up *any* ARM tool chain and use it with minimal effort. Most of the code samples provided in the current AT91Lib packages should also be fairly portable, and only require some minor massaging to get working on any of Atmel's ARM offerings. Is it the startup code, and/or linker scripts, that's the biggest hurdle at the moment?

Rowley has board support for the AT91EB40A ... 1EB40A.htm

As does Keil.

You could fish around for the AT91EB40 or AT91X40 type designs ... oc1706.pdf
Posts: 871
Joined: Sat Oct 30, 2010 6:04 pm

Re: Tool chain support for legacy device (AT91M40800)

Wed May 18, 2011 7:49 pm

Posts: 24
Joined: Mon Mar 28, 2011 7:10 pm

Re: Tool chain support for legacy device (AT91M40800)

Thu May 19, 2011 5:05 am

Keil supports similar Atmel ARM7 parts and have examples.

You can use GCC as a compiler with uVision if you refer.


Return to “Development Tools”

Who is online

Users browsing this forum: No registered users and 1 guest