Please see patch. Although it is certainly not correct, maybe it would make sense to add srst_pulls_trst back into all board files except olimex_lpc_h2148.cfg (what I'm using) - so that the previous behavior remains, even if it is incorrect?
//Peter
>From 0f742d51e6d03c634d64dfc0001640c1adcd837b Mon Sep 17 00:00:00 2001 From: Peter Stuge <[email protected]> Date: Tue, 29 Jun 2010 07:56:56 +0200 Subject: [PATCH] LPC2148 must not have srst_pulls_trst srst_pulls_trst is only true for some (broken) boards, as already documented in doc/openocd.texi. This patch was neccessary for me to reflash when an Abort exception occurs early after reset, before OpenOCD could halt the CPU. --- tcl/target/lpc2148.cfg | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tcl/target/lpc2148.cfg b/tcl/target/lpc2148.cfg index cbf3058..8062cdd 100644 --- a/tcl/target/lpc2148.cfg +++ b/tcl/target/lpc2148.cfg @@ -22,7 +22,7 @@ jtag_ntrst_delay 200 # JTAG, power-on reset is not enough, i.e. you need to perform a # reset before being able to talk to the LPC2148, attach is not possible. -reset_config trst_and_srst srst_pulls_trst +reset_config trst_and_srst jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID -- 1.6.3.3
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
