fail to verify 0x1801 on P89C669

Started by gado, April 21, 2005, 10:48:22 AM

Previous topic - Next topic

gado

Been working with the P89C669 for 5 weeks now, no problems with the device with flashmagic until today.  

At the end of an otherwise uneventful flash, the tool displays "Error verifying, there is a difference in the Hex file value and the stored value (Address 0x1801)"

My code memory space is 0x180C.  I can re-flash and run a smaller version with no "error verifying"

The 0x180C code that fails to verify, when run, runs badly (constant rebooter)

If Bank 0 has a bad memory location, can I flash and run out of Bank 1 instead?

Thanks for any help you can offer on this...

Andy Ayre

Are you performing a full device erase before programming the hex file? If not give that a try. Also are you using any features like fill unused flash, generate checksums or running a Just In Time module? All of those alter Flash memory beyond what is in the hex file.

If that doesn't help please create a debug file and email it to me along with the hex file. My email address is at the bottom of this post. To create a debug file:

Start Flash Magic
Press F1 so [Debug] appears at the top of the window
Attempt to program and verify the hex file so the error appears
Press F2 so [Debug] disappears from the top of the window

Embedded Systems Academy, Inc.
support at esacademy dot com

gado

Yes, we do a full device erase already.  We aren't using other features (fill flash, checksum, or JIT).

Placing the tool in 'debug' mode seems to have worked, the error goes away.

If we need to send a debug file, where is it located and what is the filename?

thanks...

Michael

Andy Ayre

It is located at C:\flashmagic.fmd

Embedded Systems Academy, Inc.
support at esacademy dot com

gado

Andy,

I logged a file in debug mode and sent it to you, hope it helps.

Michael