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

Help!! Cant JTAG ADuC7022

Help

I cant JTAG an ADuC7022BCPZ62, (silicon rev H and I)

When trying to JTAG the ADUC7022, I keep getting an error message that
says " Memory Missmatch!
Address 0x0080000
Value = 0xFF
Expected = 0x18

Tool set:
Keil uVision3
Keil ULINK

All JTAG lines including TDO show clock/data changes so I think the hardware is alive and working. TRST is high.

I have no problem JTAGing a development board with an ADuC7020.

Thanks,
Mike

  • Have you looked at the memory contents at 0x80000?

    Keil's debugger has the option to verify the memory contents prior to debugging. The error is telling you that when it tried to verify the memory at 0x80000, it read 0xFF when it expected to read 0x18. This usually happens when you forget to download the updated software prior to beginning debugging.

    To verify for yourself the memory contents at 0x80000, go to the memory window any type 0x80000 in the address box then press enter. Now right-click in the memory window and select unsigned->char. According to the debugger the value you should see at 0x80000 is 0xFF.

  • FEEMOD.3 must be set on ADuC702x series of devices from Rev H onwards to enable write\erase operations on these parts. This was not the case on previous silicon revisions.

    The Keil tools were upgraded for this change a while back. It may be that you have an older version.

    The source for the flash programming routines is included in the Keil installation. You should be able to check if FEEMOD.3 is being set in your version.

  • Thanks for the responses. I downloaded the latest Keil uVision version but still no luck.

    When I try to download to flash memory I get the following pop-up error messages:

    Error: ADuC702X.FLX
    Cant load flash programming algorithm

    Error: Flash download failed - ARM7TDMI