aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/stm32/jtagtap.c
AgeCommit message (Collapse)Author
2014-05-28TRST only exists on hardware version 0Richard Eoin Meadows
2013-05-14adiv5_swdp: allow to connect to a sleeping target by pulling SRSTPaul Fertser
This patch introduces a new command, "connect_srst [enable|disable]" which allows to enable special mode in which SRST would be pulled low before the SWD scan till attaching to a target. Since on Cortex-Mx the SRST signal doesn't gate JTAG and SWD, it's possible to connect to a target while holding reset, ask it to stop at reset vector and only then deassert reset, thus allowing to attach to the kind of firmware that goes immediately to sleep or disables debugging by other means early on start. Tested on an STM32VLDiscovery board with STM32F100 configured to go to STOP mode and executing WFI in the very beginning of main(). Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2013-01-21usbuart, jtagtap, swdptap: Factor out GPIO setupUwe Bonnes
2012-06-10Added stlink platform for Discovery boards and ST's ST-Link hardware.Gareth McMullin
2012-06-10Moved stm32 generic platform files out of native platform dir.Gareth McMullin