I've programmed on my ATmega328 for a couple of months now through a USBISP (comparable to this something like ). However, during un unfortunate turning of events, I've lost access to it. I bought a couple of new ones, which on the exterior at least, look the same. However, when I'm running my makefile I get the following error:
avrdude -p atmega328p -P USB -c usbasp -u -B 5 -U flash:w:main.hex
avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'
I'm guessing this is because I bought the new one from China through eBay, resulting in a different version or ID.
How do I fix this? I've been looking trough my makefile but I can't find where I can change the ID's. Through my system info I get that it's a:
I've included my makefile in this post, too.
Big thanks, Christian