Hi,
As feedback I'd like to announce that I have tested OpenOCD trunk and
found that jlink works with my
at91sam9260-based board.

I was unable to halt board immediately. Allowing it to run for some
time works though:

openocd.cfg:

#daemon configuration
telnet_port 4444
gdb_port 3333

#interface
interface jlink
jtag_speed 4800
jtag_nsrst_delay 200
jtag_ntrst_delay 0

#reset_config trst_and_srst
reset_config trst_and_srst
#reset_config trst_only

#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe

#target configuration
daemon_startup reset

#target <type> <startup mode>
#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
target arm926ejs little run_and_init 0 arm926ejs
#target arm926ejs little reset_halt 0 arm926ejs
target_script 0 reset scri
#working_area 0 0x00300000 4096 backup

#flash configuration
#flash bank at91sam7 0 0 0 0 0
run_and_halt_time 0 30
arm7_9 force_hw_bkpts enable

[scri]

wait_halt
sleep 10
poll
... (board configuration skipped).

But for perfectionistic point of view, is there any ways to fix this?

Thanks a lot,
S.
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to