EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Keil JTAG with Embedded Artists board

Started by Sutton Mehaffey May 3, 2006
Anyone out there running the combo of Keil's compiler and JTAG with
Embedded Artists 2148 board and prototype board? I can and have been
using Philips Flash Utility to download code to the EA boards and it
works perfectly.

However, now that I am trying to debug software, I can't seem to be
able to debug using Keil's JTAG. Is there a compatibility problem? I
get 'Memory Mismatch' Errors just about every time I go into Debug
Mode. I'm using the Keil Eval Kit Version 2.40a with uVison 3.21. In
this instance, I'm simply trying to 'debug' the Keil sample program
'Blinky' to get a feel for the debugging process.

Here's an example Error from the loading process of Blinky.hex:

At 53% loading, the message 'Memory Mismatch', Address 0x00000118,
Value = 0x03, Expected = 0x01. Also in the compile line, there is a
error 125: AGDI: memory write failed (0x00000118).

Is there something I'm missing on the setup?

Sutton

An Engineer's Guide to the LPC2100 Series

Hi Sutton,
Please check with Keil. They have published a patch for their JTAG
interface - it has to do with the reset signal.
I do not know if this is the problem in your case, but you should
definitively have the patch.
Another thing to try is to decrease the JTAG clock frequency.

Best Regards,
Anders Rosvall
Embedded Artists AB

--- In l..., "Sutton Mehaffey" wrote:
>
> Anyone out there running the combo of Keil's compiler and JTAG with
> Embedded Artists 2148 board and prototype board? I can and have
been
> using Philips Flash Utility to download code to the EA boards and
it
> works perfectly.
>
> However, now that I am trying to debug software, I can't seem to be
> able to debug using Keil's JTAG. Is there a compatibility
problem? I
> get 'Memory Mismatch' Errors just about every time I go into Debug
> Mode. I'm using the Keil Eval Kit Version 2.40a with uVison
3.21. In
> this instance, I'm simply trying to 'debug' the Keil sample program
> 'Blinky' to get a feel for the debugging process.
>
> Here's an example Error from the loading process of Blinky.hex:
>
> At 53% loading, the message 'Memory Mismatch', Address 0x00000118,
> Value = 0x03, Expected = 0x01. Also in the compile line, there is
a
> error 125: AGDI: memory write failed (0x00000118).
>
> Is there something I'm missing on the setup?
>
> Sutton
>

Memfault Beyond the Launch