Look up the power_dropout fn in openocd. Interfaces can implement support for detecting and reporting power dropouts.
If the interface has the capability of reading the power at a moment in time(polling), then this is somewhat less useful as OpenOCD can not spend all it's time polling the power status to detect dropouts. Ditto for srst_asserted interface fn. The OpenOCD model is currently just to report this as a LOG_USER() and not do anything else clever about it. To do anything clever upon these events would require the error propagation handling in OpenOCD to be seriously robust, which it wasn't and it is not quite there yet I think. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development