Today I got an USBASP 2.0 interface, and wanted to use it with AVRDude, installed together with GCBasic and updated (Presently I use Kanda's ISP2 with W7 x64 but will PERHAPS migrate to FreeBSD in a near future). After installing the drivers I tested it from GCBasic and "standalone" with AVRDudess. No context was satisfying. I adjusted first the parameters inside AVRDudess :
Programmer : USBASP
System clock automatically set to 1.5 MHz
Verify and Erase activated.
I removed the « voltage » jumper, I think otherwise the USBASP powers the application board (in my case ST200).
I think the remaining parameters are automatically generated by GCBasic (or not ? )
There was an error message :
avrdude.exe: ser_open(): can't open device "\\.\COM4": Le fichier spécifié est introuvable. ( = File cannot be found)
I added the missing informations in AVRDudess (especially processor and the name of the Hex file) and used it directly, "something" happened but at the end I got a verify error at Byte 0000. The most important message in my eyes was :
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
Connecting again ISP2 I saw that flash memory had been erased but not programmed.
So, what can I do ? I tested several values for clock without success.
Thanks for any answer ...