Go Down

Topic: Windows 10 and CH340 (Read 224941 times) previous topic - next topic

superunowned

Success! My Uno now works on my win 10 pc.
 
The solution was as suggested by ( ballscrewbob - thank you) disable driver signature enforcement.
 
This was done according to "How to geek". - Enable test signing mode. - Windows power shell (Admin) and to testsigning off when through.

CH341 driver then works
How did you do this? I really couldn't do anything. :/

ballscrewbob

There are multiple ways to turn off "driver enforcement" from single instance to multiple instance to always.

Just google "turn off driver enforcement (your OS HERE)"

The CH340/341 drivers are HERE

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

heninsh

Hello,

Now I am back to use arduino clone with ch340 driver. I instaled ch340 driver x64, but not working.

Can someone please write step by step instruction to help me?

I am using windows 10 and arduino 1.8.5.

Thank you !

ballscrewbob

Did nothing else in this post help ?

Everything is in this thread for CH340 and win 10.
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

heninsh

I googled "turn off driver enforcement" and did all steps. After that I re-instaled ch340 driver fallowing your link.

But nothing. :(

ballscrewbob

And you are using USB 2.0 ports I assume ?

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

septillion

Are you sure it's a CH340?

What does device manger tell you?
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

heninsh

Yes, I am using USB 2.0 port and driver is CH340G.

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 1666 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x77
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x77
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x77
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x77
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x77
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x77
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x77
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x77
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x77
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x77

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

septillion

That's not device manager, that's Arduino IDE... For as we know you selected the wrong COM port or a broken Arduino.
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

heninsh

Com port was correct.

Arduino last time I programmed with avr through ICP.

septillion

AHHHHHHH, then there is no bootloader in it ;) Connect the programmer again, select the right board and programmer and click burn bootloader.
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

heninsh

This morning I tried to program through USB arduino nano clone with same ch340g and everything works fine.


Okey, at evening I will try this: https://www.arduino.cc/en/Hacking/Bootloader

per4

Have try all solution.
Not work. Power come to Arduino, but no com3 port see. Have new cable.

Last I change USB cable again and everything OK now!!!

heninsh

#28
Nov 25, 2017, 09:50 pm Last Edit: Nov 25, 2017, 10:12 pm by heninsh
So, I can't get back bootloader on my arduino.

I am using DIAMEX AVR programmer.

So what I did. I connected DIAMEX AVR programmer to ICPS and powered arduino uno through USB. Choose 1) board: Arduino UNO, 2) port: where I connected AVR programmer, 3) programmer:AVR ISP and then click "burn bootloader", after some minutes error comes out.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03
Error while burning bootloader.

I tried USBasp too. Then error comes out right away.

DIAMEX AVR programmer is connected right. If I use "Export compiled binary" and then upload hex files through AVR Studio 4 everything works nice. I tried upload hex file with bootloader too and then arduino through usb, but nothing.

So what I do wrong?


UPDATE: I did this:https://startingelectronics.org/tutorials/arduino/arduino-uno-burning-bootloader-avr-studio/ and everything works now !!!

Thank you a lot for your help !

DR2727

[FIXED MY PROBLEM]

[PROBLEM]
No port is showing up in Arduino IDE.
Code 10 - This device cannot start ( Code 10 ) in device manager.


[SYSTEM]
Windows 10 x64

[HARDWARE]
Arduino Mega 2560 (Clone - SMD Chip)

[WHAT I TRIED]
- Automatically updating my drivers
- Manually updating my drivers
- Rebooting
- Plugging in a clone Arduino UNO with the SMD chip
- Verifying the Arduino IDE settings were correct:
   Tools>
     - Board (selected the Mega 2560 and Arduino UNO - appropriately)
     - Processor: 2560 for the Mega, N/A for the UNO.
     - Programmer: AVRISP mkll


[SOLUTION]
Google Search> CH340 Drivers for Windows 
(Here's the link I used: https://sparks.gogo.co.nz/ch340.html)
Downloaded> Opened program> Clicked install (it will then grey out both install and uninstall)> rebooted laptop> Opened Arduino IDE and the port was now active again. I also checked device manager and both boards would show up with no more issues.

Go Up