AT91SAM7S256-EK programming reset problems

Hi,

I’ve been programming this board for servals mounths with Eclipse +openocd+wiggler.

Some time ago, durning normal work when everything goes ok, one error occured :

“arm_7_9_common.c:563 arm7_9_execute_sys+speed(): timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 1”

And after serval second the programming process stops.

But if I comment one line in script.ocd regarding user reset enable :

“mww 0xfffffd08 0xa5000401 # enable user reset AT91C_RSTC_RMR”

programming proces is ok, but i’ve to reset my board by unpluging power.

I think that its some problem with reset controler.

I’ve tried programming my board by H-flasher with the some result.

Also erasing Micro… by erase jumper didn’ work too.

Could You pleas help me with this problem?

Thanks,

Lukasz.