From: Paul F. <fer...@gm...> - 2015-04-20 20:59:42
|
On Mon, Apr 20, 2015 at 10:47:09PM +0200, Dominic Rath wrote: > Unfortunately with "srst_pulls_trst" I'm unable to use "reset init" or > "reset halt", and it looks like some parts of OpenOCD assume "reset > init" is available - I've seen a failed assertion when trying to flash > an executable from GDB, and it looks like the OpenOCD wanted to "reset > init" the target before flashing. Yes, default gdb-flash-erase-start target event hook calls reset-init but you can override it for testing purposes. Of course, the original issue should better be investigated and fixed, for that all the sensible debug logs should be gathered and analised. This reset area went through some sort of redesign lately because the previous handling was clearly contradicting the standard and hence not working with several targets (e.g. SAM4L and PSoC4). -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |