2022-06-12 16:42:27 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
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
|
2014-09-08 15:11:02 -05:00
|
|
|
target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME
|
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
|
|
|
|
}
|