Where do i start?

Jul 26, 2005 6 Replies

Hi everyone



I have been desing hardware based on the C51 architecture in assembly code I am wanting to migrate to ARM and and wanting to start writing in C rather than assembler. can anyone give me any site that could help me out with this, like writing to registers, changing modes, dealing with interrupts etc.



Thanx! Xarion


sdcc is a C compiler for c51 and it's free the datasheet of the microcontroller is the first place where I look for basic things , application notes are the second and third there is google :-)

you can easily find code in asm or C for many tasks.

always check for compatibility between derivatives of the chip ( different chip different registers and peripherals )

oh , a simple sbc withe micro and ram is useful.

formatting link

Vadim

Think i might have mis-communicated my point:)

I am wanting to develop new hardware with ARM micros and am looking for some sort of introduction into c programming for ARM architectures. I have been through ARM's website and haven't found anything that could help me starting with ARM its more for people already working with ARM.

Xarion

So, have you seen the App Note 34 "Writing Efficient C for ARM" in ?

Vadim

Ahh didnt see that one :-) Thanx

Try looking at some of the C source code examples associated with an ARM evaluation kit (for example, Atmel's AT91EB40A...

formatting link

While they are specific to a particular implementation (product) they do provide real examples of low level software written in C (i.e. accessing registers in devices, interrupts, etc.). There are probably better links... but this is one I knew of.

TC

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required