aboutsummaryrefslogtreecommitdiff
path: root/src/include/target.h
AgeCommit message (Collapse)Author
2015-04-11target: Remove old flash interface.Gareth McMullin
2015-04-11Add buffering support for flash drivers.Gareth McMullin
Some devices can get a significant boost in performance by writing to flash memories one page at a time. Generic function to do this are provided at the target layer and may be used by flash drivers.
2015-04-03Fix flash buffer alignment in target layer.Gareth McMullin
2015-04-03Add new functions to wrap flash driver erase/write/done operations.Gareth McMullin
2015-04-03Add function to add simple flash driver to target.Gareth McMullin
Clean up ram/flash/memory map on target destruction.
2015-04-03Add functions for dynamically generating the XML memory map.Gareth McMullin
2015-03-29gdb: don't access target fields directly.Gareth McMullin
2015-03-29Improve cortexm_read/write_regs. Use more sensible return types.Gareth McMullin
2015-03-28target: Remove pc_read/pc_write methods.Gareth McMullin
2015-03-26Add a flash_done target method.Gareth McMullin
2015-03-26Consistently name target var 't' in cortexm.Gareth McMullin
2015-03-15Replace adiv5_ap_mem* functions with inline wrappers to target mem*.Gareth McMullin
2015-03-15Consolidate target_mem_read* and target_mem_write* methods.Gareth McMullin
There are now only mem_read and mem_write, that must handle all alignments. These methods return void, errors must be checked with target_check_error.
2015-03-14Use size_t for sizes in flash functions. Fix all sign compare warnings.Gareth McMullin
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-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-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-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-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>
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-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-27Made cur_target, last_target static in gdb_main.c.Gareth McMullin
Added target destroy notify mechanism.
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.
2011-12-26Add support for Cortex-M0, and specifically for the NXP LPC11xx devices.Mike Smith
2011-11-25Add support for a more comprehensive target description, including the ↵Mike Smith
additional v7m registers. This doesn't work with vanilla gdb, as for reasons unknown said vanilla gdb doesn't support XML target descriptions queried from the remote. Add code to the fault unwinder to deal with the stack alignment fixup and FP registers. Avoid saving/restoring registers that don't get trashed.
2011-03-12Added more ARM7TDMI functions. Still not usable.Gareth McMullin
2011-02-21Stack is now unwound on hardfault.Gareth McMullin
2011-02-04Import of working source tree.Gareth McMullin