duane>Today, OpenOCD assumes there is always a target. Perhaps it needs 
a "target none"? for that situation.

rick> I would assume that not having a 'target create' line in a config 
would be sufficient to indicate no targets. 

I prefer *EXPLICIT* indication of no target, thus if one finds "target 
none" - one can spit out errors if one accidentally to creates a target.

Rational: 
    Human Factors - noobs are often confused.

rick> For future use, I could even see allowing multiple interfaces to 
be defined at one time.

I could to - but - that is the 0.01% problem.  For many - 99.99% of the 
time people are talking to one interface.

If they are talking to 2 interfaces - it is not unreasonable to request 
they start 2 instances of openocd.

There is a higher chance of somebody having 2 CPUs on a single JTAG 
chain (this exists now - ie: BeagleBoard OMAP has  DSP + the ARM)
Although to day - openocd does not support the dsp debug stuff.

-Duane.


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

Reply via email to