MCF5212 - Problem writing flash via EZPort

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

MCF5212 - Problem writing flash via EZPort

1,352 Views
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.

Labels (1)
0 Kudos
2 Replies

337 Views
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 Kudos

337 Views
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 Kudos