EmbeddedRelated.com
Forums
Memfault Beyond the Launch

ColdFire -- MCF5282

Started by tech...@gmail.com November 9, 2006
Hello Members

I want some help on MCF5282, the ColdFire series of Processors.

First and foremost, where do i start off from, considering that am
pretty new to the ColdFire arch???

What are my options as well as opensource Compilers , Debuggers are
concerned???
Is there something based of the Eclipse Platform , like there are
plugins for ARM???

Also, where can i find some Online Tutorials, that can help me
kickstart my work???

Any useful inputs will be very helpful at this stage.

thanks & regards

Krish

Start with one of our development kits.
Working Coldfire hardware and software and not much $.
We are in the late beta process of releasing an eclipse based 
IDE and debugging environment that will make our offerings even better.

www.netburner.com
or
http://www.netburner.com/products/core_modules/mod5282.html


Paul 









On 9 Nov 2006 08:59:34 -0800, "techie.embedded@gmail.com" <techie.embedded@gmail.com> wrote:

>Hello Members > >I want some help on MCF5282, the ColdFire series of Processors. > >First and foremost, where do i start off from, considering that am >pretty new to the ColdFire arch??? > >What are my options as well as opensource Compilers , Debuggers are >concerned??? >Is there something based of the Eclipse Platform , like there are >plugins for ARM??? > >Also, where can i find some Online Tutorials, that can help me >kickstart my work??? > >Any useful inputs will be very helpful at this stage. > >thanks & regards > >Krish
techie.embedded@gmail.com wrote:
> Hello Members > > I want some help on MCF5282, the ColdFire series of Processors. >
Hello,
> First and foremost, where do i start off from, considering that am > pretty new to the ColdFire arch??? > > What are my options as well as opensource Compilers , Debuggers are > concerned??? > Is there something based of the Eclipse Platform , like there are > plugins for ARM???
I did some work with ColdFire processors and the GNU toolchains. For my last project I used the following components: * GNU C Compiler (built myself with target = m68k-elf). Get this on http://gcc.gnu.org * P&E Micro BDM interface. If you use the same debug interface you should take a look at the m68k-bdm tools website on http://sourceforge.net/projects/bdm/ I did some patches for the Coldfire 2 cores which are available there to support more registers. In any case you must download at least the MCF5282 RAMBAR/FLASHBAR patch. * Insight debugger - You have to apply the patches from the m68k-bdm tools distribution. * CFInit - A free tool from MicroAPL to generated coldfire startup code. This tool is a must because it really cuts down the time required for bootstrapping your hardware. You can find it at http://www.microapl.co.uk/CFInit/cfinit_main.html The other project I am aware of is Codesourcey at http://www.codesourcery.com/ which supply a working C compiler. What is interesting is that they have done a small wrapper which supports the GDB remote protocol for 68k and uses the P&E micro libraries (UNITCFZ). I have not tested this but it sound like a good idea. I also tried tried a code limited debugger available for free at the P&E Micro website (http://www.pemicro.com/). Sadly their debugger is limited to C code and no C++ support is available.
> Also, where can i find some Online Tutorials, that can help me > kickstart my work???
You can take a look at the FreeRTOS Coldfire available at [http://www.freertos.org/portcoldfire.html]. This port includes some documentation, a working piece of software (startup scripts, linker scripts, ...).
> Any useful inputs will be very helpful at this stage.
Having provided all these choices I have to say that I would not build a toolchain myself (At least not at the company I am working for). The final results where very good but the time spent stands in no relation to a commercial license. Anyway I did this at home and out of interest so this was not an issue for me.
> thanks & regards > > Krish
Kind Regards, Christian Walter
>
pbreed@netburner.com wrote:
> Start with one of our development kits. > Working Coldfire hardware and software and not much $. > We are in the late beta process of releasing an eclipse based > IDE and debugging environment that will make our offerings even better. > > www.netburner.com > or > http://www.netburner.com/products/core_modules/mod5282.html
Hello, Your website and your products sound very interesting. Could you comment on the debugger options because looking at the pinouts I see there are no BDM signals anymore. Do your tools provide an onboard monitor suitable for communication with GDB?
> Paul
Kind Regards, Christian Walter
> > > > > > > > > > On 9 Nov 2006 08:59:34 -0800, "techie.embedded@gmail.com" <techie.embedded@gmail.com> wrote: > >> Hello Members >> >> I want some help on MCF5282, the ColdFire series of Processors. >> >> First and foremost, where do i start off from, considering that am >> pretty new to the ColdFire arch??? >> >> What are my options as well as opensource Compilers , Debuggers are >> concerned??? >> Is there something based of the Eclipse Platform , like there are >> plugins for ARM??? >> >> Also, where can i find some Online Tutorials, that can help me >> kickstart my work??? >> >> Any useful inputs will be very helpful at this stage. >> >> thanks & regards >> >> Krish >
>pbreed@netburner.com wrote: >> Start with one of our development kits. >> Working Coldfire hardware and software and not much $. >> We are in the late beta process of releasing an eclipse based >> IDE and debugging environment that will make our offerings even better. >> >> www.netburner.com >> or >> http://www.netburner.com/products/core_modules/mod5282.html > >Hello, > >Your website and your products sound very interesting. Could you comment >on the debugger options because looking at the pinouts I see there are >no BDM signals anymore. Do your tools provide an onboard monitor >suitable for communication with GDB? > >> Paul
We have a debug ethernet driver that runs as a non-maskable interrupt. It communicates with GDB over the network. This allows you to debug everything except non maskable interrupt routines. If you really need BDM, all the BDM signals come out to the test connector, you would need to solder on a 0.1 header and make an adaptor cable. For things like code loading and programming flash we do that with a tool called autoupdate that sends a compressed image over the network. (This is fast, compile, linke, download, reprogram flash and reboot is less than 15 seconds from the command line. The DevC++ IDE is slightly slower, the eclipse IDE is probably the same or slightly faster) There is a customer friendly interface for autoupdate so you can give these autoupdate tools to your customers so they can update firmware in the field. Lots more to list I would reccomend that you look at the demo videos on our web site and go to the Netburner Users forum on Yahoo groups and ask our users what they think of the platform and environment. One of the recent postings on that group was a user generated demo of our new Eclipse Beta. Look for an Netburner offical announcment about the Eclipse IDE toward the end of the month. Paul
Hello Paul and Chris,

Thanks for the detailed clariifcations Chris.. I have some more
questions for you and paul now...

thanks for that Paul..  will look that up on the website...

In the meantime what i have done is to download the GNU toolchain from
Codesourcery , targeting uClinux on Windows.

At this stage, i do not have any Hardware.  I have downloaded the
uClinux binaries that have been ported on MCF5282 already.

If i need to run this uClinux on Windows, i need an emulator like QEMU,
right???

I'm first & foremost on the look out for the Setup files for QEMU (
Coldfire target ) for Windows.

