Hi,

On Wed, Jul 09, 2014 at 01:08:21AM +0200, Andreas Fritiofson wrote:
> The above initializes nTRST to Hi-Z and with the mentioned change, they will 
> not
> get touched unless reset_config includes them.

And I guess that's the right thing to do.

> Can you check
> 1) That you have sufficient pull-up on the nTRST line? (check visually, 
> measure
> nTRST voltage after openocd start).

Yes, and if you have nTRST actually connected you should just include
it in the reset_config if you count on it to provide the stable level,
that will work regardless of the pull-up. And if you prefer to not
connect an extra wire, then you need to have the pull-up on the nTRST
line either on the target board or inside the SoC (as e.g. stm32's
have).

> 2) If "reset_config srst_and_trst separate srst_gates_jtag srst_open_drain
> connect_deassert_srst" makes any difference.
> 3) If "reset_config srst_and_trst separate srst_gates_jtag srst_open_drain
> trst_push_pull connect_deassert_srst" makes any difference.

I think both are the same and are default + srst_and_trst, so
basically the test would be to change srst_only to srst_and_trst in
the config.

HTH
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to