How to begin, whath tools ...

*Baby*
Hi,

Currently, I would like to buy a mini2440 board in order to learn how to
use arm's µC.

I know programming PIC's µC in C and asm, so I'm not realy beginner.

However, I don't how to begin. What tool need I to use in order to program
in C on this board.

Is there free tools, with simulator ... ?
What tool do you advise me in order to begin.


The second point is, is it possible to just make a little program like a
blinking led on this board. The goal is to understand how work the µC
before to try to do compex things.

So, do you know a tutorial or other things that explain basics about the
preprocessor (inculde) needed for this µC and how access to the differents
I/O ports ...

Thanks.

Juergen Beisert
The mini2440 comes with an S3C2440 processor. This one is able to run a
real operating system like Linux or WinCE. So, I'm not sure, if this
platform is the right choice for you, if you want to program it like a
micro controller.
This CPU is also more complex than a micro controller. You need much more
effort to set it up correctly to make it work...

*Baby*
Ok I understand.


And for the developpment tools ?

What IDE need I to use ?

For example, if linux is installed, how can I compile a program for it ?



How is it possible to use all the modules, A/D Converter, SPI Interface,
I2C .... ?

Do I need to use drivers that are already made, or do I need to make my own
drivers ?

Juergen Beisert
Development tools? Some kind of editor, the make tool, a cross compiler and
you are done. ;-)

If you are running Linux on your Mini2440 there are various cross
toolchains availabe. You can use one of it to compile your own programs.
But you should first googling around to get an idea how cross compiling
works in the Linux world.

If the kernel supports the dedicated hardware like the A/D converter, there
is no more need to write a program that deals with the A/D converter
hardware and its registers. Open a device node or a file in the sysfs let
you read the data very easy. The operation system hides all the necessary
hardware specific accesses for you and your application.
So, if a driver is available, you do not have to know how the hardware is
working in detail. Just use it.

*Baby*
Yes but the question is : is there drivers for all modules ?

*Baby*
Do you have somme goods links (tutorial) for crosss compiling for this
board ?

Juergen Beisert
> Yes but the question is : is there drivers for all modules ?

The answer is: Yes. For the most peripherals of this CPU kernel driver
support is available (assuming you are using a recent kernel, like 2.6.39
and maybe some patches to make them work/activate them on the mini2440).

> Do you have somme goods links (tutorial) for crosss compiling for this
> board ?

Search through this forum. There are many tutorials around the web.

hgthan74
Hi everyone

I have a mini2440 board (S3C2440) use Wince 6.0. I can download Image into
the board (NOR memory) but when switch S2 to NAND Flash the board can't
start. Can you halp me please.