aboutsummaryrefslogtreecommitdiff
path: root/src/command.c
AgeCommit message (Collapse)Author
2015-04-03Merge branch 'v1.6-branch'Gareth McMullin
Conflicts: src/Makefile src/platforms/stlink/platform.h src/platforms/swlink/platform.h
2015-04-03Use git describe for version in generated header file.Gareth McMullin
2015-03-22Handle timeout exceptions during scans and report to the user.Gareth McMullin
2015-03-01Clean up includes everywhere.Gareth McMullin
All source files include general.h first and before anything else. This inlcludes platform.h and platform_support.h No header file needs to include to include any of these, but should include any others needed for it's own declarations.
2015-02-28Factor Morse code functions out of platform code.Gareth McMullin
2015-02-28Use sensible return convention for platform_target_get_power()Gareth McMullin
2014-08-08Fix build for non-native targets.Gareth McMullin
2014-05-28Added monitor option to toggle target powerRichard Eoin Meadows
2013-06-17Fix trailing whitespace everywhere.Gareth McMullin
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-04-16Add missing #includesGareth McMullin
2012-07-05ADIv5 AP and DP are now allocated on the heap and reference counted.Gareth McMullin
They are unref'd and free'd automatically when the target list is destroyed.
2012-06-30Allow user to specify JTAG IR lengths.Gareth McMullin
This allows the use of devices that shift out values other than 0x01 from IR.
2012-06-27Made cur_target, last_target static in gdb_main.c.Gareth McMullin
Added target destroy notify mechanism.
2012-06-26Fixed crash on monitor commands with no attached target.Gareth McMullin
2012-06-24Added mechanism for target driver to add new monitor commands.Gareth McMullin
2012-05-26Fixed and cleaned up build for libftdi platform.Gareth McMullin
2012-05-23Report target voltage on scan.Gareth McMullin
ADC is used on mini hardware, standard hardware reports ok/absent.
2012-04-22Fixed TRACESWO capture.Gareth McMullin
'mon traceswo' reports serial number and interface/endpoint no for libusb. Interrupt priorities set so TIM3 for trace is highest priority. Increased trace endpoint packet size to 64. Buffer many trace packets into a single usb packet. Stall on overflow. Fixed stop bit detection in TIM3 interrupt handler.
2012-04-18Added capture of SWO, passed to host over a vendor specific USB interface.Gareth McMullin
2012-02-12Made command handlers static.Gareth McMullin
2012-02-12Accept partial match of monitor commands.Gareth McMullin
2011-03-29Minor changes to allow a build for Windows hosts with libftdi.Gareth McMullin
2011-02-18Added git info to version output.Gareth McMullin
Fixed memory leak in SWD mode.
2011-02-05Fixed 'mon version' to show license as GPLv3+.Gareth McMullin
2011-02-04Import of working source tree.Gareth McMullin