MCF5212 - Problem writing flash via EZPort

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

MCF5212 - Problem writing flash via EZPort

1,787件の閲覧回数
jim_wygralak
Contributor I
I am attempting to develop a system for programming the ColdFire flash via the EZPort.
The problem I've run into is that if the ColdFire doesn't already have a runable image in flash, I can not
write to it, or erase it.

If I program it via the BDM port, I can then read, erase, and write the upper unused blocks using the EZPort,
all I want. As soon as I erase the low blocks that contain the programmed image, I lose the ability to further
write or erase any of the flash memory. I can still read from it, however.

I don't understand why erasing flash should prevent me from programming it further. This also prevents me
from using EZPort to program fresh chips.

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

772件の閲覧回数
jim_wygralak
Contributor I
I've done some further trials to narrow down my problem.

It turns out that if I erase sector zero and then reset the ColdFire, I lose the ability to further write to flash
via the EZPort interface.

If I erase and then re-program the flash without resetting in between, everything is OK. I can still write
to flash.


0 件の賞賛
返信

772件の閲覧回数
Jetoleg
Contributor II

Hello,

I am facing similar problems with writing to the chip after erase cycle.

Following your advice I perform PP right after BE command without living EzPort mode. It helped, I have no Write Error flag anymore. But I still has no data retention, FLASH stays blank. Have you had similar problem?

0 件の賞賛
返信