Forums

RDI-JTAG Error with LPC2103

Started by johan_tr2000 January 8, 2007
Hi,
I build the simple board with LPC2103 to start learning LPC21xx.
I have success to access the serial bootloader and software download
with it. Next step I build the RDI-JTAG (Wiggler type), and use H-JTAG
dll with Keil Software.

The Wiggler-JTAG seems to work OK, since I have success to Flash it
with H-FLASHER, the H-JTAG also recognized my LPC2103. The problem
come when I try the H-JTAG.DLL with Keil for debuging. It is always
have an error with message "RDI Error -Data Abort" and "RDI : System-
Reset is not Supported".

Is there some setting on Keil or H-JTAG that I have miss? Please Help

Thanks

TR2000

An Engineer's Guide to the LPC2100 Series

I Have this problem same you. i can work Wiggler + H-Jtag + Keil old
version < v3.0.
but keil new version not work
On 1/9/07, johan_tr2000 wrote:
>
> Hi,
> I build the simple board with LPC2103 to start learning LPC21xx.
> I have success to access the serial bootloader and software download
> with it. Next step I build the RDI-JTAG (Wiggler type), and use H-JTAG
> dll with Keil Software.
>
> The Wiggler-JTAG seems to work OK, since I have success to Flash it
> with H-FLASHER, the H-JTAG also recognized my LPC2103. The problem
> come when I try the H-JTAG.DLL with Keil for debuging. It is always
> have an error with message "RDI Error -Data Abort" and "RDI : System-
> Reset is not Supported".
>
> Is there some setting on Keil or H-JTAG that I have miss? Please Help
>
> Thanks
>
> TR2000
>

--
N-Link ARM JTAG & ARM7 Boards
--------------
http://www.micro4you.com
http://stores.ebay.com/Micro4you-Store
> The Wiggler-JTAG seems to work OK, since I have success to Flash it
> with H-FLASHER, the H-JTAG also recognized my LPC2103. The problem
> come when I try the H-JTAG.DLL with Keil for debuging. It is always
> have an error with message "RDI Error -Data Abort" and "RDI : System-
> Reset is not Supported".

Simply ignore message "System-Reset is not Supported". I worked Keil
eval +H-JTAG on Olimex LPC-H2214 and SAM7-P64. I see not "Data Abort"
message.
Dear agreat22

please test with keil realview new version : http://keil-compiler.de/beta/

and response the result

thank you
On 1/9/07, agreat22 wrote:
>
> > The Wiggler-JTAG seems to work OK, since I have success to Flash it
> > with H-FLASHER, the H-JTAG also recognized my LPC2103. The problem
> > come when I try the H-JTAG.DLL with Keil for debuging. It is always
> > have an error with message "RDI Error -Data Abort" and "RDI : System-
> > Reset is not Supported".
>
> Simply ignore message "System-Reset is not Supported". I worked Keil
> eval +H-JTAG on Olimex LPC-H2214 and SAM7-P64. I see not "Data Abort"
> message.
>

--
N-Link ARM JTAG & ARM7 Boards
--------------
http://www.micro4you.com
http://stores.ebay.com/Micro4you-Store
> please test with keil realview new version :
> and response the result

Yesterday, I test Keil 3.03s with H-JTAG 0.4.2 and homebrew Wiggler. I
test "Blinky" from Olimex and modified "LPC2129 Example" from FreeRTOS
on my LPC-H2214 board. Works well, but there is some problem with
starting and downloading programs. Seems to H-JTAG skip some beginning
of program (long init?) and "main()" breakpoint is do not work. But
breakpoint in main cycle is work. H-JTAG need to be configured with
"auto reset", else there is not resetting in begin of debugging. Also
"2 breaks rule" is not very useful :( in single-stepping. But with 1
break single-stepping is working.

And downloading by uVision loader do not work :(
--- In l..., "agreat22" wrote:
>
> > please test with keil realview new version :
> > and response the result
>
> Yesterday, I test Keil 3.03s with H-JTAG 0.4.2 and homebrew Wiggler. I
> test "Blinky" from Olimex and modified "LPC2129 Example" from FreeRTOS
> on my LPC-H2214 board. Works well, but there is some problem with
> starting and downloading programs. Seems to H-JTAG skip some beginning
> of program (long init?) and "main()" breakpoint is do not work.

NO debugger can show you the startup of an LPC chip because NXP does
not allow debug access until after it's boot loader is finished. That
means that it will be a bit tricky in trying to set a breakpoint
during the chip startup.

> But
> breakpoint in main cycle is work.

That is where you need to start debugging unless you use a very long
delay loop before you start your init code.

H-JTAG need to be configured with
> "auto reset", else there is not resetting in begin of debugging.

And you can not start debugging immediately after a reset with an LPC
part. You can use the debugger to put the program counter at the reset
vector and start your debug flow from there, but your part will not
really be in the normal reset condition at that point in time since it
has already run for thousands of cycles.
> Also
> "2 breaks rule" is not very useful :(

That is the EmbeddedICE macrocell, which has two match registers.

> in single-stepping. But with 1
> break single-stepping is working.
>
> And downloading by uVision loader do not work :(
>
--- In l..., "agreat22" wrote:
>
> > The Wiggler-JTAG seems to work OK, since I have success to Flash
it
> > with H-FLASHER, the H-JTAG also recognized my LPC2103. The problem
> > come when I try the H-JTAG.DLL with Keil for debuging. It is
always
> > have an error with message "RDI Error -Data Abort" and "RDI :
System-
> > Reset is not Supported".
>
> Simply ignore message "System-Reset is not Supported". I worked Keil
> eval +H-JTAG on Olimex LPC-H2214 and SAM7-P64. I see not "Data Abort"
> message.
>
I can not ignore it, becouse the debuging process is STOP imidiately.
> > Simply ignore message "System-Reset is not Supported". I worked Keil
> > eval +H-JTAG on Olimex LPC-H2214 and SAM7-P64. I see not "Data Abort"
> > message.
> >
> I can not ignore it, becouse the debuging process is STOP imidiately.
>
I can not help anymore :(