openocd/tcl/board/crossbow_tech_imote2.cfg
David Brownell b559b273b5 rename jtag_nsrst_delay as adapter_nsrst_delay
Globally rename "jtag_nsrst_delay" as "adapter_nsrst_delay", and move it
out of the "jtag" command group ...  it needs to be used with non-JTAG
transports

Includes a migration aid (in jtag/startup.tcl) so that old user scripts
won't break.  That aid should Sunset in about a year.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-15 08:41:30 -07:00

14 lines
298 B
INI

# Crossbow Technology iMote2
set CHIPNAME imote2
source [find target/pxa270.cfg]
# longer-than-normal reset delay
adapter_nsrst_delay 800
reset_config trst_and_srst separate
# works for P30 flash
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x00000000 0x2000000 2 2 $_TARGETNAME