Wygralak Jim

MCF5212 - Problem writing flash via EZPort

Discussion created by Wygralak Jim on Jan 28, 2008
Latest reply on Jul 7, 2010 by OLEG KARPENKO
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.

Outcomes