CFInit ColdFire® Initialization ToolFreescale ColdFire site

Translate Assembly-Language to C using Relogix

Please note that CFInit is an older tool which is no longer supported. See here for our current range.

NXP (formerly Freescale Semiconductor) ColdFire® embedded processors support a large number of modules, including Cache, RAM, UARTs, Timers, Ethernet, USB, etc - all of which may require you to write code to initialize them.

CFInit is an easy-to-use graphical tool (running under Windows) which lets you specify how the processor should be initialized and then writes the code for you.

Screen shot of a typical CFInit dialog:
(Click to enlarge)

Click to enlarge

Screen shot of generated code:
This example shows assembler code; CFInit can also generate ANSI C
(Click to enlarge)

Click to enlarge

Key features of CFInit

  • MicroAPL and Freescale Semiconductor (now NXP) have worked together closely on the development of CFInit. Because of a special agreement, CFInit can be downloaded from this site free of charge! (The current CFInit version is 2.11.2, last updated 7th April 2009)
  • CFInit currently supports the following ColdFire processors:
    • MCF5206e
    • MCF5207 - MCF5208
    • MCF5211 - MCF5213
    • MCF5214, MCF5216
    • MCF52221, MCF52223
    • MCF52230 - MCF52235
    • MCF5232 - MCF5235
    • MCF5249
    • MCF5270 - MCF5271
    • MCF5272
    • MCF5274, MCF5274L, MCF5275, MCF5275L
    • MCF5280, MCF5282
    • MCF5307
    • MCF5327 - MCF5329
    • MCF5372, MCF5372L, MCF5373, MCF5373L
    • MCF5407
    • MCF5470 - MCF5475
    • MCF5480 - MCF5485
  • A series of dialogs allow you to specify exactly how you want the processor to be configured.
  • Configurations can be saved to disk for later re-use.
  • CFInit checks to determine whether the configuration you have specified includes problems which would show up when you try to run the code. (For example you might have mistakenly included the memory-mapped peripherals in the range of addresses which are cached).
  • At any stage you can view the code which will be generated for a particular module, or generate the final code for the whole processor.
  • Generated code is in ANSI C or ColdFire assembly language and includes detailed comments.
  • Supports most major ColdFire toolsets, including Diab Data, Microtec/Mentor Graphics, CodeWarrior, Green Hills and Gnu.
  • Includes the ability to generate a complete working CodeWarrior project. Currently, this feature is limited to the MCF5213 and MCF52223 families only, but support for other processors is planned. Please contact MicroAPL with your requirements.
  • Closely tied to Freescale Semiconductor's own documentation on each ColdFire processor. With one mouse click you can view the documentation for an individual ColdFire module. (Requires Adobe Acrobat Reader
  • CFInit also includes informative popup help which explains your options in detail and tells you exactly how the processor's registers will be initialised.
  • Supports manual configuration of individual registers at the bit level for the rare cases where the standard configuration options are insufficient.
  • Runs under Windows
  • Includes comprehensive support for ColdFire modules, including (where appropriate):
    • Caches
    • Chip Selects
    • SRAM
    • DRAM/SDRAM controller
    • Interrupt controller
    • Pin assignments and GPIO
    • System configuration and software watchdog timer
    • Timers
    • UARTs
    • Analog-to-Digital converter
    • Digital Audio
    • DSPI
    • eDMA
    • EdgePort
    • Ethernet (FEC)
    • Ethernet Physical Transceiver (EPHY)
    • FPU
    • Flash
    • FlexCAN
    • Integrated Security Engine (SEC)
    • LCD Controller
    • PCI Bus
    • PLIC
    • PLL
    • PWM
    • QSPI
    • Real Time Clock
    • Serial Audio
    • SmartMedia, MemoryStick and SecureDigital flash devices
    • SSI Synchronous Serial Interface
    • USB
    • USB Host and USB On-the-Go (OTG)
  • Includes pre-tested configurations for a variety of Freescale (now NXP) Evaluation Boards:
    • M5213EVB
    • M52223EVB
    • M52235EVB
    • M5235EVB
    • M5249C3
    • M5271EVB
    • M5275EVB
    • M5282EVB
    • M5329EVB
    • M5329EVB + SVGA TFT LCD panel
    • M5475EVB




Best of all, thanks to a special agreement between MicroAPL and Freescale Semiconductor (now NXP), CFInit is available for download free of charge! Just click here to download a full, unrestricted version of this product, together with full documentation. (Usage of the software is subject to the CFInit license agreement).