Skip to main content
Application NoteNxp

Technical Note TN256: Converting Projects to CodeWarrior ColdFire V7.0

A technical guide for migrating ColdFire projects from CodeWarrior V6.4 to V7.0, detailing library changes, alignment updates, and new code generation optimization options.

View application note

Overview

This technical note outlines the procedures and changes required to migrate electronics projects from CodeWarrior Development Studio for ColdFire Architectures V6.4 to V7.0. Significant updates include the transition to modulo-4 (ColdFire) default alignment for improved runtime performance and the simplification of Main Standard Libraries (MSL) by removing Target Resident Kernel (TRK) libraries. The document covers new library designations for V4 architectures and SZ_ versions for memory-limited devices like the MCF52235. It also explains new code generation features such as register coloring, peephole optimization, and instruction scheduling, alongside guidance on maintaining backwards compatibility with legacy 16-bit alignment.

Use Cases

  • Migrating legacy ColdFire firmware projects to CodeWarrior Development Studio V7.0.
  • Optimizing execution performance on ColdFire V4 architectures using modulo-4 alignment.
  • Configuring small footprint libraries for memory-constrained microcontrollers like the MCF5223x series.
  • Adjusting linker configuration files (LCF) for proper ELF section addressing and symbol resolution.

Topics

CodeWarrior
ColdFire
NXP
MCF52235
MSL
ABI
Register Coloring
Project Migration
V7.0
V6.4
Linker Configuration
Instruction Scheduling

Referenced Parts

MCF52235

NXP

limited-memory ColdFire devices such as the MCF52235.

MCF5206e

NXP

5206e 5206e

MCF5207

NXP

5207_8 5207, 5208

MCF5208

NXP

5207_8 5207, 5208

MCF52100

NXP

521x0 52100, 52110

MCF5211

NXP

521x 5211, 5212, 5213, 5214, 5215

MCF52110

NXP

521x0 52100, 52110

MCF5212

NXP

521x 5211, 5212, 5213, 5214, 5215

MCF5213

NXP

521x 5211, 5212, 5213, 5214, 5215

MCF5214

NXP

521x 5211, 5212, 5213, 5214, 5215

MCF5215

NXP

521x 5211, 5212, 5213, 5214, 5215

MCF52210

NXP

5221x 52210, 52211, 52212, 52213

MCF52211

NXP

5221x 52210, 52211, 52212, 52213

MCF52212

NXP

5221x 52210, 52211, 52212, 52213

MCF52213

NXP

5221x 52210, 52211, 52212, 52213

MCF52221

NXP

5222x 52221, 52223

MCF52223

NXP

5222x 52221, 52223

MCF52230

NXP

5223x 52230, 52231, 52232, 52233, 52234, 52235, 52236

MCF52231

NXP

5223x 52230, 52231, 52232, 52233, 52234, 52235, 52236

MCF52232

NXP

5223x 52230, 52231, 52232, 52233, 52234, 52235, 52236

MCF52233

NXP

5223x 52230, 52231, 52232, 52233, 52234, 52235, 52236

MCF52234

NXP

5223x 52230, 52231, 52232, 52233, 52234, 52235, 52236

MCF52236

NXP

5223x 52230, 52231, 52232, 52233, 52234, 52235, 52236

MCF5235

NXP

523x 5235

MCF5249

NXP

524x 5249

MCF5251

NXP

525x 5251, 5253

MCF5253

NXP

525x 5251, 5253

MCF5270

NXP

5270_1 5270, 5271

MCF5271

NXP

5270_1 5270, 5271

MCF5272

NXP

5272 5272

MCF5274

NXP

5274_5 5274, 5275

MCF5275

NXP

5274_5 5274, 5275

MCF5280

NXP

528x 5280, 5281, 5282

MCF5281

NXP

528x 5280, 5281, 5282

MCF5282

NXP

528x 5280, 5281, 5282

MCF5307

NXP

5307 5307

MCF5327

NXP

532x 5327, 5328, 5329

MCF5328

NXP

532x 5327, 5328, 5329

MCF5329

NXP

532x 5327, 5328, 5329

MCF5371

NXP

537x 5371, 5372, 5373

MCF5372

NXP

537x 5371, 5372, 5373

MCF5373

NXP

537x 5371, 5372, 5373

MCF5407

NXP

5407 5407

MCF54450

NXP

5445x 54450, 54451, 54452, 54453, 54454, 54455

MCF54451

NXP

5445x 54450, 54451, 54452, 54453, 54454, 54455

MCF54452

NXP

5445x 54450, 54451, 54452, 54453, 54454, 54455

MCF54453

NXP

5445x 54450, 54451, 54452, 54453, 54454, 54455

MCF54454

NXP

5445x 54450, 54451, 54452, 54453, 54454, 54455

MCF54455

NXP

5445x 54450, 54451, 54452, 54453, 54454, 54455

MCF5470

NXP

547x 5470, 5471, 5472, 5473, 5474, 5475

MCF5471

NXP

547x 5470, 5471, 5472, 5473, 5474, 5475

MCF5472

NXP

547x 5470, 5471, 5472, 5473, 5474, 5475

MCF5473

NXP

547x 5470, 5471, 5472, 5473, 5474, 5475

MCF5474

NXP

547x 5470, 5471, 5472, 5473, 5474, 5475

MCF5475

NXP

547x 5470, 5471, 5472, 5473, 5474, 5475

MCF5480

NXP

548x 5480, 5481, 5482, 5483, 5484, 5485

MCF5481

NXP

548x 5480, 5481, 5482, 5483, 5484, 5485

MCF5482

NXP

548x 5480, 5481, 5482, 5483, 5484, 5485

MCF5483

NXP

548x 5480, 5481, 5482, 5483, 5484, 5485

MCF5484

NXP

548x 5480, 5481, 5482, 5483, 5484, 5485

MCF5485

NXP

548x 5480, 5481, 5482, 5483, 5484, 5485

Technical Note TN256: Converting Projects to CodeWarrior ColdFire V7.0 | Design Resources