Hello, On Tue, Dec 08, 2015 at 06:02:44PM +0100, Uwe Bonnes wrote: > Error: auto_probe failed > Error: Connect failed. Consider setting up a gdb-attach event for the \ > target to prepare target for GDB connect, or use \ > 'gdb_memory_map disable'. > Error: attempted 'gdb' connection rejected > > Is it possible to delay "auto-probe" after attaching to the target and > gaining access with e.g. "mon reset_config none; mon reset halt"?
The problem here is that OpenOCD should play safe by default and that means that attaching with gdb shouldn't affect a running target. If a conscious desicion is made by a user, it's just a matter of adding "$_TARGETNAME configure -event gdb-attach halt" to the config. GDB needs to receive the memory map upon connection so delaying this is not possible unless GDB changes its protocol. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected] ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
