Update URLs and names in amdm37x.cfg, no functional changes.
* openocd.berlios.de -> openocd.sourceforge.net * Update link to AM/DM37x Technical Reference Manual (ver R) * "ICEpick" is properly spelled "ICEPick" according to TI Change-Id: Ie04458e82c97ef766ec03bd9b9f27edadf5d1cb2 Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-on: http://openocd.zylin.com/1856 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>__archive__
parent
647eeefb53
commit
58aecca7b3
|
@ -4,8 +4,8 @@
|
|||
# Copyright (C) 2009 by David Brownell
|
||||
# Copyright (C) 2009 by Magnus Lundin
|
||||
#
|
||||
# TI AM/DM37x
|
||||
# http://www.ti.com/litv/pdf/sprugn4b
|
||||
# TI AM/DM37x Technical Reference Manual (Version R)
|
||||
# http://www.ti.com/lit/ug/sprugn4r/sprugn4r.pdf
|
||||
#
|
||||
# This script is based on the AM3517 initialization. It should be considered
|
||||
# preliminary since it needs more complete testing and only the basic
|
||||
|
@ -28,11 +28,11 @@ if { [info exists CHIPTYPE] } {
|
|||
|
||||
switch $CHIPTYPE {
|
||||
dm37x {
|
||||
# Primary TAP: ICEpick-C (JTAG route controller) and boundary scan
|
||||
# Primary TAP: ICEPick-C (JTAG route controller) and boundary scan
|
||||
set _JRC_TAPID "-expected-id 0x2b89102f -expected-id 0x1b89102f -expected-id 0x0b89102f"
|
||||
}
|
||||
am35x {
|
||||
# Primary TAP: ICEpick-C (JTAG route controller) and boundary scan
|
||||
# Primary TAP: ICEPick-C (JTAG route controller) and boundary scan
|
||||
set _JRC_TAPID "-expected-id 0x0b7ae02f"
|
||||
}
|
||||
default {
|
||||
|
@ -50,20 +50,20 @@ adapter_khz 10
|
|||
###############################################################################
|
||||
# JTAG setup
|
||||
# The OpenOCD commands are described in the TAP Declaration section
|
||||
# http://openocd.berlios.de/doc/html/TAP-Declaration.html
|
||||
# http://openocd.sourceforge.net/doc/html/TAP-Declaration.html
|
||||
###############################################################################
|
||||
|
||||
# The AM/DM37x has an ICEpick module in it like many of TI's other devices. More
|
||||
# can be read about this module in sprugn4b under chapter 27: "Debug and
|
||||
# The AM/DM37x has an ICEPick module in it like many of TI's other devices. More
|
||||
# can be read about this module in sprugn4r in chapter 27: "Debug and
|
||||
# Emulation". The module is used to route the JTAG chain to the various
|
||||
# subsystems in the chip.
|
||||
source [find target/icepick.cfg]
|
||||
|
||||
# The TAP order should be described from the TDO connection in OpenOCD to the
|
||||
# TDI pin. The OpenOCD FAQ describes this in more detail:
|
||||
# http://openocd.berlios.de/doc/html/FAQ.html
|
||||
# http://openocd.sourceforge.net/doc/html/FAQ.html
|
||||
|
||||
# From SPRUGN4B CH27 the available secondary TAPs are in this order from TDO:
|
||||
# From SPRUGN4R CH27 the available secondary TAPs are in this order from TDO:
|
||||
#
|
||||
# Device | TAP number
|
||||
# ---------|------------
|
||||
|
@ -77,9 +77,9 @@ source [find target/icepick.cfg]
|
|||
|
||||
######
|
||||
# Start of Chain Description
|
||||
# The Secondary TAPs all have enable functions defined for use with the ICEpick
|
||||
# The Secondary TAPs all have enable functions defined for use with the ICEPick
|
||||
# Only the DAP is enabled. The AM37xx does not have the Sequencer or DSP but
|
||||
# the TAP numbers for ICEpick do not change.
|
||||
# the TAP numbers for ICEPick do not change.
|
||||
#
|
||||
# TODO: A disable function should also be added.
|
||||
######
|
||||
|
@ -93,26 +93,26 @@ jtag configure $_CHIPNAME.dap -event tap-enable \
|
|||
# These taps are only present in the DM37x series.
|
||||
if { $CHIPTYPE == "dm37x" } {
|
||||
# Secondary TAP: Sequencer (ARM968) it is not in the chain by default
|
||||
# The ICEpick can be used to enable it in the chain.
|
||||
# The ICEPick can be used to enable it in the chain.
|
||||
jtag newtap $_CHIPNAME arm2 -irlen 4 -ircapture 0x1 -irmask 0x0f -disable
|
||||
jtag configure $_CHIPNAME.arm2 -event tap-enable \
|
||||
"icepick_c_tapenable $_CHIPNAME.jrc 2"
|
||||
|
||||
# Secondary TAP: C64x+ DSP - it is not in the chain by default (-disable)
|
||||
# The ICEpick can be used to enable it in the chain.
|
||||
# The ICEPick can be used to enable it in the chain.
|
||||
jtag newtap $_CHIPNAME dsp -irlen 38 -ircapture 0x25 -irmask 0x3f -disable
|
||||
jtag configure $_CHIPNAME.dsp -event tap-enable \
|
||||
"icepick_c_tapenable $_CHIPNAME.jrc 1"
|
||||
}
|
||||
|
||||
# Secondary TAP: D2D it is not in the chain by default (-disable)
|
||||
# The ICEpick can be used to enable it in the chain.
|
||||
# The ICEPick can be used to enable it in the chain.
|
||||
# This IRLEN is probably incorrect - not sure where the documentation is.
|
||||
jtag newtap $_CHIPNAME d2d -irlen 4 -ircapture 0x1 -irmask 0x0f -disable
|
||||
jtag configure $_CHIPNAME.d2d -event tap-enable \
|
||||
"icepick_c_tapenable $_CHIPNAME.jrc 0"
|
||||
|
||||
# Primary TAP: ICEpick - it is closest to TDI so last in the chain
|
||||
# Primary TAP: ICEPick - it is closest to TDI so last in the chain
|
||||
eval "jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f $_JRC_TAPID"
|
||||
|
||||
######
|
||||
|
@ -136,7 +136,7 @@ jtag configure $_CHIPNAME.jrc -event setup "jtag tapenable $_CHIPNAME.dap"
|
|||
###############################################################################
|
||||
# Target Setup:
|
||||
# This section is described in the OpenOCD documentation under CPU Configuration
|
||||
# http://openocd.berlios.de/doc/html/CPU-Configuration.html
|
||||
# http://openocd.sourceforge.net/doc/html/CPU-Configuration.html
|
||||
###############################################################################
|
||||
|
||||
# Create the CPU target to be used with GDB: Cortex-A8, using DAP
|
||||
|
|
Loading…
Reference in New Issue