question

kavehrahimi-5744 avatar image
0 Votes"
kavehrahimi-5744 asked

Program device to work as usb to i2c converter

Hi ,I want to use cjmcu-341 as usb to i2c converter. I have to program the 24C01A eeprom in it. I want to know can I program it via the usb connection of it and how?folowing is the code I think I can use to do that.
Am I right if so, Which language is this code:

$ lsusb
Bus 002 Device 003: ID 1a86:5512 QinHeng Electronics CH341 in EPP/MEM/I2C mode, EPP/I2C adapter
$ dmesg
[ 1739.299811] usb 2-1.2: new full-speed USB device number 3 using ehci-pci
[ 1739.385559] usb 2-1.2: New USB device found, idVendor=1a86, idProduct=5512
[ 1739.385565] usb 2-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Please help
Thanks

dotnet-visual-basic
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers