Hm.... I think perhaps the "jtag -expected-id" needs rethinking.

The ID check should be in the target configuration script and not in
C.

The target script can accept multiple target id's and also output
sensible target specific error messages or do whatever else
is approperiate.

at91rm9200.cfg seems to be another case of where the
standard expected-id breaks down.

Thoughts?

How about adding a jtag tcl event to handle a discovered id?

-expected-id could create such a tcl event...


-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to