[SOLVED]Problems using USBasp with Arduino IDE 1.6.10/Arduino AVR Boards 1.6.12


update: problem solved installing different windows driver. see http://forum.arduino.cc/index.php?topic=415210.msg2862244#msg2862244 instructions.


original post:
i excited see arduino ide 1.6.10/arduino avr boards 1.6.12 includes avrdude 6.3 seems causing me problems usbasp.

the first problem ran is:
code: [select]
c:\program files (x86)\arduino-1.6.10\hardware\tools\avr/bin/avrdude -cc:\program files (x86)\arduino-1.6.10\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cusbasp -pusb -e -ulock:w:0x3f:m -uefuse:w:0x05:m -uhfuse:w:0xde:m -ulfuse:w:0xff:m

avrdude: version 6.3, compiled on jun 22 2016 @ 16:05:21
         copyright (c) 2000-2005 brian dean, http://www.bdmicro.com/
         copyright (c) 2007-2014 joerg wunsch

         system wide configuration file "c:\program files (x86)\arduino-1.6.10\hardware\tools\avr/etc/avrdude.conf"

         using port                    : usb
         using programmer              : usbasp
avrdude: warning: cannot query manufacturer device: no such file or directory
avrdude: warning: cannot query product device: no such file or directory
avrdude: error: not find usb device vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='usbasp'

avrdude done.  thank you.

error while burning bootloader.

apparently avrdude 6.3 checks usbvendor , usbproduct product entries in avrdude.conf correct. looking @ avrdude.conf saw issue has been addressed usbasp-clone entry. added following entry programmers.txt:
code: [select]
usbaspclone.name=usbasp clone
usbaspclone.communication=usb
usbaspclone.protocol=usbasp-clone
usbaspclone.program.protocol=usbasp-clone
usbaspclone.program.tool=avrdude
usbaspclone.program.extra_params=-pusb

with tools > programmer > usbasp clone selected when try do tools > burn bootloader get:
code: [select]
c:\program files (x86)\arduino-1.6.10\hardware\tools\avr/bin/avrdude -cc:\program files (x86)\arduino-1.6.10\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cusbasp-clone -pusb -e -ulock:w:0x3f:m -uefuse:w:0x05:m -uhfuse:w:0xde:m -ulfuse:w:0xff:m

avrdude: version 6.3, compiled on jun 22 2016 @ 16:05:21
         copyright (c) 2000-2005 brian dean, http://www.bdmicro.com/
         copyright (c) 2007-2014 joerg wunsch

         system wide configuration file "c:\program files (x86)\arduino-1.6.10\hardware\tools\avr/etc/avrdude.conf"

         using port                    : usb
         using programmer              : usbasp-clone
         avr part                      : atmega328p
         chip erase delay              : 9000 us
         pagel                         : pd7
         bs2                           : pc2
         reset disposition             : dedicated
         retry pulse                   : sck
         serial program mode           : yes
         parallel program mode         : yes
         timeout                       : 200
         stabdelay                     : 100
         cmdexedelay                   : 25
         syncloops                     : 32
         bytedelay                     : 0
         pollindex                     : 3
         pollvalue                     : 0x53
         memory detail                 :

                                  block poll               page                       polled
           memory type mode delay size  indx paged  size   size #pages minw  maxw   readback
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         programmer type : usbasp
         description     : usbasp clone correct vid/pid

avrdude: error: usbasp_transmit: no such file or directory
avrdude: auto set sck period (because given equals null)
avrdude: error: usbasp_transmit: no such file or directory
avrdude: warning: cannot set sck period. please check usbasp firmware update.
avrdude: error: usbasp_transmit: no such file or directory
error while burning bootloader.
avrdude: error: usbasp_transmit: no such file or directory
avrdude: error: program enable: target doesn't answer. 0
avrdude: initialization failed, rc=-1
         double check connections , try again, or use -f override
         check.

avrdude: error: usbasp_transmit: no such file or directory

avrdude done.  thank you.

i have similar results sketch > upload using programmer.

i've tried variety of usbasp firmwares: fischl v1.04, baite, usbasp v2.0 lc technology, petervh's v1.05, , bperrybap/petervh's v1.06-alpha-2016-05-18 connected uno , mega, same result.

with arduino ide 1.6.9 , previous works fine. difference in commands between 1.6.9 , 1.6.10 avrdude path, avrdude.conf path, , programmer type:
code: [select]

c:\program files (x86)\arduino-1.6.9\hardware\tools\avr/bin/avrdude -cc:\program files (x86)\arduino-1.6.9\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cusbasp -pusb -e -ulock:w:0x3f:m -uefuse:w:0x05:m -uhfuse:w:0xde:m -ulfuse:w:0xff:m
c:\program files (x86)\arduino-1.6.10\hardware\tools\avr/bin/avrdude -cc:\program files (x86)\arduino-1.6.10\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cusbasp-clone -pusb -e -ulock:w:0x3f:m -uefuse:w:0x05:m -uhfuse:w:0xde:m -ulfuse:w:0xff:m

if tries using usbasp arduino avr boards 1.6.12(included arduino ide 1.6.10) pretty please let me know results are.

two other users have reported working fine them.

i'm wondering if might windows specific issue(i'm using windows 7).

i've tried 6 different usbasps, 3 different models, on 2 computers multiple ide versions, same results: using arduino avr boards 1.6.12 can't usbasp work, other version works fine ide version(including 1.6.10).

usbtinyisp , arduino isp work fine me after making change boards.txt: https://github.com/arduino/arduino/pull/5182

if turns out bug i'll submit pull request or issue report arduino developers. if necessary i'll publish workaround , make installable via boards manager if possible. have other types of programmers can use , other ide versions installed, main reason want find solution because issue potentially affect future changes may need made multiple 3rd party boards packages i'm involved ensure toolchain compatibility users.


Arduino Forum > Using Arduino > Microcontrollers > [SOLVED]Problems using USBasp with Arduino IDE 1.6.10/Arduino AVR Boards 1.6.12


arduino

Comments

Popular posts from this blog

Valutazione Template - Joomla! Forum - community, help and support

SD Datastring Convention

First use of Arduino Uno : avrdude error on Blink uploading