I am unable to program flash on my board. This used to work, but CodeWarrior crashed a few days ago and since then I haven't been able to program flash. I am running CodeWarrior v6.4 build 4, target is MCF52230, connected via USB-TAP.
 
 
Flash erasure seems to work ok. I get this log:
 
======================================================================
=== Execute: Erase
=== Timestamp:  Thu Sep 20 12:44:41 2007
=== Flash Device:         CFM_MCF52230
=== Flash Organization:   4Kx32x1
=== Flash Mem Start Addr: 0x00000000
=== Flash Mem End Addr:   0x0001FFFF
======================================================================
Using Algorithm: CFM_MCFCOMMON.elf
 
Loading Flash Device Driver at: 0x20000000
Flash Driver Buffer is at:      0x20001FB0
Flash Driver Buffer Size is:    0x00006050
Done
Initialization Command Succeeded
Erasing entire flash ... Done
Erase Command Succeeded
Timestamp:  Thu Sep 20 12:44:44 2007
: No Error
 
BUT, when I try to program flash I get this log:
 
======================================================================
=== Execute: Program
=== Timestamp:  Thu Sep 20 14:52:47 2007
=== Flash Device:         CFM_MCF52230
=== Flash Organization:   4Kx32x1
=== Flash Mem Start Addr: 0x00000000
=== Flash Mem End Addr:   0x0001FFFF
======================================================================
Using Algorithm: CFM_MCFCOMMON.elf
 
Loading Flash Device Driver at: 0x20000000
Flash Driver Buffer is at:      0x20001FB0
Flash Driver Buffer Size is:    0x00006050
Done
Initialization Command Succeeded
Programming file C:\blah.elf
Programming 0x00002747 bytes of Target Memory at 0x00000000
Flash Programmer:  Flash driver reports the following error(s):  Operation Unsupported  Timed Out  Chip reported Low VPP Error Status  Chip reported error during erase  Chip reported error during program  Device Protection Error
Timestamp:  Thu Sep 20 14:52:50 2007
 
 
Please help!
How can I get flash programming working again?