Have you come across any such implementations??
Can u give me any ideas on how to move ahead??

regards

krish

On Nov 10, 4:04 am, pbr...@netburner.com wrote:
> >pbr...@netburner.com wrote: > >> Start with one of our development kits. > >> Working Coldfire hardware and software and not much $. > >> We are in the late beta process of releasing an eclipse based > >> IDE and debugging environment that will make our offerings even better. > > >>www.netburner.com > >> or > >>http://www.netburner.com/products/core_modules/mod5282.html > > >Hello, > > >Your website and your products sound very interesting. Could you comment > >on the debugger options because looking at the pinouts I see there are > >no BDM signals anymore. Do your tools provide an onboard monitor > >suitable for communication with GDB? > > >> PaulWe have a debug ethernet driver that runs as a non-maskable interrupt. > It communicates with GDB over the network. > > This allows you to debug everything except non maskable interrupt routines. > > If you really need BDM, all the BDM signals come out to the test connector, > you would need to solder on a 0.1 header and make an adaptor cable. > > For things like code loading and programming flash we do that with a tool > called autoupdate that sends a compressed image over the network. > > (This is fast, compile, linke, download, reprogram flash and reboot is less than 15 seconds > from the command line. The DevC++ IDE is slightly slower, the eclipse IDE is probably the same or slightly faster) > > There is a customer friendly interface for autoupdate so you can > give these autoupdate tools to your customers so they can update firmware in the field. > > Lots more to list I would reccomend that you look at the demo videos on our web site > and go to the Netburner Users forum on Yahoo groups and ask our users what they think > of the platform and environment. One of the recent postings on that group > was a user generated demo of our new Eclipse Beta. > > Look for an Netburner offical announcment about the Eclipse IDE > toward the end of the month. > > Paul
>If i need to run this uClinux on Windows, i need an emulator like QEMU, >right??? > >I'm first & foremost on the look out for the Setup files for QEMU ( >Coldfire target ) for Windows. > >Have you come across any such implementations?? >Can u give me any ideas on how to move ahead?? >
A number of our customers have used uclinux on our hardware, but our runtime tools are not ucLinux. Ours are smaller and faster. We currently don't officaly offer support for uClinux. Paul CTO Netburner.

Memfault Beyond the Launch