Improved Coldfire Lite V3.2
Updated for Codewarrior 7.2!


During the time I have been using Coldfire Lite in my iMetaf project, I have encountered a number of issues that frequently caused lockups in the application. I managed to fix these issues and made the fixed version of Coldfire Lite available here, so other users can benefit also.

I sent the modifications to Freescale to make them official, but they seem uninterested...

There are a couple of functional enhancements too. For a full list of changes see below.

To find the changes in the code, use the "Compare files" function in Codewarrior (Search → Compare files). Under "Source", choose the root path of the ORIGINAL version of Coldfire Lite V3.2. Under "Destination", select the PATCHED version. Now click "Compare". A window will appear containing a list of files that differ between source and destination. Double-click the files to view the differences in the source code.

Download :

Original version, compile with stack parameter passing (STD_ABI), only works when compiled with Codewarrior for Coldfire Processors versions 7.0.x and 7.1.x
Version modified to use register parameter passing, intended to be compiled with Codewarrior for Coldfire Processors versions 7.2.x, but can also be compiled with older versions when the project settings are set to register parameter passing (REG_ABI), and REG_ABI versions of the libraries are used where applicable.
Important note:
Coldfire Lite V3.2 with register parameter passing works fine when compiled with Codewarrior 7.2, but in my project I have experienced problems when using the TCP protocol when setting the compiler optimisation level >1. At levels 0 or 1 everything worked as expected. This problem did not occur when the exact same application was compiled with Codewarrior 7.1.2 (compiled with REG_ABI setting) at any optimisation level, so I suspect a problem with code optimisation in CW7.2 must be the cause.
Update 2010.06.19: the Codewarrior 7.2.1 patch did not fix this problem.




LIST OF CHANGES MADE BY MARC VANDENHENDE, 2010-05-08

mii.h

MCF52259_sysinit.c



LIST OF CHANGES MADE BY MARC VANDENHENDE, 2010-02-15

*.lcf

mcf5xxx_lo.s
cksum.s
tk_util.s



LIST OF CHANGES MADE BY MARC VANDENHENDE, 2009-10-12

MCF52235_sysinit.c

MCF52259_sysinit.c

MCF52259_RTC.h

stdlib.c



LIST OF CHANGES MADE BY MARC VANDENHENDE, 2009-05-07

MCF52235_sysinit.c

MCF52259_evb_iflash.lcf

MCF52259_sysinit.c

timeouts.c
    1. Link returns after being disconnected
    2. DHCP status not in the BOUND state for more than a minute

m_udp.c

dhcsetup.c

MENULIB.C

RESHOST.C

TCPAPI.C

TCPUTIL.C

DHCPCLNT.C

DNSCLNT.C



Back to main page


Page updated 2010.06.19