avrdude usbdev_open() did not find any usb device usb / AVRiSP mkII programmer

Hi,

I have trouble uploading programs to my ATMEL32U4 chip with a AVRiSP mkII programmer.
I tried pretty much each and every solution suggested in this forum but none of them would work.

My problem :

  • I use a AVRiSP mkII programmer to upload firmwares to a ATMEL32U4 chip (the same as used in a Leonardo) which is installed on a custom PCB.
  • I first burnt a bootloader to the chip with the programer, it worked well.
  • I managed to upload different programs to the chip with the programer and it worked perfectly.
  • But most of the time, after uploading successfully a few times in a row (1-5 times within minutes), trying to upload once more (just a few seconds after the last success) would cause the error :
    "avrdude usbdev_open() did not find any usb device usb".
    And from then on, I have to wait until at least the next day in order to get it to work again.

Do you have any idea of what I could do to solve this ?

Thank you very much.

PS I am using OSX 10.9.5 and Arduino IDE 1.0.5