From 3acb107b9ae4e3d38d3fcfd29b455ebcfb444696 Mon Sep 17 00:00:00 2001 From: drath Date: Thu, 31 Aug 2006 12:41:49 +0000 Subject: - endianess fixes everywhere but in the flash code. flashing might still be broken on big-endian targets and/or hosts - added access to ARM920T vector catch register (via generic register mechanism) - don't disable linefills on ARM920T cores - this lead to lockups when accessing lines already contained in cache - read content of ARM920T cache and tlb into file (arm920t read_flash/read_mmu commands) - memory reading improved on ARM7/9, can be further accelerated with new "arm7_9 fast_memory_access enable" command (renamed from fast_writes) - made in_handler independent from in field (makes the handler more flexible) - added timeout to ft2232 when using D2XX library - fixed STR7x protection bit handling on second bank (thanks to Bernard) - added support for using the OpenOCD on AT91RM9200 systems (thanks to Anders Larsen) - fixed AT91SAM7 flash handling when not running from 32kHz clock (thanks to Anders Larsen) git-svn-id: svn://svn.berlios.de/openocd/trunk@90 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/arm_jtag.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src/target/arm_jtag.h') diff --git a/src/target/arm_jtag.h b/src/target/arm_jtag.h index a9f90846..6e523fba 100644 --- a/src/target/arm_jtag.h +++ b/src/target/arm_jtag.h @@ -35,8 +35,23 @@ typedef struct arm_jtag_s extern int arm_jtag_set_instr(arm_jtag_t *jtag_info, u32 new_instr); extern int arm_jtag_scann(arm_jtag_t *jtag_info, u32 new_scan_chain); -extern int arm_jtag_buf_to_u32_flip(u8 *in_buf, void *priv); extern int arm_jtag_setup_connection(arm_jtag_t *jtag_info); +/* JTAG buffers to host, be and le buffers, flipping variants */ +int arm_jtag_buf_to_u32_flip(u8 *in_buf, void *priv); +int arm_jtag_buf_to_le32_flip(u8 *in_buf, void *priv); +int arm_jtag_buf_to_le16_flip(u8 *in_buf, void *priv); +int arm_jtag_buf_to_be32_flip(u8 *in_buf, void *priv); +int arm_jtag_buf_to_be16_flip(u8 *in_buf, void *priv); +int arm_jtag_buf_to_8_flip(u8 *in_buf, void *priv); + +/* JTAG buffers to host, be and le buffers */ +int arm_jtag_buf_to_u32(u8 *in_buf, void *priv); +int arm_jtag_buf_to_le32(u8 *in_buf, void *priv); +int arm_jtag_buf_to_le16(u8 *in_buf, void *priv); +int arm_jtag_buf_to_be32(u8 *in_buf, void *priv); +int arm_jtag_buf_to_be16(u8 *in_buf, void *priv); +int arm_jtag_buf_to_8(u8 *in_buf, void *priv); + #endif /* ARM_JTAG */ -- cgit v1.2.3