Does flash programmer work on MCF52223?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does flash programmer work on MCF52223?

Jump to solution
1,174 Views
jonathang
Contributor II

Has anyone out there ever gotten the CodeWarrior Flash Programmer tool to work on the internal flash in the MCF52223?  I'm using the CW special edition 7.2 at the moment, but have never gotten the flash programmer to work.  I've tried lots of different configuration tricks, but the RAM download always fails.  I have no problem downloading code into RAM through the normal Project/Run function, and I can read and write memory freely for debugging.

 

I've been using CFFlasher to burn flash, and it works, but it takes an annoying lot of mouse-clicks each time.  CFFlasher seems to have a partly-implemented command line mode that doesn't work.  It would be great if someone would finish that, or release the source code to the user community so that we could get it working.

 

What I'd really like to do is use the CodeWarrior Flash Programmer and then write a script to automate the erase/program cycle so I could get something close to a one-click solution. 

 

This single issue makes CodeWarrior very cumbersome to use with MCF52223 when code sizes exceed what can be debugged in RAM.  I keep feeling like I must be missing something.  Looking through the forums has not enlightened me.  What's the scoop on this?

Labels (1)
0 Kudos
1 Solution
318 Views
jonathang
Contributor II

I seem to have solved my problem.  It was caused by the fact that CodeWarrior uses an old version of the file unit_cfz.dll (from July 23, 2007).  The CFFlasher program uses a slightly different version (March 4, 2007), and some P&E Micro tools install a much newer version (November 11, 2009).

 

The issue is discussed on pemicro's forums here.  Following the directions at http://www.pemicro.com/faqs/faq_view.cfm?id=103 fixed it. 

 

I made sure that only the 2009 version of unit_cfz.dll was in the CodeWarrior, CFFlasher, and windows/system32 directories.  My problems with the flash burner disappeared.

View solution in original post

0 Kudos
2 Replies
319 Views
jonathang
Contributor II

I seem to have solved my problem.  It was caused by the fact that CodeWarrior uses an old version of the file unit_cfz.dll (from July 23, 2007).  The CFFlasher program uses a slightly different version (March 4, 2007), and some P&E Micro tools install a much newer version (November 11, 2009).

 

The issue is discussed on pemicro's forums here.  Following the directions at http://www.pemicro.com/faqs/faq_view.cfm?id=103 fixed it. 

 

I made sure that only the 2009 version of unit_cfz.dll was in the CodeWarrior, CFFlasher, and windows/system32 directories.  My problems with the flash burner disappeared.

0 Kudos
318 Views
J2MEJediMaster
Specialist I

Try searching for "MCF52223" and "flash" in the search function at the upper right of this web page. You'll get a number of hits, and one of them might have an answer to your problem.

 

---Tom

 

0 Kudos