2008-10-14 20:58:28 +00:00
|
|
|
# Test script to check that syntax error in reset
|
|
|
|
# script is reported properly.
|
|
|
|
|
|
|
|
# at91eb40a target
|
|
|
|
|
|
|
|
#jtag scan chain
|
2008-11-30 22:25:43 +00:00
|
|
|
set _CHIPNAME syntaxtest
|
2009-09-21 18:48:22 +00:00
|
|
|
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf
|
2008-10-14 20:58:28 +00:00
|
|
|
|
|
|
|
#target configuration
|
2009-09-04 05:17:03 +00:00
|
|
|
set _TARGETNAME $_CHIPNAME.cpu
|
2008-11-30 22:25:43 +00:00
|
|
|
target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi-s_r4
|
2008-10-14 20:58:28 +00:00
|
|
|
|
2009-09-21 18:48:22 +00:00
|
|
|
$_TARGETNAME configure -event reset-init {
|
2008-10-14 20:58:28 +00:00
|
|
|
|
|
|
|
syntax error
|
|
|
|
}
|