aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/test_reset_syntax_error.cfg
blob: e573c1c0a46dc9b9c41b6eb0e815a0625b937ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Test script to check that syntax error in reset
# script is reported properly.

# at91eb40a target

#jtag scan chain
set _CHIPNAME syntaxtest
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf 

#target configuration
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi-s_r4

$_TARGETNAME configure -event reset-init { 

	syntax error
}