Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

ARM / GCC newbie

ARM / GCC newbie

2004-11-04 by c_hall2001

I'm just starting out with the ARM controllers and GCC.  Currently I 
am using the Atmel ATmega128 with the Codevision compiler.  
Codevision hides all the details of linking and all the other 
details that you need to deal with in GCC + ld.

My question is this-- Is there a good reference book / website that 
deals with ARM + GCC together for beginners?  Of course I have found 
TONS of info on GCC and TONS of info on ARM.  The problem is that 
I'm swimming in datasheets and pdf's but I'm having a hard time 
putting all of this together in a usable way.  Here is one 
example:  I'm trying to figure out all of these linker scripts.  I 
see a section called glue_7 in one script but not in the others.  
What is glue_7 anyway?  I assume thats its some type of glue logic 
for thumb/ARM interworking but I can't find anything to confirm 
this.  Is there some standard list of sections for the ARM?  Are the 
sections used based on which compiler (C, C++) is used?  Do ARM 
toolchains always use the ELF object format or will I find other 
types used?  And then I find hundreds of startup scripts and about 
50 ways to load up the vector table.  --My eyes are starting to 
glaze over.
I just downloaded an eval copy of crossworks for ARM and I have my 
LPC-MT-2106 + JTAG dev board from Olimex.  I'm hoping that 
the 'light bulb' turns on before too long.

Thanks for reading my newbie ranting.  Please don't flame my for 
dumb questions.  hhhheeellllpppp!!!

Re: [lpc2000] ARM / GCC newbie

2004-11-04 by Alex Holden

c_hall2001 said:
> My question is this-- Is there a good reference book / website that
> deals with ARM + GCC together for beginners?

Yes, Embedded System Design on a Shoestring by Lewin Edwards is pretty
good. It goes into detail on writing LD scripts.

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer

Re: [lpc2000] ARM / GCC newbie

2004-11-07 by Anton Erasmus

On 4 Nov 2004 at 0:54, c_hall2001 wrote:

> 
> 
> I'm just starting out with the ARM controllers and GCC.  Currently I
> am using the Atmel ATmega128 with the Codevision compiler.  Codevision
> hides all the details of linking and all the other details that you
> need to deal with in GCC + ld.

[Stuff snipped]
 
Since you are already familiar with the AVR, I would recommend that you first get 
avr-gcc going. There are more, and more detailed beginner guides for that than for
ARM. Once you have gotten that going, then switching to arm-gcc would be much 
easier. 

Regards
   Anton Erasmus
-- 
A J Erasmus

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.