Mark Butcher

M52235EVB and GNU project

Discussion created by Mark Butcher on May 5, 2006
Latest reply on May 18, 2006 by David E Seymour
Hi All
Has any one out there started using the M52235EVB? the new Coldfire with on-board Ethernet.
It is supplied with a CD with the GNU compiler for the Coldfire. I would like to make a GNU project (as well as CodeWarrior) but am having difficulties.
1. I can compile my source code but I can't work out how to control it when linking. With the HCS12 I used a file called memory.x to control this but it seems as though this is not used with the Coldfire.
2. The linker always complains that it can't find the entry symbol _start. My HCS12 project has this defined in the vector table but I assume it is missing from some start up code since I also have a similar vector table - although I don't yet know whether it is used in the same manor (?).
3. I have read in the GCC docs that one should define mcpu=5200 for the coldfire but this just results in an error. I have found that mcpu=5208 works but don't know whether this is correct for this Coldfire type.
4. I don't seem to be able to find any documentation about linking for the Coldfire.
Is there any example project somewhere which could help?
Many thanks in advance.
Mark Butcher