Now that MQX is available, I wonder if there will be any new releases of the Coldfire Lite operating system.
Just curious because I made some suggestions to Freescale about modifications that definitely make it more stable, and of which I'm sure other Coldfire Lite users will benefit from...
Hello JWW,
The patches I applied are the result of using CF Lite for over a year in my application. I started with version 2, then 3.0 and now 3.2. During that time I have encountered a number of issues, some of which made my application lock up. I have investigated these issues and found some fixes. My application is rock stable now, running for several weeks without problems.
My patches are applied to the current version 3.2 release of Coldfire Lite. As requested by J2MEJediMaster I have submitted a service request with a complete description of the modifications, including full source code. I haven't heard anything about this service request since I submitted it though.
This is a description of the changes I applied:
CPU dependant:
- board reset when ethernet cable disconnected (5223x)
- network not functioning (M52259DEMO board)
- not able to link 52259 iflash project with Codewarrior Special Edition
Not CPU dependant:
- lockup when connecting to a server that does not respond
- lockup when resolving a non existing URL via DNS (In this case, DNS returns a false IP address instead of signalling an error. When this address is used by TCP, TCP locks up)
- automatic restart of DHCP client when network cable reconnected
- automatic restart of DHCP client when DHCP not in bound state
- some cticks timer wrap around fixes
- TCP/IP stack port number range usage
I also made some other small modifications to the source code that do not change functionality directly but improve readability of the code. (using register names instead of numbers)
All differences can be found back in the files using the Codewarrior Search -> Compare files function, and then compare the original Freescale version against the patched version.
I have added a zip file with the patched version of coldfire lite 3.2 to this message. The folder "runtime loaded web pages" has been removed from the zip file though, as it causes problems during extraction (path too long).
There is a more detailed list of the applied modifications in the zip file. The easiest way to find the differences is to use a file comparator like the one in Codewarrior.
If you have any questions, I'll be glad to answer.
- Marc
ColdFire_Lite_3.2_patched_Marc_VDH_20090507.zip