[uClinux-dev] linux to coldfire MCF52259

2011-03-23 Thread Luboš Melichar
Hi all,
could anyone help me how to get linux to coldfire?

I am really a beginner in this way.
I dont know which tools I need...
Is the dBUG tool already included in the chip?
I would appreciate any help - links, tutorials ...

Thanks
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Re: [uClinux-dev] linux to coldfire MCF52259

2011-03-23 Thread Wolfgang Wegner
Hi,

On Wed, Mar 23, 2011 at 09:12:47AM +0100, Lubo?? Melichar wrote:
 Hi all,
 could anyone help me how to get linux to coldfire?

first of all: I do not think that uClinux will run on an MCF52259.
This is a microcontroller with very limited internal RAM and Flash,
and no decent external memory interface. With resources like 64 kB
RAM, I see no chance of getting uClinux to run, let alone start
any application.

If you have this processor and want to get something running,
probably the easiest solution is to use Freescale's MQX, or you
head over to www.freertos.org and see if you can adapt one of
the existing MCF52221 or MCF5223x projects.

In case you are looking for a V2 Coldfire with uClinux, have a
look at MCF527x/528x - but you need external SDRAM for them, and
a BGA layout, AFAIR.

 I am really a beginner in this way.
 I dont know which tools I need...
 Is the dBUG tool already included in the chip?
 I would appreciate any help - links, tutorials ...

Tools? gcc, gdb, binutils, uClinux-dist, ... ;-)

I have good experience with the toolchains provided by CodeSourcery -
don't worry, just look for the Lite Edition, it contains all you
need for uClinux development, and is much less pain than building
the toolchain yourself. (The last time I started a project, the
toolchain on the uclinux project pages was too old for some other
stuff, this is why I looked for another solution. Maybe situation
has changed meanwhile, it was 3 years ago.)

That's for the software. The debug tool is more of a problem.
Coldfire uses BDM, and things get a bit confusing because of
different versions.
Meanwhile there are some Open-Source/Low-Cost debug tools out
there, have a look at USBDM, which seems to be the most advanced
one:
http://usbdm.sourceforge.net/
There are some companies selling pre-built devices, as far as I know.

Regards,
Wolfgang

___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev