JTAG Download Errors
2004-06-23 by Chris Graham
I'm programming an lcp2106 with the IAR tools and J-Link, and program was dieing. As a check I turned on JLink's ability to verify a flash download by reading it back and comparing. The verification fails with a series of errors like this: Target inconsistency detected at memory address 0x000000F9 Target inconsistency detected at memory address 0x00000024 Target inconsistency detected at memory address 0x00000028 Target inconsistency detected at memory address 0x000000FC Target inconsistency detected at memory address 0x00000101 Target inconsistency detected at memory address 0x00000104 Target inconsistency detected at memory address 0x0000012C Target inconsistency detected at memory address 0x00000110 Target inconsistency detected at memory address 0x00000020 Target inconsistency detected at memory address 0x00000070 Target inconsistency detected at memory address 0x000000A8 Target inconsistency detected at memory address 0x000000D4 Target inconsistency detected at memory address 0x00000121 These are always in the same place in memory. I lowered the JTAG speed to minimum, and this did not help, and the errors stayed exactly the same. I also switched between ARM the THUMB mode and they stayed the same. It's a new chip, and other big programs that I've downloaded with Philips downloader run fine. I don't have another chip handy to do a comparison. Is this likely to be faulty flash memory? How often does this happen in new chips? Could it be a power supply problem? (although the voltages seem correct) Thanks for any advice you can offer. - Chris Graham