~ubuntu-branches/ubuntu/wily/openocd/wily

« back to all changes in this revision

Viewing changes to tcl/target/omap5912.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Uwe Hermann
  • Date: 2009-11-25 12:20:04 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091125122004-4cnrzqw7v9qu064n
Tags: 0.3.1-1
* New upstream release (Closes: #554598, #537740).
* Add sh4 (instead of sh) to the list of architectures (Closes: #555553).
* Standards-Version: 3.8.3 (no changes required).
* debian/watch: Add file.
* debian/docs: Updates, some files were removed, some added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# TI OMAP5912 dual core processor
2
2
# http://focus.ti.com/docs/prod/folders/print/omap5912.html
3
3
 
4
 
if { [info exists CHIPNAME] } { 
5
 
   set  _CHIPNAME $CHIPNAME    
6
 
} else {         
 
4
if { [info exists CHIPNAME] } {
 
5
   set  _CHIPNAME $CHIPNAME
 
6
} else {
7
7
   set  _CHIPNAME omap5912
8
8
}
9
9
 
10
 
if { [info exists ENDIAN] } {   
11
 
   set  _ENDIAN $ENDIAN    
12
 
} else {         
13
 
  # this defaults to a bigendian
14
 
   set  _ENDIAN little
15
 
}
16
 
 
17
10
if { [info exists CPUTAPID ] } {
18
11
   set _CPUTAPID $CPUTAPID
19
12
} else {
21
14
   set _CPUTAPID 0x0692602f
22
15
}
23
16
 
 
17
jtag_nsrst_delay 100
 
18
 
24
19
# NOTE:  presumes irlen 38 is the C55x DSP, matching BSDL for
25
20
# its standalone siblings (like TMS320VC5502) of the same era
26
21
 
27
22
#jtag scan chain
28
 
jtag newtap $_CHIPNAME dsp -irlen 38 -ircapture 0x0 -irmask 0x0 -expected-id 0x03df1d81
29
 
jtag newtap $_CHIPNAME arm -irlen 4 -ircapture 0x1 -irmask 0x0 -expected-id $_CPUTAPID
30
 
jtag newtap $_CHIPNAME unknown -irlen 8 -ircapture  0x0 -irmask 0x0
 
23
jtag newtap $_CHIPNAME dsp -irlen 38 -expected-id 0x03df1d81
 
24
jtag newtap $_CHIPNAME arm -irlen 4 -expected-id $_CPUTAPID
 
25
jtag newtap $_CHIPNAME unknown -irlen 8
31
26
 
32
27
set _TARGETNAME $_CHIPNAME.arm
33
 
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
 
28
target create $_TARGETNAME arm926ejs -chain-position $_TARGETNAME
34
29
 
35
30
proc omap5912_reset {} {
36
31
        #