Why not allow the tcl config script to implement this? If you define the interface correctly, then this *should* be possible to implement, entirely, inside the target config script. Otherwise, you have not left enough control for the target script. I'm using a circular definition there, but hopefully it's clear enough...
Any scheme you implement in C is bound to run into trouble with the first odd shaped CPU out there.... -- Ø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