From 7dc29156fee5d4ae30f65f4c82e8cefde763fe40 Mon Sep 17 00:00:00 2001 From: ntfreak Date: Tue, 2 Jun 2009 21:06:12 +0000 Subject: - change signature for adi_jtag_dp_scan and adi_jtag_dp_scan_u32 to use swjdp_common_t *swjdp instead of arm_jtag_t *jtag_info - change SWJDP_IR/DR_APACC to DAP_IR/DR_APACC to conform with ARM_ADI docs. - add swjdp->memaccess_tck field and code for extra tck clocks before accessing memory bus - Set default memaccess value to 8 for Cortex-M3. - Add dap memaccess command. - document all armv7 dap cmds. - Original patch submitted by Magnus Lundin [lundin@mlu.mine.nu]. git-svn-id: svn://svn.berlios.de/openocd/trunk@2005 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- doc/openocd.texi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'doc') diff --git a/doc/openocd.texi b/doc/openocd.texi index c890d5be..8e8f6ead 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -4137,6 +4137,33 @@ If @var{value} is defined, first assigns that. @section ARMv7 Architecture +@subsection ARMv7 Debug Access Port (DAP) specific commands +@cindex ARMv7 Debug Access Port (DAP) specific commands +These commands are specific to ARM architecture v7 Debug Access Port (DAP), +included on cortex-m3 and cortex-a8 systems. +They are available in addition to other core-specific commands that may be available. + +@deffn Command {dap info} [num] +Displays dap info for ap [num], default currently selected AP. +@end deffn + +@deffn Command {dap apsel} [num] +Select a different AP [num] (default 0). +@end deffn + +@deffn Command {dap apid} [num] +Displays id reg from AP [num], default currently selected AP. +@end deffn + +@deffn Command {dap baseaddr} [num] +Displays debug base address from AP [num], default currently selected AP. +@end deffn + +@deffn Command {dap memaccess} [value] +Displays the number of extra tck for mem-ap memory bus access [0-255]. +If value is defined, first assigns that. +@end deffn + @subsection Cortex-M3 specific commands @cindex Cortex-M3 specific commands -- cgit v1.2.3