USBasp problems

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
Post Reply
Spudman1977
Posts: 4
Joined: Sun Oct 30, 2016 7:08 am
Country: -

USBasp problems

Post by Spudman1977 »

g'day all,

Have being trying to read my transmitter with eepe. I have a first gen turnigy. I am sure you get this all the time,

Running windows 10. Getting the following message

Started AVRDUDE
C:/Program Files (x86)/eePe/avrdude.exe -c usbasp -p m64 -U eeprom:r:C:/Users/Dave/AppData/Local/Temp/temp.hex:i
=================================================================================
avrdude.exe: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc

=================================================================================
AVRDUDE done - exit code 1
=================================================================================

My settings are

Programmer usbasp
mcu m64
port (left empty)

any help would be appreciated
cheers and thanks

Dave

User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: USBasp problems

Post by Kilrah »

You didn't install the drivers for the usbasp.
Spudman1977
Posts: 4
Joined: Sun Oct 30, 2016 7:08 am
Country: -

Re: USBasp problems

Post by Spudman1977 »

Thanks mate, thought l had installed latest driver, where will l find the latest update.

cheers and thanks

Dave
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: USBasp problems

Post by kalle123 »

Spudman1977 wrote:....where will l find the latest update.
-> http://zadig.akeo.ie/

and have a look here viewtopic.php?t=8831
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: USBasp problems

Post by Kilrah »

Don't have a link at hand, but a search for USBASP drivers should point you to something.

User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: USBasp problems

Post by KAL »

Maybe this or this can help.

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: USBasp problems

Post by kalle123 »

Was not referring to Taranis, but to usbasp driver!

http://www.fischl.de/usbasp/ points to the driver download, I posted and it works here
Bildschirmfoto8.jpeg
Just did a test under WinXP (normally I am under Linux) and the usbasp driver works fine.
Don't understand, what the issue with my first post could be?

Code: Select all

C:\>C:\Programme\Arduino\hardware\tools\avr/bin/avrdude -CC:\Programme\Arduino\h
ardware\tools\avr/etc/avrdude.conf -v -patmega328p -cusbasp -Pusb -Uflash:w:C:\test/Konverter_2016-10-19.hex:i

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Programme\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : usbasp
         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  Max W   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  36 00 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  45 00 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  45 00 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  45 00 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  45 00 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  45 00 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, http://www.fischl.de/usbasp/

avrdude: auto set sck period (because given equals null)
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x1e950f
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as 5
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: auto set sck period (because given equals null)
avrdude: reading input file "C:\test/Konverter_2016-10-19.hex"
avrdude: writing flash (3826 bytes):

Writing | ################################################## | 100% 1.70s

avrdude: 3826 bytes of flash written
avrdude: verifying flash memory against C:\test/Konverter_2016-10-19.hex:
avrdude: load data flash data from input file C:\test/Konverter_2016-10-19.hex:
avrdude: input file C:\test/Konverter_2016-10-19.hex contains 3826 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.47s

avrdude: verifying ...
avrdude: 3826 bytes of flash verified

avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as 5
avrdude: safemode: Fuses OK (H:05, E:DA, L:FF)

avrdude done.  Thank you.


C:\>
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: USBasp problems

Post by Kilrah »

Oh, seems the installation being possible using Zadig is new, wasn't aware of it, sorry. Used to be zip packages.
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: USBasp problems

Post by kalle123 »

OK, Kilrah ;)

... and as I found out, this "libusb-win32" driver found in zadig is working also under WIN 10
(source -> http://www.heesch.net/post/usb-asp-arduino-windows10 - Sorry, text in German)
Spudman1977
Posts: 4
Joined: Sun Oct 30, 2016 7:08 am
Country: -

Re: USBasp problems

Post by Spudman1977 »

Hi guys

seems l have the latest usbasp driver installed, checked and installed correctly, but still getting this. This may seem silly to ask, but does it really matter what usb device on your pc you plug into?

cheers

Dave

=================================================================================
Started AVRDUDE
C:/Program Files (x86)/eePe/avrdude.exe -c usbasp -p m64 -U eeprom:r:C:/Users/Dave/AppData/Local/Temp/temp.hex:i
=================================================================================
avrdude.exe: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc

=================================================================================
AVRDUDE done - exit code 1
=================================================================================
Spudman1977
Posts: 4
Joined: Sun Oct 30, 2016 7:08 am
Country: -

Re: USBasp problems

Post by Spudman1977 »

Forgot to mention in my previous above post. If there a specific file you need to install USBasp into.

Thanks guys, this is new for me so l am just learning.

cheers

Dave
User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: USBasp problems

Post by KAL »

Yesterday I found that arduino IDE (1.6.10) only works with WinUSB drivers provided by Zadig (2.2).
But avrdude provided with eepe (er9x) doesn't work with this driver.

On the other hand avrdude (eepe) works with libusbk and libusb-win32, but arduino IDE doesn't.

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

Post Reply

Return to “er9x”