openocd/src
Tomas Vanek f3b1405fdd AT91SAM4L: handle reset run/halt in SMAP
This is a remake of http://openocd.zylin.com/1966
originally written by Angus Gratton <gus@projectgus.com>

ATSAM4L has a "System Manager Access Port" (SMAP) that holds the CPU
in reset if TCK is low when srst (RESET_N) is deasserted.
Without this change any use of sysresetreq or srst locks the chip
in reset state until power is cycled.

A new function smap_reset_deassert is called as reset-deassert-post event handler.
It optionally prepares reset vector catch and SMAP reset is released then.

Change-Id: Iad736357b0f551725befa2b9e00f3bc54504f3d8
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/2604
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2015-04-14 15:47:43 +01:00
..
flash AT91SAM4L: handle reset run/halt in SMAP 2015-04-14 15:47:43 +01:00
helper Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00
jtag jtag/startup.tcl: fix regression with autoselecting JTAG 2015-04-14 12:35:39 +01:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos ChibiOS: fix crash on auto detection 2015-04-14 12:16:50 +01:00
server Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00
svf Openocd: svf: Add ability to ignore svf_check_tdo errors 2014-07-03 18:08:48 +00:00
target target/arm_adi_v5, cortex_m: retry ahbap_debugport_init few times in case of an error 2015-04-14 13:19:09 +01:00
transport transport: make 'transport select' auto-select the first available transport if not set 2015-03-25 21:32:49 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am Makefile.am: link libusb-1.0 after libusb-0.1 to fix dependencies 2015-02-04 21:56:45 +00:00
openocd.c Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00
openocd.h Fix some problems with the bin2char utility 2014-08-02 09:01:32 +00:00