Problem uploading code with Olimex isp 500

I have been trying to upload code to the arduino with the Olimex programmer but every time I get the error: "did not find any USB device "usb"". It let me upload the bootloader correctly with the same setup, I only have this problem when uploading code.

in programmers.txt I added: ISP 500 Olimex olimexisp.communication=serial olimexisp.protocol=stk500v2

and in preferences.txt I changed: upload.using = bootloader to upload.using = olimexisp