Re: Coldfire development on Linux host
- From: David Brown <david@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: 17 May 2006 21:53:11 +0200
Jim Adamthwaite wrote:
This is a copy of a post which I have already sent to comp.os.linux.m68K and
alt.os.linux.suse.
..............................
I need to develop a smallish (10KB asm & maybe 10K of C & lots of fast
trigonometry) embeddeded controller application for a design job coming up.
My preferred development host is a i586 PC running SUSE 10.0.
The target CPU is (at this stage) a Coldfire MCF5407 or similar running raw
code, with no formal operating system.
The customer is already using Linux for all his work & office admin tasks
and would prefer to be able to continue development on same after I finish.
My question is: what combinations of software & hardware have you folks
found to work reasonably painlessly for a development chain which covers
1. assembly,
2. download,
3. flash program,
4. single-step debug?
Hardware:
I have examined the BDM pod article by W. Mohat from the Freescale Coldfire
forum & I am considering building it. BTW, I could make the boards
available very cheaply if anyone was interested. I would probably replace
the GAL chip with 74ACTxx or similar logic just to avoid the need for an
expensive upgrade to my PAL programmer. Discussion invited.
The decision on whether to go that path would rest on the availability of
Linux-based host tools to complete the development chain mentioned above.
Software:
I downloaded the CodeWarrior Linux Platform Evaluation suite from Freescale
to see what I thought of it, but have not been able to get past the
registration/authorisation phase before it crashes with segment violation
access errors. I am sure it is a fine thing but I may wait a little longer
before forking out the 1500+ dollars for the real thing.
In the meantime, this project is coming up & I have to prepare on a low
budget. Any suggestions please?
The obvious choice is to use gcc and gdb. Some of the high budget commercial tools may work under Linux - they often have useful extra features, but the price can be very high. I think Metrowerks CodeWarrior is free for small code sizes (it certainly is for other targets), but I don't know about running it under linux.
As for gcc, you can simply download the latest gcc source and compile it for cross development. There are plenty of tutorials out there showing how to do that. For debugging, you can get a P&E Micro parallel port debugger (speed is not too important for small programs) and code from the sourceforge "bdm" project. Cybertec also makes bdm debuggers.
For a middle ground, you could go for a commercially supported gcc package, such as from Cybertec or Redhat gnupro.
By the way, has anyone succeeded in getting Protel '98 PCB software to work
with Wine? My local (Australian) PCB maufacturer likes Protel files,
otherwise I would go for Eagle. I can joyously snip the last connection to
uSoft Windows once I solve this.
Jim Adamthwaite.
.
- Follow-Ups:
- Re: Coldfire development on Linux host
- From: David Hearn
- Re: Coldfire development on Linux host
- References:
- Coldfire development on Linux host
- From: Jim Adamthwaite
- Coldfire development on Linux host
- Prev by Date: Re: Cypress USB FX device and Windows standby mode issues
- Next by Date: Re: Which GCC Version to use with ARM7 ?
- Previous by thread: Re: Coldfire development on Linux host
- Next by thread: Re: Coldfire development on Linux host
- Index(es):
Relevant Pages
|