riscv-openocd/tcl/board
Gary Carlson 8465e99442 reset: fix reset halt bug
I was finally able to figure out the cause of this problem.  There are two
parts to the patch.  The first patch modifies the configuration file I
originally generated for the Atmel AT91SAM9G20 board and achieves the
following:

+++ Splits the reset-init handler into a reset-start handler for some of the
initial configuration activities and keeps the remainder in the reset-init
handler as was the case before.  This was the real issue that was causing
the timing problems I identified before.  This solution was confirmed with
an o-scope on actual target hardware.

+++ Adds a new instruction in the reset-start handler to disable fast memory
accesses in the reset-start handler.  When the target jtag clock is started
out at 2 kHz during system clock initialization, memory writes (i.e.
register write to enable external reset pin -- basically to RSTC_MR) are
naturally slow and cause GDB keep-alive issues (refer to PATCH 2/2 for
additional fixes).

+++ Modifies the configuration file to use srst_only reset action. The
reset-start/reset-init handler split also now allows the correct behavior to
be used in the configuration file (previously had to use both SRST and TRST
even though only SRST is actually used and connected on the evaluation
board).

+++ Adds external NandFlash configuration support to take advantage of flash
driver added earlier.  Doesn't fix any bugs but adds functionality that was
marked as TBD before and thrown in when I did other work on the
configuration file.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-19 07:37:07 +02:00
..
arm_evaluator7t.cfg Remove annoying end-of-line whitespace from tcl/* files 2009-09-21 18:48:22 +00:00
at91eb40a.cfg rename jtag_khz as adapter_khz 2010-03-15 08:37:43 -07:00
at91rm9200-dk.cfg at91rm9200 : reset_config should go to the board config file 2010-05-18 11:48:47 +02:00
at91sam9g20-ek.cfg reset: fix reset halt bug 2010-05-19 07:37:07 +02:00
atmel_at91sam7s-ek.cfg native line endings 2009-08-21 09:01:00 +00:00
atmel_at91sam9rl-ek.cfg target library: configuration files for openocd tested with Atmel SAM-ICE V6 JTAG. 2010-02-11 21:10:51 +01:00
atmel_at91sam9260-ek.cfg fix syntax of mww phys. 2009-10-25 22:15:57 +01:00
atmel_sam3u_ek.cfg target.cfg: (re)move some bogus reset_config lines 2009-11-10 09:25:26 -08:00
balloon3-cpu.cfg TCL scripts: update to current "flash bank" syntax 2010-03-26 08:42:58 +01:00
crossbow_tech_imote2.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 2010-03-15 08:41:30 -07:00
csb337.cfg rename jtag_khz as adapter_khz 2010-03-15 08:37:43 -07:00
csb732.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 2010-03-15 08:41:30 -07:00
digi_connectcore_wi-9c.cfg TCL scripts: update to current "flash bank" syntax 2010-03-26 08:42:58 +01:00
dm355evm.cfg Tcl and doc: update to match new 'arm mcr ...' etc 2009-12-01 01:10:19 -08:00
dm365evm.cfg rename jtag_khz as adapter_khz 2010-03-15 08:37:43 -07:00
dm6446evm.cfg TCL scripts: update to current "flash bank" syntax 2010-03-26 08:42:58 +01:00
eir.cfg Remove annoying end-of-line whitespace from tcl/* files 2009-09-21 18:48:22 +00:00
ek-lm3s9b9x.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 2010-03-15 08:41:30 -07:00
ek-lm3s811.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 2010-03-15 08:41:30 -07:00
ek-lm3s1968.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 2010-03-15 08:41:30 -07:00
ek-lm3s3748.cfg Fix Luminary FT2232 layout docs/configs 2009-12-28 12:59:47 -08:00
ethernut3.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 2010-03-15 08:41:30 -07:00
hammer.cfg TCL scripts: update to current "flash bank" syntax 2010-03-26 08:42:58 +01:00
hitex_lpc2929.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 2010-03-15 08:41:30 -07:00
hitex_stm32-performancestick.cfg David Brownell <david-b@pacbell.net> Make the Hitex STM32-PerformanceStick board config behave better: 2009-06-22 17:32:17 +00:00
hitex_str9-comstick.cfg scripts: update flash bank names 2010-05-13 20:44:08 +01:00
iar_lpc1768.cfg LPC1768 updates, IAR board support 2010-03-02 15:02:01 -08:00
iar_str912_sk.cfg Move TCL script files -- Step 2 of 2: 2009-05-27 06:49:24 +00:00
imx27ads.cfg TCL SCRIPTS: fix command name 2010-04-15 19:10:36 +02:00
imx27lnst.cfg rename jtag_khz as adapter_khz 2010-03-15 08:37:43 -07:00
imx31pdk.cfg iMX target config script's ported from Freescale BSP. 2009-10-14 11:04:44 +02:00
imx35pdk.cfg iMX target config script's ported from Freescale BSP. 2009-10-14 11:04:44 +02:00
keil_mcb1700.cfg Audrius Urmanavičius [didele.deze@gmail.com]: 2009-08-13 13:54:53 +00:00
keil_mcb2140.cfg Move TCL script files -- Step 2 of 2: 2009-05-27 06:49:24 +00:00
linksys_nslu2.cfg target.cfg: remove "-work-area-virt 0" 2009-11-08 08:52:40 -08:00
logicpd_imx27.cfg TCL SCRIPTS: fix command name 2010-04-15 19:10:36 +02:00
lubbock.cfg scripts: update flash bank names 2010-05-13 20:44:08 +01:00
microchip_explorer16.cfg PIC32: add Microchip Explorer16 cfg 2010-03-16 10:10:20 +00:00
mini2440.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 2010-03-15 08:41:30 -07:00
olimex_LPC2378STK.cfg Move TCL script files -- Step 2 of 2: 2009-05-27 06:49:24 +00:00
olimex_lpc_h2148.cfg Move TCL script files -- Step 2 of 2: 2009-05-27 06:49:24 +00:00
olimex_sam7_ex256.cfg Move TCL script files -- Step 2 of 2: 2009-05-27 06:49:24 +00:00
olimex_sam9_l9260.cfg Olimex SAM9-L9260 board configuration update. 2009-12-26 13:08:24 -08:00
olimex_stm32_h103.cfg freddie_chopin@op.pl fix handling of workarea 2009-06-30 11:50:04 +00:00
omap2420_h4.cfg board configs -- unique names for flash chips 2010-01-20 10:46:53 -08:00
open-bldc.cfg Added Open-BLDC board config file. 2009-12-29 12:41:43 +01:00
openrd.cfg Tcl and doc: update to match new 'arm mcr ...' etc 2009-12-01 01:10:19 -08:00
osk5912.cfg board configs -- unique names for flash chips 2010-01-20 10:46:53 -08:00
phytec_lpc3250.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 2010-03-15 08:41:30 -07:00
pic-p32mx.cfg PIC32: add Microchip Explorer16 cfg 2010-03-16 10:10:20 +00:00
propox_mmnet1001.cfg Remove annoying end-of-line whitespace from tcl/* files 2009-09-21 18:48:22 +00:00
pxa255_sst.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 2010-03-15 08:41:30 -07:00
redbee-econotag.cfg add board/redbee-econotag.cfg and JTAG support 2010-02-27 22:52:34 -08:00
redbee-usb.cfg Add board/redbee-usb.cfg 2010-02-28 10:33:46 -08:00
sheevaplug.cfg Tcl and doc: update to match new 'arm mcr ...' etc 2009-12-01 01:10:19 -08:00
stm32f10x_128k_eval.cfg Move TCL script files -- Step 2 of 2: 2009-05-27 06:49:24 +00:00
stm3210b_eval.cfg cfg: add stm32eval board configs 2010-05-07 14:24:13 +01:00
stm3210c_eval.cfg cfg: add stm32eval board configs 2010-05-07 14:24:13 +01:00
stm3210e_eval.cfg cfg: add stm32eval board configs 2010-05-07 14:24:13 +01:00
stm32100b_eval.cfg cfg: add stm32eval board configs 2010-05-07 14:24:13 +01:00
str910-eval.cfg scripts: update flash bank names 2010-05-13 20:44:08 +01:00
telo.cfg telo: update configuration scripts to matched master branch 2010-04-24 16:51:34 +02:00
ti_beagleboard.cfg Dirk Behme <dirk.behme@googlemail.com> Add default fall back freqency. 2009-09-04 08:27:08 +00:00
topas910.cfg TCL scripts: update to current "flash bank" syntax 2010-03-26 08:42:58 +01:00
topasa900.cfg TCL scripts: update to current "flash bank" syntax 2010-03-26 08:42:58 +01:00
unknown_at91sam9260.cfg TCL scripts: update to current "flash bank" syntax 2010-03-26 08:42:58 +01:00
voipac.cfg Add Voipac PXA270 module support 2010-04-26 07:08:55 +02:00
x300t.cfg TCL scripts: update to current "flash bank" syntax 2010-03-26 08:42:58 +01:00
zy1000.cfg zy1000.cfg: gdb connect will fail first time without gdb-attach 2010-05-12 13:45:04 +02:00