Porting from 68K
Freescale Semiconductor Inc's 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)
Screen shot of generated code:
This example shows assembler code; CFInit can also generate ANSI C
(Click to enlarge)
Key features of CFInit
- MicroAPL and Freescale Semiconductor (formerly Motorola SPS) 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:
- MCF5207 - MCF5208
- MCF5211 - MCF5213
- MCF5214, MCF5216
- MCF52221, MCF52223
- MCF52230 - MCF52235
- MCF5232 - MCF5235
- MCF5270 - MCF5271
- MCF5274, MCF5274L, MCF5275, MCF5275L
- MCF5280, MCF5282
- MCF5327 - MCF5329
- MCF5372, MCF5372L, MCF5373, MCF5373L
- 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
- 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 95/98/Me/NT/2000/XP/Vista
- Includes comprehensive support for ColdFire modules, including (where appropriate):
- Chip Selects
- DRAM/SDRAM controller
- Interrupt controller
- Pin assignments and GPIO
- System configuration and software watchdog timer
- Analog-to-Digital converter
- Digital Audio
- Ethernet (FEC)
- Ethernet Physical Transceiver (EPHY)
- Integrated Security Engine (SEC)
- LCD Controller
- PCI Bus
- Real Time Clock
- Serial Audio
- SmartMedia, MemoryStick and SecureDigital flash devices
- SSI Synchronous Serial Interface
- USB Host and USB On-the-Go (OTG)
- Includes pre-tested configurations for a variety of Freescale Evaluation Boards:
- Freescale M5213EVB
- Freescale M52223EVB
- Freescale M52235EVB
- Freescale M5235EVB
- Freescale M5249C3
- Freescale M5271EVB
- Freescale M5275EVB
- Freescale M5282EVB
- Freescale M5329EVB
- Freescale M5329EVB + SVGA TFT LCD panel
- Freescale M5475EVB
Best of all, thanks to a special agreement between
MicroAPL and Freescale Semiconductor (formerly Motorola SPS), 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