Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Debug JTAG - SCAN_N

2006-04-05 by krisgorn

Thanks!!

I have another problem with debugging.

My code works fine with ARM7TDMI (AT91SAM7, OKI ML67) except reading
RAM memory of LPC2000. Writing of RAM works fine on LPC2000.

When I run code:

Put in R0 Addr = 0xA0000000  (R0 writing OK)

NOP bit33=0
NOP bit33=1
LDMIA R0!, {R1-R8} bit33=0
RESTART
INTEST
NOP bit33=0

I've get:

R0: 0x40000060
R1-R8: 0XE1A00000

In R0 should be 0x40000020. It look like the LDMIA R0!, {R1-R8} is
three times executing.

When I run this code with AT91SAM7 I've get correct value of
R0: 0x00200020  and in R1-R8 values of RAM.

Regards

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.