pitchnoob.blogg.se

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














You can see the difference when you plug the USB cable in and (on linux) type lsusb at the command prompt. This one is a QunHeng Electronics HL-340 USB Serial adapter. Note: Some of the Sainsmart 16-channel relays have a HID compatible chip. Type “apropos word” to search for commands related to “word”. Python controller for Sainsmart USB Relay SKU: 101-70-208 / QinHeng Electronics HL-340 USB-Serial adapter. Type “show configuration” for configuration details.įor bug reporting instructions, please see:įind the GDB manual and other documentation resources online at: This GDB was configured as “i686-linux-gnu”. There is NO WARRANTY, to the extent permitted by law. This is free software: you are free to change and redistribute it. License GPLv3+: GNU GPL version 3 or later For example, to make it as gdb-server listening on port 4242.įrom another PC (or the same PC, if host and server is on the same machine), we open gdb, and connect:Ĭopyright (C) 2014 Free Software Foundation, Inc. The avarice can be set as a gdb server mode, so we can debug the target removely. No configuration available for device ID: ffff

#Qinheng electronics hl 340 usb serial adapter ubuntu how to#

To debug, we can use another opensource, AvaRICE (from ubuntu, just do “apt-get install avarice”).įor example (this is just to show how to use it, as my ICE stick is not connected to any target device yet so it reports it “No configuration available for device ID: ffff”):

qinheng electronics hl-340 usb-serial adapter ubuntu

$ sudo avrdude -c avrisp -P /dev/ttyUSB0 -pm328p To use it as programmer, we can use avrdude: usb 3-2: ch341-uart converter now attached to ttyUSB0 usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 usb 3-2: New USB device found, idVendor=1a86, idProduct=7523 usb 3-2: new full-speed USB device number 6 using ohci-pci

qinheng electronics hl-340 usb-serial adapter ubuntu

ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0 Upon inserting the stick to my PC’s USB (running Ubuntu Linux):

qinheng electronics hl-340 usb-serial adapter ubuntu

Bus 003 Device 006: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter














Qinheng electronics hl-340 usb-serial adapter ubuntu