Plug the 6-pin cable of your Olimex AVR-ISP500 into the ICSP header of your Arduino Uno. Make sure Pin 1 of the cable (often marked with a red stripe on the cable or mark on the connector) matches Pin 1 of the ICSP header.

I did try all you said with aew chip and a working UNO. I thought the problem was that the UNO was powered before. but that did not change anything. If I try the AVRISP mkII, I get "avrdude: usbdev_open(): did not find any USB device "usb" from the Arduino 0022 message box. I know that the Olimex and UNO works fine because I can sent an other file I had in hex using avrdude.If I try using the AVR ISP 500 Olimex that I installed using the following in programmers.txt

mexisp.name=AVR ISP 500 Olimexolimexisp.communication=serialolimexisp.protocol=stk500v2I get a long list of error