I found the solution , in the document one line of the configuration file has been given as 2 that is causing the problem .
Explained in the snap attached ,
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -
this has to be in config file as
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
Please change in the document
correction.JPG 25.4 K
Are you following all the instruction given in Programmer's manual chapter 12?
Otherwise we can have a quick team viewer session.