Jesus Ortiz

MC9S08DZ60 - Error message: Writing operation was unsuccessful. Either the device is defective or not blank

Discussion created by Jesus Ortiz on Apr 20, 2007
Latest reply on Oct 27, 2009 by Tyler Nitsch
Hello,

I'm working with the MC9S08DZ60 microcontroller and its evaluation board EVB9S08DZ60. I have installed CodeWarrior IDE version 5.7.0 (Special Edition) and working with it.

I attach a zip file wich contents 2 CodeWarrior projects:

* PROGRAM_CORRECT: I make (compile and link), debug and load this project into the microcontroller and it works perfectly.

* PROGRAM_FAIL: I make the project (compile and link) and it works, but when I'm going to debug and load it into the microcontroller, the following message appears in the debugger window:

"Program error:
Writing operation was unsuccessful. Either the device is defective or not blank".

The only difference between this 2 projects is that I have added the function "
void programa_OL1_UHF(void)" to the project "PROGRAM_FAIL". All the code is exactly the same in the 2 projects except that function.

Can you help me, please?? I don't know why this error message could be appearing.

Thanks

Message Edited by Alban on 2007-04-20 05:53 PM

 

PROGRAMS.zip

Message Edited by t.dowe on 2009-10-27 12:29 PM

Outcomes