Can not Blank Check Flash

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

Can not Blank Check Flash

4,071 Views
Bet
Contributor I
I am stuck.  I can not flash load my board.  I can not Blank Check or Erase FLASH using CodeWarrior.  I am using CodeWarrior v6.3.  I am interfacing with a MCF5235.
 
When I Blank Check the Flash I get the following error message:
"Flash Programmer plugin failed to load the flash utility driver.  The magic number read from the target after the image was loaded is incorrect."
 
What does this message mean?  What is the magic number?
 
When I attempt Erase, I get the following message:
"Flash driver reports the following error(s): Timed Out. Chip reported Low VPP Error Status. Chip reported error during erase. Chip reported error during program. Device Protection Error."
What does this message mean?  Can anyone point me to a document referencing CodeWarrior Flash Programmer messages?
 
More background on these error messages will help me debug my board and lack of success flashing.
 
Thanks.
Labels (1)
0 Kudos
Reply
4 Replies

1,679 Views
Bet
Contributor I
I finally got my Code Warrior Flash Programmer configuration and FLASH algorithm straightened out.  Thanks.  I am able to erase, blank check, program and verify the external Flash on my MCF5235 EVB.  I have not been as successful with my board. 
 
When I erase the Flash Programmer tool hangs up on "Initializing...".  I [Cancel] to stop the process.  When I look at Flash, I have the same value 0xFCFFFFFF, repeated through the entire Flash memory device.  I did erase again.  It hung and [cancel] out.  This time the value 0xFFFFFFFF was repeated throughout Flash.
 
When I programmed the Flash, only the low WORD of the image was programmed into Flash.  The high WORD remained 0xFFFF.
 
It is a 32-bit wide Flash device.  The CS register is configured for 32 bit port size.  The address lines appear OK.  System address A2=Flash address A0, SA3=Flash A1, ...as so forth.  The MCF5235 control lines CS, R/W, and OE are hooked up to the Flash control lines CE, W, OE pins.  Am I missing something else in the configuration of the MCF5235 or the CW tool or do I have a hw problem?
0 Kudos
Reply

1,679 Views
tsi-chung_liew
NXP Employee
NXP Employee

Check your board configuration - dip switch. Also, the proper OSC componenet if it allows user to swap out with different frequency.

Regards,

TsiChung

0 Kudos
Reply

1,679 Views
CrasyCat
Specialist III
Hello
 
In order to program or Blank Check the flash in CodeWarrior for Coldfire, you need to load the appropriate Flash programmer configuration file in the Flash Programmer Target Configuration panel.
 
In order to be able to program the MCF5235 internal flash you need to load the file
      {Install}\bin\Plugins\Support\Flash_Programmer\ColdFire\M5235.xml there.
 
CrasyCat
0 Kudos
Reply

1,679 Views
GUNNM
Contributor I
Hi,

Try with CFFLASHER TOOL which is downloading in freescale tools.

cheers
0 Kudos
Reply