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