Move TCL script files -- Step 2 of 2:
[fw/openocd] / tcl / target / test_reset_syntax_error.cfg
1 # Test script to check that syntax error in reset
2 # script is reported properly.
3
4 # at91eb40a target
5
6 #jtag scan chain
7 set _CHIPNAME syntaxtest
8 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf 
9
10 #target configuration
11 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
12 target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi-s_r4
13
14 $_TARGETNAME configure -event reset-init { 
15
16         syntax error
17 }