git-svn-id: svn://svn.berlios.de/openocd/trunk@1136 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
oharboe 2008-11-05 09:06:34 +00:00
parent 71c7306885
commit 3dd0884989
3 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# iMote2
#
# PXA271 and an Intel Strataflash of 32 Megabytes (p30)
#
# Marvell/Intel PXA270 Script
# set jtag_nsrst_delay to the delay introduced by your reset circuit
# the rest of the needed delays are built into the openocd program
jtag_nsrst_delay 800
# set the jtag_ntrst_delay to the delay introduced by a reset circuit
# the rest of the needed delays are built into the openocd program
jtag_ntrst_delay 0
#use combined on interfaces or targets that cant set TRST/SRST separately
reset_config trst_and_srst separate
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 7 0x1 0x7f 0x7e
target xscale little 0 pxa27x
# maps to PXA internal RAM. If you are using a PXA255
# you must initialize SDRAM or leave this option off
working_area 0 0x5c000000 0x10000 nobackup
#flash bank <driver> <base> <size> <chip_width> <bus_width>
# works for P30 flash
flash bank cfi 0x00000000 0x2000000 2 2 0

View File

@ -0,0 +1,20 @@
# script for Insilica IS-5114
# jtag speed. We need to stick to 16kHz until we've finished reset.
jtag_rclk 16
reset_config trst_and_srst
jtag_device 8 0x1 0x1 0xfe
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
#arm946e-s and
target arm966e little 1 arm966e
[new_target_name] configure -event reset-start { jtag_rclk 16 }
[new_target_name] configure -event reset-init {
# We can increase speed now that we know the target is halted.
jtag_rclk 3000
}
working_area 0 0x50000000 16384 nobackup

View File

@ -0,0 +1,19 @@
# str910-eval eval board
#
# Need reset scripts
reset_config trst_and_srst
jtag_device 8 0x1 0x1 0xfe
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
target arm966e little reset_halt 1 arm966e
working_area 0 0x50000000 16384 nobackup
flash bank str9xpec 0x00000000 0x00080000 0 0 0
str9xpec enable_turbo 0
str9xpec options_read 0
str9xpec options_cmap 0 bank 1
str9xpec options_write 0