Does flash programmer work on MCF52223?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Does flash programmer work on MCF52223?

跳至解决方案
1,825 次查看
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?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
969 次查看
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 项奖励
回复
2 回复数
970 次查看
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 项奖励
回复
969 次查看
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 项奖励
回复