usbserial

My board design with a FTDI chip is a lot slower than a generic off the shelf RS232 to USB cable. Why is that the case?

别来无恙 提交于 2019-12-25 18:22:10
问题 Hello People of the internet, The company I work at implement hardware that is using RS232 however the board uses a network cable instead of a standard DB9 RS232 connector. So to remove the custom cable they need to mufacture for customers I designed a simple RS232 to USB converter that has a USB on the one side and a network cable on the other. It uses the FT230X chip from FTDI and a standard serial to rs232 converter from ST. However after doing some tests it seems that when I run my

Handling handshake lines in RS232 DB9 using rxtxComm

≯℡__Kan透↙ 提交于 2019-12-25 08:58:30
问题 I used rxtxComm to communicate(send and receive data) with Arduino (USB-Serial port). How do i handle the handshake lines like DTR using the rxtxComm library? Can you give me some tutorial on this or some sample code??? Note: I use win7 OS. I bought a USB-Serial(DB9) adapter today(21-4-2012); planning to connect a led array directly to rs232... 回答1: I guess you have all the libraries installed. change to your port defaultPort = "COM24"; Try the standard code package serialtest; import java

USB connection issues

╄→尐↘猪︶ㄣ 提交于 2019-12-25 02:18:29
问题 I am trying to run my android app in my samsung device GT-S6012. I use Windows 7 Home Basic. The driver is installed properly. As soon as I connect the mobile using USB cable, for some seconds "adb devices" shows my phone. But then I get a message USB connection error, windows is unable to detect the device and USB is malfunctioning. I tried uninstalling/re-installing driver, but no luck. I tried Google on this topic but nothing solved my issue.. Can Anyone let me know how can I fix it 回答1:

How to send data from USB device to DJI SDK?

ε祈祈猫儿з 提交于 2019-12-25 00:17:53
问题 So this might be a bit basic of a question, but I don't have much experience on the hardware side of things. I am using DJI Android Mobile SDK to communicate with a M600 flight controller and have a FTDI CU/TTY device I am trying to send info back and forth. This successfully works to send "Hello World" to my USB device: //sends data to onboard sdk device final byte[] helloWorld = "HelloWorld".getBytes(); mFlightController.sendDataToOnboardSDKDevice(helloWorld, new CommonCallbacks

How to read data from usb device on Android?

喜你入骨 提交于 2019-12-24 21:25:28
问题 I have a device which I need to connect via usb to my android phone. I simply want to read some data this device is sending and present it on my app screen. I've tried some API's such https://github.com/felHR85/UsbSerial and https://github.com/mik3y/usb-serial-for-android where I found the code below public class MainActivity extends AppCompatActivity { private TextView data; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R

u-boot flash emmc ttl serial

泄露秘密 提交于 2019-12-24 12:54:59
问题 I used to update firmware on embedded system through tools like tftp (with ethernet port or ethernet over usb), sd card or a simple usb stick. I am currently working on a system without ethernet port, no usb port. Only a ttl/usb connexion to be able to access the console and a micro usb to supply it. I am currently building a linux image and a rootfs. The storage used on the board is emmc. Is there a standard way to update linux/rootfs in Emmc, etc.. with u-boot by using a simple ttl/usb

Cygnal Integrated Products serial port on Linux

本秂侑毒 提交于 2019-12-23 05:16:45
问题 I have an infrared thermometer which operates on a virtual serial port over USB, which I am trying to use on Debian Linux. Unfortunately, the system does not enumerate a /dev/ttyUSB device. Here is the dmesg for the device: usb 5-1: new full-speed USB device number 3 using uhci_hcd usb 5-1: New USB device found, idVendor=10c4, idProduct=834b usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 5-1: Product: Infrared Online Sensor Adapter usb 5-1: Manufacturer: Silicon Labs

Can i crack usb security dongle?

主宰稳场 提交于 2019-12-22 20:29:23
问题 I have to develop a plugin for a program that uses dongle to activate.Just wondering can i crack the key of the usb or something else? 回答1: I'm sure you can , but you might be running afoul of the various legislation regarding the act of reverse engineering content protection systems. I am, of course, referring to the American DCMA statues. In any event, as pure thought experiment, I might try the following: Clone the USB firmware image, and load it into a virtual USB port As you say, crack

Can i crack usb security dongle?

感情迁移 提交于 2019-12-22 20:28:58
问题 I have to develop a plugin for a program that uses dongle to activate.Just wondering can i crack the key of the usb or something else? 回答1: I'm sure you can , but you might be running afoul of the various legislation regarding the act of reverse engineering content protection systems. I am, of course, referring to the American DCMA statues. In any event, as pure thought experiment, I might try the following: Clone the USB firmware image, and load it into a virtual USB port As you say, crack

How to find out which USB-RS232 device is on which tty?

泪湿孤枕 提交于 2019-12-20 08:27:43
问题 I have two different USB devices based on the same USB-RS232 chips. When I plug those in the USB they are mounted to /dev/ttyUSB0...3 My problem is how, inside a script, I can find out which one is on what tty? Using lsusb I can differentiate them: $> lsusb | grep 0403:f850 Bus 004 Device 002: ID 0403:f850 Future Technology Devices International, Ltd $> lsusb | grep 0403:6001 Bus 004 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC And using