Mini 2440

Shiv
Hello
I have mini 2440 kit but i dont know how to generate Hex code for it.
Please help me to start with basics of compilation. I have knowledge of GCC
 . can i directly use GCC without cross compilation to generate HEX for
Mini 2440 board.

Andre
I dont know what you are talking about generating a hex but here you would
find some tutorials of how to start programming and compiling for mini2440
http://www.youtube.com/electutorial

TheRegnirps
If you are thinking hex code, I would guess you have used older 8 bit
microprocessors, likely Motorola (now FreeScale). You assembled or compiled
then took the output file of hex codes or binary and put them at a
particular startup address.

You can generate code for the Mini2440 with an assembler or c or c++
compiler. They are all in the gcc tools for Linux (which comes loaded on
the board). However, the Mini2440 has a memory management unit and is about
30 times faster and more complicated with much more memory than a Cray
supercomputer of the 1980's. That is why nearly everyone uses a full sized
OS like Linux, where other people have already done most of the work and
you can concentrate on code for your particular task.

If you want to keep it simple (?) you can disable the MMU and lock the
cache and treat it as a very linear processor with memory mapped I/O. This
produces the most deterministic code and with the cache locked on some of
your time critical code fragments, the fastest. It can detect a 4000 foot
per second bullet (say it breaks a beam of light) and respond to an
interrupt in the time it takes the bullet to move 20 microns.

If you want to use all the great features like Ethernet and USB and LCD
outputs and touch pad inputs, you need Linux or WindowsCE6 or something
like that.