Problem with flashing an AT91SAM7

Hey guys,

I encounter a problem when I try to flash an AT91SAM7S256. I have connected via putty to the Olimex ARM-USB-TINY to the Microcontoller and get follwing error when I try to flash it:

>flash write_bank 0 C:/Users/Schildch/cppWorkspace/remote_mc/Debug/remote_mc.elf 0
error writing to flash at address 0x00100000 at offset 0x00000000

Does anybody know what I could do or what that exactly means?

I have tested to halt, reset, errase the microcontroller with putty and it worked fine. OpenOCD also connects normally. The elf file was compiled with eclipse.