"Failed to access instruction register" - HJTAG.. help

Hello,

I have got a LPC2129 development board. I am using Keil uVision4 + wiggler with H-JTAG.

I am able to detect the target. And am abke to load the hex file and also set breakpoints, single step etc.

But, all this is only possible in start.s

When the program reaches main(), H-JTAG throws an

error : “Failed to access instruction register”.

Followed by : “Connection to server has been closed due to some error” and debug window closes.

Can anybody tell me what is going on? How to I fix this?

Anything to do with .ini file ?

I have googled a lot but in vain as all relevant search hits were in Chinese!

Regards,

smd