CW (v6.3, Build 14) Flash Programming tool not working with MCF5235

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CW (v6.3, Build 14) Flash Programming tool not working with MCF5235

3,010件の閲覧回数
Bet
Contributor I

My target board uses the MCF5235. I am using the Code Warrior (v6.3, build 14) Flash Programmer tool.

I am still having problems with the CodeWarrior Flash Programmer tool with my target board. I was able to program the Flash once.  I am unable to repeat the Flash Programming success I had.  I am able to program a MCF5235 Eval Board, without any issues, with the CW Flash Programmer tool.

My target board Flash is one device, a Fujitsu MBM29PL3200BE, operating in DOUBLE WORD mode (32-bit data port). It currently has firmware resident, starting at system address 0xffe00000. This firmware in the Flash is the one success I had programming the Flash.

In CW, when I do a [Blank Check] I get the following error messages:

a) In the Status text box: "Error: Blank Check failed. See Details for additional information."

b) The [Details] dialog states: "Flash Programmer: Flash Programmer plugin failed to load the flash utility driver. The magic number read from the target memory after the image was loaded is incorrect."

In CW, when I do an [Erase] I get the following error messages:

a) In the Status text box: "Error: The Get Flash Device ID Command failed. See Details for additional information."

b) The [Details] dialog states: "Flash Programmer: Flash driver reports the following error(s): Chip reported error during erase"

In CW, when I do a [Verify] I get the following messages:

a) In the Status text box: "Verify Command Succeeded".

b) The [Details] dialog states: ": No Error".

This command works. The contents of my Flash device does match my *.s19 file.  It would seem then there is not an issue with the CW tool interfacing with my target board.  It was able to read the contents of my Flash device.

In CW, when I do a [Program] I get the following messages:

a) In the Status text box: "Error: The Get Flash Device ID Command failed. See Details for additional information."

b) The [Details] dialog states: "Flash Programmer: Flash driver reports the following error(s): Chip reported error during erase"

This is the same error messages when I attempt an Erase.

If needed, I've attached a copy of the [Show Log] contents for each action attempted.

I've been through the memory configuration files (*.mem) and the debug initialization files (*.cfg) multiple times. The differences between my files for my target board and the files the eval board uses correlate to the differences in memory configurations (base address, size, port size) between the boards.  I even tried using the MCF523xEVB_PnE.cfg file installed with CW, where the only item I modified was the Flash chip select registers to correlate with my target board's Flash memory configuration.

I am at wits end with this problem. My only choice at this point is to abandon the CodeWarrior tool and find another Flash programming tool.

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

518件の閲覧回数
CrasyCat
Specialist III
Hello
 
The flash programming tool delivered with CodeWarrior for Coldfire are tested mainly on evaluation board.
The delivered configuration may not match your own hardware setup.
 
I would recommend you to upgrade to CodeWarrior for Coldfire V6.4.
 
This version is delivered with a Flash toolkit, which allows you to extend the flash programmer to match your own configuration.
 
The tool kit is available in {Install}\E68K_Tools\FlashToolKit and consist in a couple of PDFs and all you need to extend the flash programmer.
 
I hope this helps.
 
CrasyCat
0 件の賞賛
返信