Hi Christopher,
On 10.03.2018 19:40, Christopher Head wrote:
One option is I could submit a patch that moves the CR and SR accesses
in the non-algorithm-based code.
Please do.
However, there is a risk that it might possibly cause WAITs where there
weren’t any before if someone was already using the non-algorithm-based
mechanism but at a very high clock rate that is too fast for the
underlying Flash array. This seems like a bit of an obscure case
though?
I wouldn't call this case as an obscure one. The reason could be
insufficient device clock rate,
not very high adapter_khz. Anyway all these cases could be solved by
configuring
the device properly.
One more concern: If programming by algo is usable on SWD only, JTAG
users should
set WORKAREASIZE to zero. But algos are used for verify, blank check and
external memories as well.
This may impose a big penalty...
If I submit this patch, barring
implementation issues, is it likely to be accepted, or would you reject
it due to this risk? I would prefer not to submit a patch if the whole
approach will be rejected anyway.
I assume you have the code ready so submitting a patch is not lot of work.
At least others may test your code...
Tom
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel