Files
sw_openocd/tcl/board
Edward Fewell 4d7c48fb80 tcl/target: Enable using vectreset for CC3320SF targets
On CC32xx family of devices, sysrequest is disabled, and
vectreset is blocked by the boot loader (stops in a while(1)
statement). srst reset can leave the target in a state
that prevents debug.

This change enables using vectreset on SF variants by
moving the PC to the start of the user application in
internal flash. This allows for a more reliable reset,
but with two caveats:

1) This only works for the SF variant with internal
   flash.

2) This only resets the CPU and not any peripherals.

Tested on CC3220SF rev B Launchpad in both SWD and
JTAG modes. Confirmed proper behavior of reset,
reset init, reset halt, and reset run commands.

Update: reworked per comment in code review. Re-tested
with CC3220SF Launchpad as both CC3220SF and as
CC32xx board to confirm reset behavior as expected.

Update: Added adapter srst delay 1100 line to the
CC3200 LaunchXL configuration file.

Change-Id: Ibc042d785c846c2223ae55b8f2410b75ed2df354
Signed-off-by: Edward Fewell <efewell@ti.com>
Reviewed-on: http://openocd.zylin.com/5489
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2020-03-24 17:18:31 +00:00
..
2014-06-01 18:27:09 +00:00
2011-04-09 10:14:46 +02:00
2011-04-09 10:16:28 +02:00
2009-08-21 09:01:00 +00:00
2020-02-08 23:27:18 +00:00
2010-12-18 21:04:22 +01:00
2015-01-09 08:47:20 +00:00
2020-02-23 21:32:37 +00:00
2010-04-15 19:10:36 +02:00
2012-02-13 12:03:26 +00:00
2010-12-18 21:04:22 +01:00
2015-01-09 08:47:20 +00:00
2015-01-09 08:47:20 +00:00
2010-12-18 21:04:22 +01:00
2011-08-24 11:13:26 +02:00
2011-03-13 14:59:39 +01:00
2011-12-23 09:39:48 +00:00
2011-06-02 12:17:28 +02:00
2010-04-26 07:08:55 +02:00