On Sun, Aug 8, 2010 at 8:41 PM, Anders Montonen <anders.monto...@iki.fi> wrote: > On Aug 8, 2010, at 9:14, Øyvind Harboe wrote: > >> Currently OpenOCD will ignore failure to poll the target. >> >> This can result in a situation where errors are being spewed out. >> >> I am considering making a change to OpenOCD where polling >> is automatically disabled when it fails. The user would then have >> to manually reenable polling. > > Isn't the problem the log spam rather than the polling, i.e. wouldn't >it be better to change the logging system not to print out the same >message say more than once per second?
How would the "logging system" know how to tell which messages are "spam"? What the patch does is to effectively place hints in the code that generates the "spam" how to deal with the "spam". I don't know of other "spam" sources so the code is only dealing with this in a single place. -- Ø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