David Hearn

"Device Protection Error" when flashing MCF5475EVB boot flash

Discussion created by David Hearn on Oct 6, 2006
Latest reply on Sep 14, 2009 by Paolo Alcantara Cadillo
I'm using CodeWarrior 6.3 Special Edition and have used the stationary to create a basic application for the MCF5475EVB. I've selected the M5475 ROM target and built it successfully. In the flash programmer tool, I've loaded the config for this board, verified that the settings appear correct, and then tried clicking Program. The process starts and I see the following messages:

Performing target initialisation
Downloading flash device driver
Downloading xxx bytes (more flashes up quickly)
Error: Program failed. See Details for additional information.

Clicking on details gives:
"Flash Programmer: Flash driver reports the following error(s): Device Protection Error"

I know that when using the PEMicro PROGCFZ tool, I have to select the "Clear all locks" option before I can erase or flash the device - however, I can successfully erase the flash in CodeWarrior, yet I cannot flash it.

Can anyone provide any advice?