logo elektroda
logo elektroda
X
logo elektroda

[Solved] Usbasp Programmer Driver Issues: Arduino Mega 2560, ATmega2560, Zadig, Fischl.de & mkAVRCalculator

Michal1848 13740 21
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17302388
    Michal1848
    Level 8  
    Hello,
    I bought a usbasp programmer and I have a problem with drivers. I downloaded drivers from www.fischl.de, installed mkAVRCalculator and also with the help of the zadig program. In all cases, this error crashes me:
    Arduino: 1.8.5 (Windows 10), Board: "Arduino / Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    C: \ Users \ Admin \ AppData \ Local \ Arduino15 \ packages \ arduino \ tools \ avrdude \ 6.3.0-arduino9 / bin / avrdude -CC: \ Users \ Admin \ AppData \ Local \ Arduino15 \ packages \ arduino \ tools \ avrdude \ 6.3.0-arduino9 / etc / avrdude.conf -v -patmega2560 -cusbasp -Pusb -e -Ulock: w: 0x3F: m -Uefuse: w: 0xFD: m -Uhfuse: w: 0xD8: m -Ulfuse: at: 0xFF: m

    avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
    Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
    Copyright (c) 2007-2014 Joerg Wunsch

    System wide configuration file is "C: \ Users \ Admin \ AppData \ Local \ Arduino15 \ packages \ arduino \ tools \ avrdude \ 6.3.0-arduino9 / etc / avrdude.conf"

    Using Port: usb
    Using Programmer: usbasp
    avrdude: Warning: cannot query manufacturer for device: No such file or directory
    avrdude: Warning: cannot query product for device: No such file or directory
    avrdude: error: could not find USB device with vid = 0x16c0 pid = 0x5dc vendor = 'www.fischl.de' product = 'USBasp'

    avrdude done. Thank you.

    Error loading bootloader.

    I tried on two computers and the same. I am asking for help because I do not know what to do anymore, and I need to program the Aruino mega for a 3D printer
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 17302434
    kiss39
    Level 39  
    Hello

    The driver files have the * .inf extension, try to install from the Device Manager.

    Added after 1 [minutes]:

    Michal1848 wrote:
    and i need to program Aruino mega for 3D printer

    Arduino on what ATmange do you have?
  • ADVERTISEMENT
  • Helpful post
    #3 17302453
    Anonymous
    Level 1  
  • Helpful post
    #5 17302503
    Anonymous
    Level 1  
  • Helpful post
    #6 17302738
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • Helpful post
    #7 17302801
    onehour
    Level 11  
    I don't know what it is from, but the problem is avrdude in the Arduino IDE.
    Download the latest version of avrdude , unpack, then find the avrdude.exe file in the Arduino environment and replace it with the downloaded one.
    The problem likes to come back after updating the Arduino IDE software.
  • #8 17302918
    Michal1848
    Level 8  
    I have an arduino mega clone on the atmega 2560 16au at the usb socket, as my colleague previously wrote a 16-pin longitudinal layout, not described. After five arduino to usb, I have a problem that I fought with here http://forum.feriar-lab.pl/showthread.php?tid=127, i.e. after connecting the Arduino, there was an error that the descriptor request failed. My programmer is based on atmege 8a
    Usbasp Programmer Driver Issues: Arduino Mega 2560, ATmega2560, Zadig, Fischl.de & mkAVRCalculator1530259071...876538.jpg Download (3.78 MB)
    Usbasp Programmer Driver Issues: Arduino Mega 2560, ATmega2560, Zadig, Fischl.de & mkAVRCalculator1530259085...752228.jpg Download (4.04 MB)
    [Edit]
    Where should I paste this avrdude? Because I haven't found anywhere.
    And installing the drivers from the two posts above gives nothing.
    Attachments:
  • Helpful post
    #9 17303176
    kiss39
    Level 39  
    Step by step - Installing the USBasp Programmer driver

    The programmer is used to install the software if it has been damaged for some reason or to upload the program without using the environment, eg IDE

    The USBasp programmer placed in the USB, preferably always the same USB in the PC, is for the future. We install drivers for the USB programmer manually from the Device Manager.

    In Device Manager, click "Right Mouse" (PM) on "USBasp" with a yellow exclamation mark and drop down the list from the list, select "Properties" in the "Properties: USBasp" window in the "USBasp Properties" window, select "Update Driver", a new window appears "Driver update wizard -" USBasp "here you select the option" Browse my computer for software ". In the new window "Search for driver software on this computer" you select the option "Let me choose from the list of device drivers on my computer". After entering this option, the next window appears with a list of devices, here you select the option "Show all devices" and then go "Next" in the "Select the driver you want to install for this hardware" window you enter the "Have disk .." option and in the next window (7) "Installing from disk from" Browse ... "you select the directory with the USBasp driver (previously unpacked) Drivers-USBasp-Programator.zip and you are looking for a file with the * inf extension, i.e. "your_file" (and it will be your_file.inf file), select this file and accept it with "OK", in the next window you have already confirmed the USBasp driver "Isert device description", click further confirm the warning and after acceptance, you have a window about successfully updating and uploading the driver software for the USBasp Programmer. You close all windows and check in Device Manager if the USBasp programmer driver is installed.

    Step-by-step screenshots of the USBasp Programmer instance stage
    Usbasp Programmer Driver Issues: Arduino Mega 2560, ATmega2560, Zadig, Fischl.de & mkAVRCalculator Usbasp Programmer Driver Issues: Arduino Mega 2560, ATmega2560, Zadig, Fischl.de & mkAVRCalculator Usbasp Programmer Driver Issues: Arduino Mega 2560, ATmega2560, Zadig, Fischl.de & mkAVRCalculator


    greetings kiss39
  • Helpful post
    #10 17303187
    Mandeson
    Level 11  
    I had the same error. The reason was too old firmware uploaded to usbasp. Avrdude itself works with such a programmer, and Arduino ide requires a newer software.
  • Helpful post
    #11 17303275
    Anonymous
    Level 1  
  • Helpful post
    #12 17303495
    onehour
    Level 11  
    You can find Avrdude in the Arduino installation folder: hardware / tools / avr / bin.
    In place of the old avrdude.exe, put the previously downloaded one there, as I wrote.
    Before you copy the new file, you can change the name of the old one, for example by adding a number at the end so that in case of any problems you can easily undo the changes.
  • ADVERTISEMENT
  • Helpful post
    #13 17303510
    kiss39
    Level 39  
    First stage - correct installation of Arduino Drivers with the IDE environment
    1. Correctly finding and installing Ardiono ATmega2560
    As my colleague emarcus wrote, there is no need to upload (burn) the bootloader again as you have loaded the codes via the IDE, unless you have uploaded other software. Sometimes the correct finding and installation of Arduino can block the USB modem, for example, USB modem, and it is better to remove all such devices from the USB for the time of installation and testing, because they may occupy COM ports.

    Arduino - connection and software installation On the example of Arduino Uno Rev3

    This is how the driver should be correctly found and installed after plugging into USB - visible in Device Manager on the example "Arduino Leonardo ATmega32u4"
    Usbasp Programmer Driver Issues: Arduino Mega 2560, ATmega2560, Zadig, Fischl.de & mkAVRCalculator
  • #14 17303582
    Michal1848
    Level 8  
    Installing drivers from the arduino environment does not change anything and I know what a properly connected arduino looks like because I have a working Leonardo
    Usbasp Programmer Driver Issues: Arduino Mega 2560, ATmega2560, Zadig, Fischl.de & mkAVRCalculator
  • Helpful post
    #15 17303640
    simw
    Level 27  
    Michal1848 wrote:
    Installing drivers from the arduino environment does not change anything and I know what a properly connected arduino looks like because I have a working Leonardo

    Everything indicates that you have this module damaged. Unable to read descriptor indicates this. Probable connection error, maybe bad USB resistors, or maybe the IC itself is dead. I would start by checking if the pins from the USB port have a "transition" to the chip.
    Sometimes it also happens that the Chinese install wrong resistors on USB circuits, especially those from USB- to the supply voltage. There should be a resistor of about 1.5 kOhm
  • #16 17303679
    Michal1848
    Level 8  
    Only the Arduino was programmed by the manufacturer of the 3D printer but Marlin was not fully configured. I bought the same arduino https://www.ledats.pl/pl/plyty-bazowe-i-shild...2560-r3.html?search_query=arduino&results=126 by allegro from ledats because I thought it was damaged and I wanted to buy an Arduino mega for a long time. I have just written to the seller a question whether they have drivers and so far waiting for a response. Will try to contact the seller of the 3D printer.
  • Helpful post
    #17 17303730
    kiss39
    Level 39  
    Michal1848 provide the link what you have uploaded to this ATmega2560.
  • #18 17303813
    Michal1848
    Level 8  
    I mean? Rudders, marlin?
    In general, it was like that immediately after connecting
  • #19 17324149
    Michal1848
    Level 8  
    After installing these controls http://www.5v.ru/zip/ch341ser.zip (with abc-rc) there is progress (screen)
    Usbasp Programmer Driver Issues: Arduino Mega 2560, ATmega2560, Zadig, Fischl.de & mkAVRCalculator
    And what's next? I couldn't find anything on the net.
    And when I try to upload the program (Marlin 1.1x), it shows me this error:
    Arduino: 1.8.5 (Windows 10), Board: "Arduino / Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    The sketch uses 85,682 bytes (33%) of program memory. The maximum is 253952 bytes.
    Global variables use 2,956 bytes (36%) of dynamic memory, leaving 5,236 bytes for local variables. The maximum is 8192 bytes.
    C: \ Users \ Admin \ AppData \ Local \ Arduino15 \ packages \ arduino \ tools \ avrdude \ 6.3.0-arduino9 / bin / avrdude -CC: \ Users \ Admin \ AppData \ Local \ Arduino15 \ packages \ arduino \ tools \ avrdude \ 6.3.0-arduino9 / etc / avrdude.conf -v -patmega2560 -cwiring -PCOM14 -b115200 -D -Uflash: w: C: \ Users \ Admin \ AppData \ Local \ Temp \ arduino_build_111146 / MarlinSconfiguredV1.0.ino .hex: i

    avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
    Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
    Copyright (c) 2007-2014 Joerg Wunsch

    System wide configuration file is "C: \ Users \ Admin \ AppData \ Local \ Arduino15 \ packages \ arduino \ tools \ avrdude \ 6.3.0-arduino9 / etc / avrdude.conf"

    Using Port: COM14
    Using Programmer: wiring
    Overriding Baud Rate: 115200
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: ser_send (): write error: sorry no info avail
    avrdude: stk500_send (): failed to send command to serial port
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: ser_send (): write error: sorry no info avail
    avrdude: stk500_send (): failed to send command to serial port
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: stk500v2_ReceiveMessage (): timeout
    selected serial port avrdude: stk500v2_ReceiveMessage (): timeout
    does not exist or your PCB is not connected
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: stk500v2_getsync (): timeout communicating with programmer

    avrdude done. Thank you.
  • Helpful post
    #20 17324430
    Anonymous
    Level 1  
  • #21 17324881
    Michal1848
    Level 8  
    emarcus wrote:
    It looks like you are not reading the posts or you are not paying attention to what is written in them.
    After all, I sent you the same driver 2 weeks ago; as an attachment to post # 11.
    You did not notice?!...........

    I installed all the drivers that I got, I don't know why, but then it didn't work and now it does.
    I took another cable and it works! The cable I tried on earlier, I was sure that it was good because a regular printer worked on it.
    Thanks to everyone for your willingness to help :) And I close the topic :)
  • #22 17324884
    Michal1848
    Level 8  
    Thanks again to everyone!

Topic summary

The discussion revolves around issues faced by a user with a USBasp programmer while trying to program an Arduino Mega 2560 using the Arduino IDE on Windows 10. The user encountered driver installation problems despite downloading drivers from Fischl.de and using Zadig. Various responses suggest checking driver installation via Device Manager, ensuring the correct version of avrdude is used, and considering the possibility of hardware issues with the USBasp or the Arduino board itself. Some users noted that programming can often be done directly via USB without a programmer for most Arduino boards, except for certain versions. Ultimately, the user resolved the issue by switching to a different USB cable, which allowed successful communication with the Arduino.
Summary generated by the language model.
ADVERTISEMENT