tinyriscv-openocd/contrib
Tomas Vanek 56090a4d4a target armv7m: multi-block erase check
Tested on PSoC6 (Cortex-M0+ core), onboard KitProg2 in CMSIS-DAP mode,
adapter_khz=1000.
Plain read:
	flash read_bank 0 /dev/null
takes 48 seconds.

erase_check without this change:
	flash erase_check 0
takes horrible 149 seconds!!

And the same command with the change applied takes 1.8 seconds.
Quite a difference.

Remove the erase-value=0 version of algorithm as the new one can check
for any value.

If the target is an insane slow clocked CPU (under 1MHz) algo
timeouts. Blocks checked so far are returned and the next call
uses increased timeout.

Change-Id: Ic0899011256d2114112e67c0b51fab4f6230d9cd
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4298
Tested-by: jenkins
Reviewed-by: Jonas Norling <jonas.norling@cyanconnode.com>
Reviewed-by: Andreas Bolsch <hyphen0break@gmail.com>
2018-05-08 15:21:49 -07:00
..
libdcc update files to correct FSF address 2013-06-05 19:52:42 +00:00
loaders target armv7m: multi-block erase check 2018-05-08 15:21:49 -07:00
remote_bitbang remote_bitbang_sysfsgpio: fix reset handling 2018-01-13 06:35:55 +00:00
rpc_examples contrib/rpc_examples: add example for python3 2014-04-14 18:14:22 +00:00
rtos-helpers rtos: add support for uC/OS-III 2016-12-08 12:29:35 +00:00
xsvf_tools Move xsvf_tools and remote_bitbang to contrib/ 2014-03-29 07:55:43 +00:00
60-openocd.rules jtag/drivers: Add Cypress KitProg driver 2017-05-12 10:08:43 +01:00
coresight-trace.txt present CM3 Trace agenda 2011-01-09 21:14:57 +01:00
cross-build.sh cmsis-dap: add initial cmsis-dap support 2014-01-09 15:20:51 +00:00
gen-stellaris-part-header.pl flash: declare fixed arrays const 2014-02-06 22:17:51 +00:00
itmdump.c contrib/itmdump: add a hack to allow direct dumping of specific SWIT, fix timestamp 2015-04-16 20:25:30 +01:00