My cmm script is something like this :
..start of cmm script
""GTL config and GTL connect"" ""some JTAG.SHIFT operations""
JTAG.PIN DISable
system.mode prepare ;Need a reset here. I am trying this to reset my SoC
WAIT 10.MS ;this WAIT command is not working, no 10ms delay observed
system.down system.mode prepare
...end of cmm script