Consider "flash banks 0". The output it produces is pretty hellish to parse from Tcl (or any language really) + if we make that output of that command part of the API, then changing it becomes very awkward.
Here is a thought on how to address this problem: 1. implement a low level fn that returns the information above in tcl-speak. This is the OpenOCD API. 2. write a small tcl proc that formats the low level fn info into a human readable form. This proc is part of the "Telnet GUI" and not the API. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
