-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arduino Nano ATmega328 (old bootloader) cannot open connection #23
Comments
:-) |
Actually, what is the VID:PID? |
The VID is: 1A86 and PID: 7523 |
Found the issue, I'll have time on Sunday to fix it. Thanks for locating the bug! |
I fixed this problem with below codes in 'UartWinCH34x.java'. // USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_OUT private static final byte REQTYPE_HOST_TO_INTERFACE = (byte) (UsbConstants.USB_TYPE_VENDOR | UsbConstants.USB_DIR_OUT); // USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN private static final byte REQTYPE_INTERFACE_TO_HOST = (byte) (UsbConstants.USB_TYPE_VENDOR | UsbConstants.USB_DIR_IN); |
Please make a pull request. |
It seems that the library is not able to open a connection with my Arduino Nano ATmega328 (old bootloader) even if it is correctly identified. It is something related to the UART protocol, I suppose. The following is the avrdude output while uploading from Arduino IDE:
This is the log of the library while trying to open a connection: (I changed some log to report more data)
What I get is that it doesn't receive any data from the Arduino during the init phase. Can someone please help me understanding the problem or redirecting me to some documentations/specifications?
The text was updated successfully, but these errors were encountered: