I am trying to port M68040 assembly code to run on MCF54452 Coldfire processor.
I am currently using the CodeWarrior Coldfire Achitecture V7.2. The original M68040 assembly
code was compiled with Microtec. Are there any examples or documents showing how to set up
a CodeWarrior project to run the assembler on the M68040 assembly code?
I know there will be assembler errors because not all instructions are supported in the Coldfire.
However, I need information on how to setup the CodeWarrior project to start assemble the code.
Thank you in advance.
Hi John,
I think that the cleanest way to migrate the project is to create a new project in CodeWarrior 7.2 for the MCF54452 MCU and start writing your application, you can use following documents as reference to help with the code migration:
http://cache.freescale.com/files/32bit/doc/app_note/AN2866.pdf
http://www.microapl.com/Porting/ColdFire/index.html
I would also recommend using CodeWarrior 10.6.4 which is the newest version:
CodeWarrior for Microcontrollers-Eclipse IDE|NXP
Hope it helps!
Best Regards,
Carlos Mendoza