logo elektroda
logo elektroda
X
logo elektroda

An error occurred loading the sketch - Arduino Mega 2560 clone

MkkGxPompa 6510 7
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16965746
    MkkGxPompa
    Level 5  
    Hello,
    I have the arduino mega 2560 clone, this is my first adventure with arduino, and as always, I have a problem that sounds like this:
    ,, The sketch uses 66548 bytes (26%) of program memory. The maximum is 253952 bytes.
    Global variables use 2,919 bytes (35%) of dynamic memory, leaving 5,273 bytes for local variables. The maximum is 8192 bytes.
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: stk500v2_ReceiveMessage (): timeout
    avrdude: stk500v2_getsync (): timeout communicating with programmer
    There was an error loading the sketch "
    what does this mean and what do ribs solve this problem?
    thanks in advance for your answer
    (PS- please do not reply in this way that the internet is full of it.d. I was looking for but I don't know anything about it, I'm green in the subject)

    Added after 1 [minutes]:

    I will add that I tested with a different USB cable, and installed the program when nothing was connected to the arduino
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • Helpful post
    #2 16965836
    rafcio_21
    Level 29  
    I also use the same clones and if I do not want to load something, I pull out the USB cable and insert it back and usually it helps me check if you have something connected to the hardware rs because it also does not upload and crashes.
    Of course, I assume that all the drivers you have installed and arduino is visible after connecting to the computer, the port you have also selected suitable for uploading?
  • ADVERTISEMENT
  • #3 16965864
    MkkGxPompa
    Level 5  
    so yes I had a USB stick connected to the computer, I took it out, connected the arduino, installation of USB 2.0 drivers (this is also the arduino) and installation was unsuccessful, where can I download drivers for the arduino clone>? and I had visible port com 1
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #5 16966033
    MkkGxPompa
    Level 5  
    I have already solved the problem by downloading the drivers http://support.printo3d.pl/download/ the same as in the post above, thanks for all the answers, and now if I install marlin on arduino, I will connect the ramps and the display will not display anything on it (but the display lights up), I have already connected the stepper motors
  • #6 16966190
    rafcio_21
    Level 29  
    Write how you pinned it all up or upload photos with the same sketch.
  • #7 16967314
    MkkGxPompa
    Level 5  
    In the first attachment is my set, while in the second the connection (there is a shield in the attachment, but I have the ramps, but the connections are the same), what I have not yet blurred, under the stepsticks I bridged some pins, as in the video yt (I watched a few and each he did it)
    And then the question about the table, can I buy a 20x20 heater for a 30x30 table (I will stick it under the table for 20x20 abs while the beach does not require a heated table, can I do it?

Topic summary

The discussion revolves around troubleshooting an error encountered while uploading a sketch to an Arduino Mega 2560 clone. The user experiences a timeout error during the upload process, which is common with Arduino clones. Suggestions include checking USB connections, ensuring the correct COM port is selected, and installing the appropriate drivers for the CH341 USB-to-serial chip. The user successfully resolves the issue by downloading the necessary drivers. Further inquiries about connecting components like ramps and displays, as well as questions regarding heater compatibility for 3D printing, are also addressed.
Summary generated by the language model.
ADVERTISEMENT