Imote2 - OpenOCD - Debugging

Hi,

I have been debugging the Microframework. But when it reaches the point where USB_Driver initlialize function (in the microframework) is called. The following error seems to occur

Failed to receiving data from debug handler after 1000 attempts

time out writing RX register

time out writing RX register

Remote connection closed

Any idea why this error is happening

Thanks in advance