On Wed, Jul 29, 2009 at 2:33 AM, Kevin Ames<[email protected]> wrote:
> Products Used:                 ARM-USB-OCD
> (http://www.olimex.com/dev/arm-usb-ocd.html)
>
> LPC-H2148 (http://www.olimex.com/dev/lpc-h2148.html)
>
> Further, I have also downloaded and set up the 0.2.0 release in hopes that
> this issue would be resolved, but similar circumstances still occur (i.e.
> changing memory addresses at the same location after multiple reads).  If
> anyone could assist in any way possible, it would be greatly appreciated as
> many hours have been spent attempting to remedy these issues, and hopefully
> help others who may be having similar issues as well.

I can not help you much. But I just tried similar test and I do not have issues.
Products Used: IAR J-Link V3
Olimex LPC-P2148
Flashed with OpenOCD using the lpcusb isochronous transfer example.

OpenOCD svn 2570 under Ubuntu 9.04.

mc...@ubuntu904:~$ telnet localhost 4444
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
> reset halt
JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (mfg: 0x787, part:
0xf1f0, ver: 0x4)
JTAG Tap/device matched
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
target state: halted
target halted in ARM state due to debug-request, current mode: System
cpsr: 0x2000005f pc: 0x00000864
> armv4_5 disassemble 0x00000000 16
0x00000000      0xe59ff018      LDR r15, [r15, #0x18]
0x00000004      0xe59ff018      LDR r15, [r15, #0x18]
0x00000008      0xe59ff018      LDR r15, [r15, #0x18]
0x0000000c      0xe59ff018      LDR r15, [r15, #0x18]
0x00000010      0xe59ff018      LDR r15, [r15, #0x18]
0x00000014      0xb9205f84      STMLTDB r0!, {r2, r7, r8, r9, r10, r11, r12, 
r14}
0x00000018      0xe51ffff0      LDR r15, [r15, #-0xff0]
0x0000001c      0xe59ff014      LDR r15, [r15, #0x14]
0x00000020      0x00000040      ANDEQ r0, r0, r0, ASR #0x20
0x00000024      0x000000e4      ANDEQ r0, r0, r4, ROR #0x1
0x00000028      0x000000e0      ANDEQ r0, r0, r0, ROR #0x1
0x0000002c      0x000000e4      ANDEQ r0, r0, r4, ROR #0x1
0x00000030      0x000000e4      ANDEQ r0, r0, r4, ROR #0x1
0x00000034      0x000000d8      LDREQD r0, [r0], -r8
0x00000038      0x000000dc      LDREQD r0, [r0], -r12
0x0000003c      0x00000000      ANDEQ r0, r0, r0
> mdh 0x00000000 8
0x00000000: f018 e59f f018 e59f f018 e59f f018 e59f
> mdh 0x00000000 8
0x00000000: f018 e59f f018 e59f f018 e59f f018 e59f
> mdh 0x00000000 8
0x00000000: f018 e59f f018 e59f f018 e59f f018 e59f
>
> exit
Connection closed by foreign host.
mc...@ubuntu904:~$ telnet localhost 4444
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
> init
> reset halt
JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (mfg: 0x787, part:
0xf1f0, ver: 0x4)
JTAG Tap/device matched
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
target state: halted
target halted in ARM state due to debug-request, current mode: System
cpsr: 0x8000005f pc: 0x00000880
> soft_reset_halt
requesting target halt and executing a soft reset
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x800000d3 pc: 0x00000000
> armv4_5 disassemble 0x00000000 16
0x00000000      0xe59ff018      LDR r15, [r15, #0x18]
0x00000004      0xe59ff018      LDR r15, [r15, #0x18]
0x00000008      0xe59ff018      LDR r15, [r15, #0x18]
0x0000000c      0xe59ff018      LDR r15, [r15, #0x18]
0x00000010      0xe59ff018      LDR r15, [r15, #0x18]
0x00000014      0xb9205f84      STMLTDB r0!, {r2, r7, r8, r9, r10, r11, r12, 
r14}
0x00000018      0xe51ffff0      LDR r15, [r15, #-0xff0]
0x0000001c      0xe59ff014      LDR r15, [r15, #0x14]
0x00000020      0x00000040      ANDEQ r0, r0, r0, ASR #0x20
0x00000024      0x000000e4      ANDEQ r0, r0, r4, ROR #0x1
0x00000028      0x000000e0      ANDEQ r0, r0, r0, ROR #0x1
0x0000002c      0x000000e4      ANDEQ r0, r0, r4, ROR #0x1
0x00000030      0x000000e4      ANDEQ r0, r0, r4, ROR #0x1
0x00000034      0x000000d8      LDREQD r0, [r0], -r8
0x00000038      0x000000dc      LDREQD r0, [r0], -r12
0x0000003c      0x00000000      ANDEQ r0, r0, r0
> mdh 0x00000000 8
0x00000000: f018 e59f f018 e59f f018 e59f f018 e59f
> mdh 0x00000000 8
0x00000000: f018 e59f f018 e59f f018 e59f f018 e59f
> mdh 0x00000000 8
0x00000000: f018 e59f f018 e59f f018 e59f f018 e59f
>

mc...@ubuntu904:~/Desktop/build/openocd/jlinkv3$ cat lpc-p2148.cfg
#
# Olimex LPC-P2148 eval board
#
# http://www.olimex.com/dev/lpc-p2148.html
#

source [find target/lpc2148.cfg]
source [find interface/jlink.cfg]

#----------- Daemon Configuration

telnet_port     4444
gdb_port        3333
tcl_port        6666


# Tell gdb that you can use us to program the device (requires GDB
>=6.7 and libexapt)
gdb_memory_map    enable
gdb_flash_program enable





-- 
Xiaofan http://mcuee.blogspot.com
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to