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?
You need a linker file to go along with the linker command that will define the memory map (i.e. tell the linker where your valid memory space is) of your system.
There are multiple step for compiling, assembling, linking to get an executeable and then even for utilities used to make sure the executeable is in the right format for you to download and use. Most people create makefile or make.bat files to simplify all the steps.