The beagleboard icepick jtag tap id's vary.
---
tcl/target/amdm37x.cfg | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/tcl/target/amdm37x.cfg b/tcl/target/amdm37x.cfg
index ab18681..4ba4294 100644
--- a/tcl/target/amdm37x.cfg
+++ b/tcl/target/amdm37x.cfg
@@ -29,11 +29,11 @@ if { [info exists CHIPTYPE] } {
switch $CHIPTYPE {
dm37x {
# Primary TAP: ICEpick-C (JTAG route controller) and boundary scan
- set _JRC_TAPID 0x0b89102f
+ set _JRC_TAPID "-expected-id 0x0b89102f -expected-id 0x0b89102f"
}
am35x {
# Primary TAP: ICEpick-C (JTAG route controller) and boundary scan
- set _JRC_TAPID 0x0b7ae02f
+ set _JRC_TAPID "-expected-id 0x0b7ae02f"
}
default {
error "ERROR: CHIPTYPE was set, but it was not set to a valid value.
Acceptable values are \"dm37x\" or \"am35x\"."
@@ -113,8 +113,7 @@ 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
-jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f \
- -expected-id $_JRC_TAPID
+eval "jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f
$_JRC_TAPID"
######
# End of Chain Description
--
1.7.4.1
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development