aboutsummaryrefslogtreecommitdiff
path: root/src/include
AgeCommit message (Collapse)Author
2015-03-14adiv5: Encode APnDP into register definition.Gareth McMullin
Clean up magic numbers in adiv5 calls. Removed old adiv5_dp_write_ap and adiv5_dp_read_ap.
2015-03-14Use size_t for sizes in flash functions. Fix all sign compare warnings.Gareth McMullin
2015-03-13Fix pointer sign warnings and remove -Wno-pointer-sign.Gareth McMullin
2015-03-11stm32l0: Fix pointer/integer casting warnings.Gareth McMullin
2015-03-11Cleaned up printf/scanf for C99 integer types.Gareth McMullin
2015-03-08Revisions on Gareth's comments.Marc Singer
o Implemented byte writes to EEPROM now that the emulator has a byte-wide target write. o Added comment describing the reason that mass erase doesn't work. o Removed all unused code. o Changed to Linux kernel indent style. o Changed to Linux kernel function to parenthesis style. o Stub generation doesn't use Perl, switched to sed. Also, only including the instructions instead of the source and the instructions. o Handling unaligned destination writes.
2015-03-08STM32L0x target support.Marc Singer
Target support for stm32l0's and stm32l1's including option bytes and data EEPROM. This module will superceed the previous stm32l1 driver. o Program flash write and erase. o Options modification and interpretive status. o Stubs for program flash writes and erases. Stubs are modestly faster than non-stub version. The stm32l0 will not execute stubs when the MCU has crashed. A monitor option may be used to force non-stub flash writes. o Stubs generated from C++ code and converted to arrays of half-words. o Writes to data EEPROM supoprted when loading segments. o EEPROM data monitor command to write words. o Stubs supported on stm32l1.
2015-03-02Factor out timing routines common to all STM32 targets.Gareth McMullin
2015-03-02Factor out common cdcacm.c from stm32 and tm4c.Gareth McMullin
Cleaned up interface to enter bootloader and read serial number.
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-28Move common USB stuff out of platform header files.Gareth McMullin
2015-02-28Factor Morse code functions out of platform code.Gareth McMullin
2015-01-18Added support for SAMD10/11/21, and list of tested SAM D devicesRichard Meadows
This allows blackmagic to be used with the new Arduino Zero board via the unpopulated SWD header on the east end of the board.
2015-01-18Support for the NVMCTRL Security Bit (PROT=1)Richard Meadows
2015-01-18Avoid repetition of cortexm code in stmd20 driver.Gareth McMullin
2015-01-06First cut at Freescale Kinetis support.Gareth McMullin
2014-10-21Add support for halfword memory accesses.Vegard Storheil Eriksen
2014-09-03Atmel SAMD20 supportRichard Eoin Meadows
2014-05-01Nordic nRF51 series supportMike
2013-06-19Disable ADIv5 timeout while target is running.Gareth McMullin
2013-06-17Fix trailing whitespace everywhere.Gareth McMullin
2013-05-18Move semihosting support to cortexm.c.Gareth McMullin
Try to implement more syscalls.
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-23LIBFTDI: Propagate the command line arguments to platform_initUwe Bonnes
2013-01-21gdb_if: Use a doubled buffer scheme for reading data from USBUwe Bonnes
Needed, as the OTG driver erases the data read after eventually calling the callback
2013-01-21traceswo: Move (now-constant) traceswo.c to platforms/stm32Uwe Bonnes
2013-01-21Move usbuart to the stm32 directoryUwe Bonnes
2013-01-11Fixed magic numbers for CSW access.Gareth McMullin
2012-11-03Probe function return bool, true if device identified.Gareth McMullin
Correctly identify LM3S3748.
2012-11-03Recognise LPC43xx dual core devices.Gareth McMullin
2012-11-03Allow target attachment to timeout and report failure.Gareth McMullin
This is needed for if the target device is held in reset.
2012-10-25Added support for STM32L1.Vegard Storheil Eriksen
2012-07-05Correct stepping over programmed breakpoints.Gareth McMullin
Fixes issue #2.
2012-07-05cortexm: Moved all static data to the heap.Gareth 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-30Signal on halt is now returned by target_halt_wait().Gareth McMullin
Fault unwinding is now handled internally in target implementation. GDB server doesn't need to know about it.
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-26Added option byte programming commands for STM32F1.Gareth McMullin
2012-06-24Added mechanism for target driver to add new monitor commands.Gareth McMullin
2012-06-24Added target.c for common target routines.Gareth McMullin
2012-06-22First cut at an Atmel SAM3X driver.Gareth McMullin
2012-06-18Renamed target_flash_write_words to target_flash_write.Gareth McMullin
Buffer from GDB may not be aligned or integer number of words. Corrected alignment in in STM32F1 driver.
2012-06-18Removed target header files containing a single prototype.Gareth McMullin
Target probe prototypes are all in target.h now.
2012-06-18Renamed Cortex-M driver appropriately since it support M0, M3 and M4F.Gareth McMullin
2012-06-18Cleaned up STM32F1 driver and renamed appropriately.Gareth McMullin
2012-06-18Cleaned up access to ADIv5 AP for target.Gareth McMullin
2012-02-12Added FP register support.Gareth McMullin
2012-01-08Inline GPIO functions and optimise for speed.Gareth McMullin
This gives a modest but measurable performance improvement.
2011-12-26Merge commit '4e0cd081b09d9bd3d444062ca1081fa59c31fc0b'Mike Smith
* commit '4e0cd081b09d9bd3d444062ca1081fa59c31fc0b': Improved magic number garbage in cortexm3.c Cleaned up debug output on linux build. Removed #if LIGHT for unfinished hardware. Implement gdb 'qCRC' packet to support 'compare-sections' command.