On Mon, May 25, 2009 at 8:02 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> With the simple script, V1906 can talk to J-Link V6. It seems to
> work with your simple LED 1/2 blinking hex file. I tried both
> jlink_hw_jtag 2  or 3.
>
> More tests to follow.

But it still does not work with the lpcusb isoc hex file.

mc...@ubuntu904:~/Desktop/build/openocd/jlinkv6$ openocd -f myopenocd.cfg
Open On-Chip Debugger 0.2.0-in-development (2009-05-24-21:41) svn:1906


BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS


$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
RCLK - adaptive
Info : J-Link ARM V6 compiled Dec 03 2007 17:34:18
Info : JLink caps 0xf7fbf
Info : JLink hw version 60000
Info : JLink max mem block 9992
Info : Vref = 3.248 TCK = 1 TDI = 0 TDO = 0 TMS = 0 SRST = 1 TRST = 1

Info : J-Link JTAG Interface ready
Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f
(Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info : JTAG Tap/device matched
Warn : DBGACK set while target was in unknown state. Reset or initialize target.
target state: halted
target halted in ARM state due to breakpoint, current mode: System
cpsr: 0x800000df pc: 0x00000140
Info : accepting 'telnet' connection from 0
target state: halted
target halted in ARM state due to breakpoint, current mode: System
cpsr: 0x800000df pc: 0x00000140
Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f
(Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info : JTAG Tap/device matched
target state: running
target state: halted
target halted in ARM state due to debug-request, current mode: System
cpsr: 0x800000df pc: 0x00000128
Warn : Verification will fail since checksum in image(0xe1a00000)
written to flash was different from calculated vector
checksum(0xb9205f84).
Warn : To remove this warning modify build tools on developer PC to
inject correct LPC vector checksum.
wrote 8036 byte from file isoc_io_sample.hex in 2.891050s (2.714466 kb/s)
Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f
(Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info : JTAG Tap/device matched
target state: running
target state: halted
target halted in ARM state due to debug-request, current mode: Abort
cpsr: 0x400000d7 pc: 0x0000014c
Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f
(Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info : JTAG Tap/device matched
^C

mc...@ubuntu904:~/Desktop/build/openocd/jlinkv6$ telnet localhost 4444
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
> halt
> poll
target state: halted
target halted in ARM state due to breakpoint, current mode: System
cpsr: 0x800000df pc: 0x00000140
> reset
JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (Manufacturer:
0x787, Part: 0xf1f0, Version: 0x4)
JTAG Tap/device matched
> poll
target state: running
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: System
cpsr: 0x800000df pc: 0x00000128
> jlink_hw_jtag 3
> flash write_image isoc_io_sample.hex 0x0
Verification will fail since checksum in image(0xe1a00000) written to
flash was different from calculated vector checksum(0xb9205f84).
To remove this warning modify build tools on developer PC to inject
correct LPC vector checksum.
wrote 8036 byte from file isoc_io_sample.hex in 2.891050s (2.714466 kb/s)
> reset
JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (Manufacturer:
0x787, Part: 0xf1f0, Version: 0x4)
JTAG Tap/device matched
> init
> poll
target state: running
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Abort
cpsr: 0x400000d7 pc: 0x0000014c
> reset
JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (Manufacturer:
0x787, Part: 0xf1f0, Version: 0x4)
JTAG Tap/device matched
> Connection closed by foreign host.


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

Reply via email to