This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Flash programing error

Hi,
Can anybody help me?
I have just designed my board with XC164CS microcontroller and when I program the flash memory through JTAG I get the following error:

Erasing...

Erase Done.

Programming Done.

Contents mismatch at: C00022H  (Flash=9BH  Required=08H) !


What might be the error?
If you need information of my design (hardware, software, etc) I will let you know.
Thank you.

Parents
  • What it mean - exactly what it says, i.e. a memory mismatch.

    But, the question is why.

    Have you based your design on a reference design?

    Does the reference design have this problem?

    When using JTAG interface, you normally program flash memory by downloading a little help application that performs the job - is your programming algorithm suitable for your flash memory?

    What actions have you taken to verify that your design is correct?

    What actions have you taken to verify that your prototype is correct?

    Have you verifeid all timing?

    Have you verified all supply voltages?

Reply
  • What it mean - exactly what it says, i.e. a memory mismatch.

    But, the question is why.

    Have you based your design on a reference design?

    Does the reference design have this problem?

    When using JTAG interface, you normally program flash memory by downloading a little help application that performs the job - is your programming algorithm suitable for your flash memory?

    What actions have you taken to verify that your design is correct?

    What actions have you taken to verify that your prototype is correct?

    Have you verifeid all timing?

    Have you verified all supply voltages?

Children
No data