how to use this tool
sebastianet opened this issue · 0 comments
mr Burton - I need some help
I have an "Elegoo Smart Robot Car 3.0 Plus", that has a "Arduino Uno" inside,
but instead of the usual "CH-341" USB chip, it has an "Holtek HT42B534-2"
Under my Ubuntu 18.04 LTS, the Arduino IDE can not connect to the robot.
Under Windows it was not working, until I installed "USBBridgeSetup_CA.exe" -
after install, a new "COM4" port comes up and Arduino IDE talks to Uno using it.
Looks to me your code wants to do something similar,
but I dont understand how to use it
-
I have installed "sudo apt-get install python3-usb"
-
now I run "$ ./holtek-prog.py -h" and I get a nice list of options
-
when I run "lsusb" I get a clear
idVendor 0x04d9 Holtek Semiconductor, Inc.
idProduct 0xb534
- I can provide this (holtek) "idVendor" and "idProduct" to "holtek-prog.py", as
positional arguments:
vid Vendor ID to change
pid Product ID to change
but ... what values must I provide as
-v SETVID, --setvid SETVID
Set Vendor ID
-p SETPID, --setpid SETPID
Set Product ID
???
I have an "Arduino "Nano" that DOES work with Ubuntu Arduino IDE - are those the values to provide from "lsusb" ?
The Arduino "Nano" values at "lsusb" are
idVendor=1a86
idProduct=7523
I can fit those 4 parameters into your tool but there still one missing :
- what is "-s sets the Serial to 9876" ???
Question : how do I do to get a "ttyUSB0" in my Ubuntu when connecting the Elegoo Uno with Holtek USB xip ?
Thanks for your help.
Sebastian.