Go Down

Topic: Why I can't upload my programs to the “CLONE ARDUINO UNO R3 ATmega328P CH340"? (Read 232 times) previous topic - next topic

smrkar

Why I can't upload my programs to the "CLONE ARDUINO UNO R3 ATmega328P CH340 mini USB"?
I use the newest Arduino IDE v.1.8.8 and the driver "CH341SER". I have no problem with "ARDUINO UNO R3 ATmega3289P DIL".

spycatcher2k

It's broke? Faulty USB lead? Wrong port selected in the IDE? Wrong board selected? Something plugged into pins 0 or 1? Didn't restart the computer after installing the driver?
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

sterretje

Adding to that, wrong processor selected in the IDE? Try the 'old boot loader' option.

Oops, missed the fact that this is an Uno.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

pert

Please do this:
  • File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
  • Sketch > Upload
  • After the upload fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
  • Paste the error messages in a reply here using code tags (</> button on the forum toolbar).

smrkar

Please do this:
  • File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
  • Sketch > Upload
  • After the upload fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
  • Paste the error messages in a reply here using code tags (</> button on the forum toolbar).

Arduino: 1.8.8 (Windows 7), Vývojová deska: "Arduino/Genuino Uno"

Dear "pert"!
maybe I did not check/uncheck properly all check-boxes in my Czech version of IDE nevertheless you could see the error messages below, please. For your information: board selection is "Arduino/Genuino Uno", Programmer: AVRISP mkII
 
Projekt zabírá 4384 bytů (13%)  úložného místa pro program. Maximum je 32256 bytů.
Globální proměnné zabírají 221 bytů (10%)  dynamické paměti, 1827 bytů zůstává pro lokální proměnné. Maximum je 2048 bytů.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
Problém s přenosem dat na vývojovou desku (board). Na http://www.arduino.cc/en/Guide/Troubleshooting#upload naleznete další doporučení.
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20

Táto zpráva by měla mít víc informacií v
"Zobrazení podrobného výstupu při kompilaci"
podle zapnuté volby v Soubor -> Nastavení.

smrkar

Adding to that, wrong processor selected in the IDE? Try the 'old boot loader' option.
Dear friend,
It's broke? Probably not, I have 2 pieces and I have the same problem with both.
Faulty USB lead? Probably not, I tested 2 pieces.
Wrong port selected in the IDE? No, I have checked it in PC control panel.
Wrong board selected? Board selection is "Arduino/Genuino Uno"
Something plugged into pins 0 or 1? No.
Didn't restart the computer after installing the driver? Yes.
Selection of Programmer: "AVRISP mkII" is OK

Go Up