silikonpon.blogg.se

Qinheng electronics hl-340 usb-serial adapter linux
Qinheng electronics hl-340 usb-serial adapter linux




qinheng electronics hl-340 usb-serial adapter linux
  1. Qinheng electronics hl 340 usb serial adapter linux how to#
  2. Qinheng electronics hl 340 usb serial adapter linux serial#
  3. Qinheng electronics hl 340 usb serial adapter linux manual#
  4. Qinheng electronics hl 340 usb serial adapter linux code#
  5. Qinheng electronics hl 340 usb serial adapter linux download#

usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 2-1: New USB device found, idVendor=10c4, idProduct=ea60 usb 2-1: new full-speed USB device number 4 using xhci_hcd usb 3-1.4: pl2303 converter now attached to ttyUSB1īus 003 Device 032: ID 067b:2303 Prolific Technology, Inc. usb 3-1.4: Manufacturer: Prolific Technology Inc. usb 3-1.4: Product: USB-Serial Controller

qinheng electronics hl-340 usb-serial adapter linux

usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 3-1.4: New USB device found, idVendor=067b, idProduct=2303 usb 3-1.4: new full-speed USB device number 32 using ehci-pci Thanks to Daniel for soldering the DTR and RTS wires onto the extremely thin SSOP pins. These are probably counterfeit chips, too, but who knows? Also, they don’t really work in Windows, after Prolific disabled support for counterfeit devices (though sometimes I wonder how they even know).

qinheng electronics hl-340 usb-serial adapter linux

Hilariously, these come shrink wrapped in plastic, because the USB plug support posts aren’t even soldered! The esptool programmer always stops flashing at some percentage point. But they always fail for me while programming the esp8266, with the following errors:Ī fatal error occurred: Invalid head of packetįile "./esptool.py", line 70, in _init_įile "/usr/local/lib/python2.7/dist-packages/serial/serialutil.py", line 180, in _init_įile "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 311, in openįile "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 605, in _update_dtr_stateįcntl.ioctl(self.fd, TIOCMBIS, TIOCM_DTR_str)

Qinheng electronics hl 340 usb serial adapter linux serial#

You can get these for about 3 EUR on eBay, and they work reasonably well as plain USB serial adapters.

Qinheng electronics hl 340 usb serial adapter linux code#

The code is on Github here.įTDI FT232RQ (4D Systems uUSB-PA5 Adapter) I’ve created a test script to test each USB adapter, using a variety of baud rates. Also, the adapters all become interchangeable, which improves test consistency. The trace wires are shorter and more uniform this way, and there’s less chance of screwing up the adaptation wiring. Improved upon Version 1, by making a common header layout for programming: 5V (red), GND (green), DTR (yellow), RTS (blue), TX (orange), RX (gray).

Qinheng electronics hl 340 usb serial adapter linux manual#

Two other programming circuits on board require manual reset/mode selection and do not work. Only works with the 4D Systems uUSB-PA5 Adapter. Here are the perfboards I built to program the modules: Here are the results when testing the adapters at various baud rates with the following modules:

qinheng electronics hl-340 usb-serial adapter linux

Qinheng electronics hl 340 usb serial adapter linux how to#

(Or you could send me one, I’d be happy.)Īlso feel free to drop me any questions you might have about getting set up with the esp8266, I’ve got way more brain damage learning how to do this myself, so perhaps I could share some of it with you!īuy either an adapter with a genuine FTDI chip, or one of the Silicon Labs CP2102 chips. If there are any modules I’ve missed, or you think I should test, feel free to drop me a line with a link to where I can buy one. G – Silicon Labs CP2104 (blue PCB, from eBay)

Qinheng electronics hl 340 usb serial adapter linux download#

This page is a collection of reviews of the serial adapters I’ve used, which specifically have support for the DTR / RTS signaling used to automatically reset the esp8266 and put the chip into UART firmware download mode.Ī – FTDI FT232RQ (4D Systems uUSB-PA5 Adapter, available here)ī – FTDI FT232RL (Chinese YP-05 counterfeit, from eBay)Ĭ – FTDI FT232H (genuine C232HD-EDHSP-0 cable, available here)ĭ – Prolific PL2303HX (probably counterfeit, from eBay)Į – Silicon Labs CP2102 (black PCB, from eBay)į – Silicon Labs CP2102 (red PCB, from eBay) This had me tearing my hair out for a few weeks, as I tried replacing everything besides the serial adapter, which I had assumed could not possibly be the culprit.Īfter all, USB-to-serial conversion is a solved problem, right? When I first started using the esp8266, I had some serious problems getting esptool.py and esptool-ck working, due to one model of super-flaky, cheap USB serial adapter not working. That is what is keeping your esptool.py or esptool-ck flash download from working. It’s not you, it’s the crappy counterfeit FTDI chip in your USB to serial adapter. max on Provisioning OS X and Disabling Unnecessary Services.Gary Marks on Why Are My Backups So Slow?.FT on Google Spreadsheet Geocoding Macro.max on Google Spreadsheet Geocoding Macro.Shrinkr: Using SCons To Transcode Media.Reusing ssh-agent from Git Bash in Visual Studio Code.






Qinheng electronics hl-340 usb-serial adapter linux