- 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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user