{2886, 802, 1};
i guess?
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
tried myself to add xiao samd21 but failed, could Serial OTG add support for this?
refrence
Just working on it. Try the new extension in the debug directory (not tested yet).
I've been having issues with this plugin trying to open a serial port. I cannot get any of my prolific usb-to-rs232 converters to work, but I wonder if that's down to pl2303 chipset versions, as there seem to be quite a few of them?
That aside, I can get my FTDI cable to work, but only if I let it automatically select the usb driver, If I tell it to use the ftdi driver, I get the following error. Is there a specific format you have to use to tell it to use a specific driver?
In the instructions pdf it says: Force driver 1=CdcAcm, 2=CH34x, 3=CP210x, 4=FTDI, 5=PL2303
But in the example AI project, the spinner options are: 0,cdcacm,ch34x,cp210x,ftdi,pl2303
I can't seem to specify any of these driver types and get it to work, it only opens if I let it do auto driver.
Any ideas please? Thank you!
The main use of “force driver” is if VID/PID has been reprogrammed so it’s not recognized by SerialOTG. Force driver=0, means auto selection of driver. (Could be clarified in documentation and example app) I have retested with my Pl2303 and FTDI, both with auto selection and forced driver and it seems to works ok. One note, if you make wrong selection you may have to restart the app, and sometimes even your device.
Many thanks for the clarification. Is the driver type text case sensitive? Does it have to be FDTI or fdtp for example? Thank you
PS. This is a great extension, thanks!
Driver type is just a number, so use numbers 0..5
I will clarify the documentation
Documentation and example SerialOTG updated to clarify the use of Forcedriver.
Hi,
I've been using SerialOTG for a while with my G-STAR IV GPS modul. It's working fine. "Unfortunately" I bought a new GPS modul with PL2303GC and cannot open the serial port. Do you have any advice what to do?
Thanks in advance.
PL2303 can be programed with a nonstandard VID PID. Read the VID PID by inserting the GPS module in a PC. Linux (dmesg in a terminal) or Windows (device handler). Compare it with the old GPS module. Note: you can force the driver to PL2303. See the documentation.
Thanks Rolf,
I did it, plugged both GPS into PC. From the device manager I got the following:
Old GPS: USB-To-Serial Comm Port (VID_067B, PID_2303)
New GPS: PL2303GC USB Serial COM Port (VID_067B, PID_23A3)
So the PIDs are different.
I tried to set SerialOTG.USBDriver to 5, but the result is the same: cannot open the serial port. (restarted everything)
Thanks
If you have set the driver after init but before open and it still does not work, then i guess that its a new version of PL2303 that needs an updated driver. I don't have access to the new chip version so i can't help you for the moment.
Thanks Rolf anyway.