Changed armv7m and cortexm3 to use nev arm_adi_v5 instead of cortex_swjdp.

Added support for accessport ROM table identification, dap command. 

git-svn-id: svn://svn.berlios.de/openocd/trunk@1536 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
mlu
2009-04-27 08:29:28 +00:00
parent 573d9a0368
commit b0d04ab6c6
5 changed files with 188 additions and 90 deletions

View File

@@ -29,6 +29,7 @@
#include "register.h"
#include "target.h"
#include "arm_jtag.h"
#include "arm_adi_v5.h"
/* define for enabling armv7 gdb workarounds */
#if 1
@@ -78,6 +79,8 @@ typedef struct armv7m_common_s
reg_cache_t *core_cache;
enum armv7m_mode core_mode;
int exception_number;
swjdp_common_t swjdp_info;
/* Direct processor core register read and writes */
int (*load_core_reg_u32)(struct target_s *target, enum armv7m_regtype type, u32 num, u32 *value);