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

« back to all changes in this revision

Viewing changes to tcl/target/sam7se512.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
 
2
 
# ATMEL sam7se512 
 
2
# ATMEL sam7se512
3
3
# Example: the "Elektor Internet Radio" - EIR
4
4
# http://www.ethernut.de/en/hardware/eir/index.html
5
5
 
6
 
if { [info exists CHIPNAME] } { 
7
 
   set  _CHIPNAME $CHIPNAME    
8
 
} else {         
 
6
if { [info exists CHIPNAME] } {
 
7
   set  _CHIPNAME $CHIPNAME
 
8
} else {
9
9
   set  _CHIPNAME sam7se512
10
10
}
11
11
 
12
 
if { [info exists ENDIAN] } {   
13
 
   set  _ENDIAN $ENDIAN    
14
 
} else {         
 
12
if { [info exists ENDIAN] } {
 
13
   set  _ENDIAN $ENDIAN
 
14
} else {
15
15
   set  _ENDIAN little
16
16
}
17
17
 
29
29
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
30
30
 
31
31
# The target
32
 
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
 
32
set _TARGETNAME $_CHIPNAME.cpu
33
33
target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi
34
34
 
35
35
$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 0