Gareth McMullin
c3f798438a
Remove abstraction of adiv5_dp_write. Both implementations were identical.
2015-03-15 17:12:31 -07:00
Gareth McMullin
2bf54f9a72
Replace adiv5_ap_mem* functions with inline wrappers to target mem*.
2015-03-15 16:02:09 -07:00
Gareth McMullin
ee3af96a73
Consolidate target_mem_read* and target_mem_write* methods.
...
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-15 14:31:57 -07:00
Gareth McMullin
2e785e56fa
adiv5: Encode APnDP into register definition.
...
Clean up magic numbers in adiv5 calls.
Removed old adiv5_dp_write_ap and adiv5_dp_read_ap.
2015-03-14 18:03:04 -07:00
Gareth McMullin
4d4813de87
Clean up includes everywhere.
...
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-03-01 22:16:04 -08:00
Gareth McMullin
9c5ffd61f7
First cut at Freescale Kinetis support.
2015-01-06 22:26:00 +13:00
Vegard Storheil Eriksen
9434299613
Add support for halfword memory accesses.
2014-10-21 00:12:50 +02:00
Allen Ibara
4d6ae0a1b2
Avoid double increment of dst in adiv5 write bytes function.
2013-01-31 13:39:41 -08:00
Gareth McMullin
2a46994b42
Fixed magic numbers for CSW access.
2013-01-11 10:02:34 -08:00
Allen Ibara
83a06052f1
Don't increment src address twice in ap_mem_read_bytes function. Fixes corrupted thumb disassembly dumps in gdb.
2013-01-10 14:04:17 -08:00
Gareth McMullin
1d16d6c34c
Check for 10-bit address over flow when auto-incrementing.
...
Clean up whitespace.
2012-11-21 09:50:50 +13:00
Gareth McMullin
234d54c5a5
Correct stepping over programmed breakpoints.
...
Fixes issue #2 .
2012-07-05 22:08:01 +12:00
Gareth McMullin
0433d3d12a
cortexm: Moved all static data to the heap.
2012-07-05 21:26:26 +12:00
Gareth McMullin
00c4dbfb11
ADIv5 AP and DP are now allocated on the heap and reference counted.
...
They are unref'd and free'd automatically when the target list is
destroyed.
2012-07-05 19:23:28 +12:00
Gareth McMullin
4581da2034
Added option byte programming commands for STM32F1.
2012-06-26 21:02:11 +12:00
Gareth McMullin
a16123997b
Added target.c for common target routines.
2012-06-24 19:08:49 +12:00
Gareth McMullin
bc7e7d2112
Removed target header files containing a single prototype.
...
Target probe prototypes are all in target.h now.
2012-06-18 20:27:06 +12:00
Gareth McMullin
bc5a6f022b
Renamed Cortex-M driver appropriately since it support M0, M3 and M4F.
2012-06-18 19:56:19 +12:00
Gareth McMullin
8920864cb3
Cleaned up access to ADIv5 AP for target.
2012-06-18 19:19:13 +12:00
Gareth McMullin
a6f2117d1d
Further cleanup of adiv5*
2011-03-08 22:15:35 +13:00
Gareth McMullin
b8462dd1f2
Removed useless abstraction of low-level AP access functions.
2011-03-07 07:12:14 +13:00
Gareth McMullin
91815f2d23
Cleaned up some magic numbers in adiv5*
2011-03-05 23:43:03 +13:00
Gareth McMullin
406617a2a4
Import of working source tree.
2011-02-04 20:23:52 +13:00