Attached is a patch sent by someone on the sparkfun forum.
http://forum.sparkfun.com/viewtopic.php?t=11262

It solves an issue when two targets of the same type are connected on the
jtag chain.

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

# the luminary variant causes a software reset rather than asserting SRST
# this stops the debug registers from being cleared
# this will be fixed in later revisions of silicon
target cortex_m3 little reset_halt 0 lm3s
target cortex_m3 little reset_halt 1 lm3s 

This is probably the simplest way of solving the problem.
Any objections to committing?

Cheers
Spen

Attachment: mult-target.patch
Description: Binary data

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

Reply via email to