Porting M68040 assembly code to MCF54452 Coldfire using CodeWarrior Coldfire Architecture Version 7.2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Porting M68040 assembly code to MCF54452 Coldfire using CodeWarrior Coldfire Architecture Version 7.2

326 Views
johnchan
Contributor I

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.

Labels (1)
0 Kudos
1 Reply

246 Views
Carlos_Mendoza
NXP Employee
NXP Employee

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

0 Kudos