On 03/12/2010 17:24, David Brownell wrote:
--- On Fri, 12/3/10, Spencer Oliver<s...@spen-soft.co.uk> wrote:
On 02/12/2010 12:42, freddie_cho...@op.pl
wrote:
"Spencer Oliver"<s...@spen-soft.co.uk>
napisaĆ(a):
As we know the current behaviour of cortex_m3
reset_config is to
override the std 'reset_config' setting -
I've lost track of the discussion here, but this
sounds wrong.
The only time commands should care about "std"
(standard)/default settings is when restoring them.
Otherwise, they should work with *current* settings.
One bug that old versions of "rset_config" had was
that they'd mangle unrelated settings ... e.g. you
couldn't update SRST handling without trashing TRST
handling (or similar; now fixed.).
The two (?) reset implementation options on M3
parts should respect the same policy sanity: don't
muck with options that could/should be orthogonal,
and don't embed "knowledge" that may already be
wrong, and will likely become so before long as new
boards, silicon, and JTAG adapters roll out.
Sorry i am slightly confused this patch as such has nothing todo with
the standard reset_config.
- Dave
This does create an issue for all the
luminary scripts however.
They would need the 'reset_config srst_only'
removing and this would
break all the older scripts in the wild.
And this is an example o how I've lost the thread
here. Not all Stellaris boards have SRST, since
that JTAG command works on those M3 parts. Some
have it, but not TRST ...
So again, don't be
hard-wiring incorrect "facts" anywhere.
Again you need to explain - i am totally confused by your whole reply.
Cheers
Spen
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development