Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #511280 > unrolled thread
| Started by | "mook Jonhon" <mook@mook.net> |
|---|---|
| First post | 2018-07-17 23:53 +0000 |
| Last post | 2018-07-18 15:22 -0700 |
| Articles | 20 on this page of 78 — 21 participants |
Back to article view | Back to sci.electronics.design
FTDI chips VCP or VX drivers "mook Jonhon" <mook@mook.net> - 2018-07-17 23:53 +0000
Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-18 10:21 +0100
Re: FTDI chips VCP or VX drivers jack4747@gmail.com - 2018-07-18 02:42 -0700
Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-18 11:01 +0100
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-18 09:14 -0400
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-18 18:12 +0000
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-18 17:58 -0400
Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-19 00:07 +0100
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 08:23 +0000
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-19 08:05 -0400
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 12:21 +0000
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-19 08:35 -0400
Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-19 14:00 +0000
Re: FTDI chips VCP or VX drivers gnuarm.deletethisbit@gmail.com - 2018-07-19 08:05 -0700
Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-19 15:38 +0000
Re: FTDI chips VCP or VX drivers gnuarm.deletethisbit@gmail.com - 2018-07-19 12:56 -0700
Re: FTDI chips VCP or VX drivers Johnny B Good <johnny-b-good@invalid.ntlworld.com> - 2018-07-19 18:22 +0000
Re: FTDI chips VCP or VX drivers Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-07-19 11:37 -0700
Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-19 19:20 +0000
Re: FTDI chips VCP or VX drivers Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-07-19 12:39 -0700
Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-20 03:45 +0000
Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-21 17:20 -0400
Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-22 03:05 +0000
Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-22 15:28 -0400
Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-22 19:44 +0000
Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-22 20:43 -0400
Re: FTDI chips VCP or VX drivers Gerhard Hoffmann <ghf@hoffmann-hochfrequenz.de> - 2018-07-19 21:54 +0200
Re: FTDI chips VCP or VX drivers Jasen Betts <jasen@xnet.co.nz> - 2018-07-20 06:11 +0000
Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-20 06:53 +0000
Re: FTDI chips VCP or VX drivers Jasen Betts <jasen@xnet.co.nz> - 2018-07-20 11:05 +0000
Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-20 12:21 +0000
Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-20 07:31 +0000
Re: FTDI chips VCP or VX drivers John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-19 07:48 -0700
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-19 12:05 -0400
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 16:40 +0000
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-20 19:03 -0400
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-21 10:13 +0000
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-21 14:08 -0400
Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-21 17:33 -0400
Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-19 11:15 -0400
Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-19 22:50 +0100
Re: FTDI chips VCP or VX drivers pcdhobbs@gmail.com - 2018-07-19 15:38 -0700
Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-20 03:45 +0000
Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-20 08:51 +0100
Re: FTDI chips VCP or VX drivers John Larkin <jjlarkin@highland_snip_technology.com> - 2018-07-18 17:25 -0700
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 08:21 +0000
Re: FTDI chips VCP or VX drivers "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-07-19 08:06 -0500
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 16:08 +0000
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-19 12:12 -0400
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 16:41 +0000
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-20 19:05 -0400
Re: FTDI chips VCP or VX drivers "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-07-20 18:29 -0500
Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-21 17:02 -0400
Re: FTDI chips VCP or VX drivers Gerhard Hoffmann <ghf@hoffmann-hochfrequenz.de> - 2018-07-22 00:04 +0200
Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-22 16:15 -0400
Re: FTDI chips VCP or VX drivers John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-22 14:45 -0700
Re: FTDI chips VCP or VX drivers Gerhard Hoffmann <ghf@hoffmann-hochfrequenz.de> - 2018-07-24 23:59 +0200
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-25 07:27 +0000
Re: FTDI chips VCP or VX drivers DecadentLinuxUserNumeroUno@decadence.org - 2018-08-01 01:49 +0000
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-21 10:16 +0000
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-21 14:07 -0400
Re: FTDI chips VCP or VX drivers "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-07-21 15:28 -0500
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-22 18:15 +0000
Re: FTDI chips VCP or VX drivers pcdhobbs@gmail.com - 2018-07-22 11:25 -0700
Re: FTDI chips VCP or VX drivers Jeff Liebermann <jeffl@cruzio.com> - 2018-07-22 14:06 -0700
Re: FTDI chips VCP or VX drivers pcdhobbs@gmail.com - 2018-07-22 15:41 -0700
Re: FTDI chips VCP or VX drivers Jeff Liebermann <jeffl@cruzio.com> - 2018-07-22 20:22 -0700
Re: FTDI chips VCP or VX drivers Terry Newton <nbill@bellsouth.net> - 2018-07-31 18:36 +0000
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-31 15:43 -0400
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-31 21:07 +0000
Re: FTDI chips VCP or VX drivers dplatt@coop.radagast.org (Dave Platt) - 2018-07-31 14:20 -0700
Re: FTDI chips VCP or VX drivers John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-19 06:36 -0700
Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-19 08:07 -0400
Re: FTDI chips VCP or VX drivers John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-19 06:42 -0700
Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-18 22:36 +0100
Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 08:30 +0000
Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-19 10:17 +0100
Re: FTDI chips VCP or VX drivers "John Miles, KE5FX" <jmiles@gmail.com> - 2018-07-18 15:22 -0700
Page 1 of 4 [1] 2 3 4 Next page →
| From | "mook Jonhon" <mook@mook.net> |
|---|---|
| Date | 2018-07-17 23:53 +0000 |
| Subject | FTDI chips VCP or VX drivers |
| Message-ID | <Kjv3D.215202$oR2.78751@fx25.iad> |
Looking into a test box that will need a USB input. I have always taken the easy route and used a Virtual Com Port chip form FTDI and run it to a SCI port on a microcontroller. It appears I can use the chip as a native USB device instead of a virtual Com Port and I was curious as to the advantages to this approach. Have any of you used a FTDI as a native USB device in Windows 7 or 10 where the native windows driver found and installed the device once plugged in. (no VDP driver install necessary) When programming the windows application (Labview, C++ etc) how do I find and access the FTDI chip. Does USB justmake it look like it is on part ofthe machine and I can talk directly to it (transparent link) or is there some driver/handle that needs to be interfaced to. I'm new for all this stuff so basic information is all I need. Overall, besides not having to install the VCP drivers, is there any advantage to using the FTDI chip in native mode? thanks
[toc] | [next] | [standalone]
| From | Clive Arthur <cliveta@nowaytoday.co.uk> |
|---|---|
| Date | 2018-07-18 10:21 +0100 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <pin0qb$gfk$1@dont-email.me> |
| In reply to | #511280 |
On 18/07/2018 00:53, mook Jonhon wrote: > Looking into a test box that will need a USB input. > > I have always taken the easy route and used a Virtual Com Port chip > form FTDI and run it to a SCI port on a microcontroller. > > It appears I can use the chip as a native USB device instead of a > virtual Com Port and I was curious as to the advantages to this > approach. > > > Have any of you used a FTDI as a native USB device in Windows 7 or 10 > where the native windows driver found and installed the device once > plugged in. (no VDP driver install necessary) > > When programming the windows application (Labview, C++ etc) how do I > find and access the FTDI chip. Does USB justmake it look like it is > on part ofthe machine and I can talk directly to it (transparent link) > or is there some driver/handle that needs to be interfaced to. > > I'm new for all this stuff so basic information is all I need. > > Overall, besides not having to install the VCP drivers, is there any > advantage to using the FTDI chip in native mode? > > thanks > The big advantage is that you don't have to go chasing com ports, your software can connect automatically. I've done this in VB using the D2XX drivers from FTDI. I'm no PC software expert, so it can't be too hard. What one fool can do, so can another. Basically, FTDI provide a load of VB functions (or C++ whatever) which you call from your software. These do things like open the device, set baud rate etc. The FTDI chip can be programmed with an ID string (using FTprog from FTDI)) so that you only open something called 'Mook's Widget' or whatever with no reference to a com port. Functions are provided for data read, write etc. It's more complicated than a VCP, but much more professional. Cheers -- Clive
[toc] | [prev] | [next] | [standalone]
| From | jack4747@gmail.com |
|---|---|
| Date | 2018-07-18 02:42 -0700 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <5dc73c35-cff7-4b53-b679-798c327edf79@googlegroups.com> |
| In reply to | #511292 |
On Wednesday, July 18, 2018 at 11:21:18 AM UTC+2, Clive Arthur wrote: > On 18/07/2018 00:53, mook Jonhon wrote: > > Looking into a test box that will need a USB input. > > > > I have always taken the easy route and used a Virtual Com Port chip > > form FTDI and run it to a SCI port on a microcontroller. > > > > It appears I can use the chip as a native USB device instead of a > > virtual Com Port and I was curious as to the advantages to this > > approach. > > > > > > Have any of you used a FTDI as a native USB device in Windows 7 or 10 > > where the native windows driver found and installed the device once > > plugged in. (no VDP driver install necessary) > > > > When programming the windows application (Labview, C++ etc) how do I > > find and access the FTDI chip. Does USB justmake it look like it is > > on part ofthe machine and I can talk directly to it (transparent link) > > or is there some driver/handle that needs to be interfaced to. > > > > I'm new for all this stuff so basic information is all I need. > > > > Overall, besides not having to install the VCP drivers, is there any > > advantage to using the FTDI chip in native mode? > > > > thanks > > > > The big advantage is that you don't have to go chasing com ports, your > software can connect automatically. > > I've done this in VB using the D2XX drivers from FTDI. I'm no PC > software expert, so it can't be too hard. What one fool can do, so can > another. > > Basically, FTDI provide a load of VB functions (or C++ whatever) which > you call from your software. These do things like open the device, set > baud rate etc. The FTDI chip can be programmed with an ID string (using > FTprog from FTDI)) so that you only open something called 'Mook's > Widget' or whatever with no reference to a com port. > > Functions are provided for data read, write etc. > > It's more complicated than a VCP, but much more professional. the only issue is that you need to reprogram every FTDI chip with your string ID. Bye Jack
[toc] | [prev] | [next] | [standalone]
| From | Clive Arthur <cliveta@nowaytoday.co.uk> |
|---|---|
| Date | 2018-07-18 11:01 +0100 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <pin35c$tip$1@dont-email.me> |
| In reply to | #511294 |
On 18/07/2018 10:42, jack4747@gmail.com wrote: > On Wednesday, July 18, 2018 at 11:21:18 AM UTC+2, Clive Arthur wrote: <snip> >> >> Basically, FTDI provide a load of VB functions (or C++ whatever) which >> you call from your software. These do things like open the device, set >> baud rate etc. The FTDI chip can be programmed with an ID string (using >> FTprog from FTDI)) so that you only open something called 'Mook's >> Widget' or whatever with no reference to a com port. >> >> Functions are provided for data read, write etc. >> >> It's more complicated than a VCP, but much more professional. > > the only issue is that you need to reprogram every FTDI chip with your string ID. > > Bye Jack > You don't *have* to use this facility. But it is useful, you can program a serial number too. If you're making lots, FTDI would do it for you, but I suspect if you're making lots you'd use something cheaper. Cheers -- Clive
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2018-07-18 09:14 -0400 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <xrydnSGK3M7XoNLGnZ2dnUU7-bPNnZ2d@supernews.com> |
| In reply to | #511292 |
On 07/18/18 05:21, Clive Arthur wrote: > On 18/07/2018 00:53, mook Jonhon wrote: >> Looking into a test box that will need a USB input. >> >> I have always taken the easy route and used a Virtual Com Port chip >> form FTDI and run it to a SCI port on a microcontroller. >> >> It appears I can use the chip as a native USB device instead of a >> virtual Com Port and I was curious as to the advantages to this >> approach. >> >> >> Have any of you used a FTDI as a native USB device in Windows 7 or 10 >> where the native windows driver found and installed the device once >> plugged in. (no VDP driver install necessary) >> >> When programming the windows application (Labview, C++ etc) how do I >> find and access the FTDI chip. Does USB justmake it look like it is >> on part ofthe machine and I can talk directly to it (transparent link) >> or is there some driver/handle that needs to be interfaced to. >> >> I'm new for all this stuff so basic information is all I need. >> >> Overall, besides not having to install the VCP drivers, is there any >> advantage to using the FTDI chip in native mode? >> >> thanks >> > > The big advantage is that you don't have to go chasing com ports, your > software can connect automatically. > > I've done this in VB using the D2XX drivers from FTDI. I'm no PC > software expert, so it can't be too hard. What one fool can do, so can > another. > > Basically, FTDI provide a load of VB functions (or C++ whatever) which > you call from your software. These do things like open the device, set > baud rate etc. The FTDI chip can be programmed with an ID string (using > FTprog from FTDI)) so that you only open something called 'Mook's > Widget' or whatever with no reference to a com port. > > Functions are provided for data read, write etc. > > It's more complicated than a VCP, but much more professional. > Provided your customers are amateurs. ;) It's closed-source only, which is a problem--you have to rely on the manufacturer for bug fixes etc. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics Briarcliff Manor NY 10510 http://electrooptical.net http://hobbs-eo.com
[toc] | [prev] | [next] | [standalone]
| From | Rob <nomail@example.com> |
|---|---|
| Date | 2018-07-18 18:12 +0000 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <slrnpkv0ov.ftu.nomail@xs9.xs4all.nl> |
| In reply to | #511300 |
Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote: > On 07/18/18 05:21, Clive Arthur wrote: >> On 18/07/2018 00:53, mook Jonhon wrote: >>> Looking into a test box that will need a USB input. >>> >>> I have always taken the easy route and used a Virtual Com Port chip >>> form FTDI and run it to a SCI port on a microcontroller. >>> >>> It appears I can use the chip as a native USB device instead of a >>> virtual Com Port and I was curious as to the advantages to this >>> approach. >>> >>> >>> Have any of you used a FTDI as a native USB device in Windows 7 or 10 >>> where the native windows driver found and installed the device once >>> plugged in. (no VDP driver install necessary) >>> >>> When programming the windows application (Labview, C++ etc) how do I >>> find and access the FTDI chip. Does USB justmake it look like it is >>> on part ofthe machine and I can talk directly to it (transparent link) >>> or is there some driver/handle that needs to be interfaced to. >>> >>> I'm new for all this stuff so basic information is all I need. >>> >>> Overall, besides not having to install the VCP drivers, is there any >>> advantage to using the FTDI chip in native mode? >>> >>> thanks >>> >> >> The big advantage is that you don't have to go chasing com ports, your >> software can connect automatically. >> >> I've done this in VB using the D2XX drivers from FTDI. I'm no PC >> software expert, so it can't be too hard. What one fool can do, so can >> another. >> >> Basically, FTDI provide a load of VB functions (or C++ whatever) which >> you call from your software. These do things like open the device, set >> baud rate etc. The FTDI chip can be programmed with an ID string (using >> FTprog from FTDI)) so that you only open something called 'Mook's >> Widget' or whatever with no reference to a com port. >> >> Functions are provided for data read, write etc. >> >> It's more complicated than a VCP, but much more professional. >> > > Provided your customers are amateurs. ;) > > It's closed-source only, which is a problem--you have to rely on the > manufacturer for bug fixes etc. ... and you still need to install the driver! I think the only advantages are: - no intermixing with existing COM port numbers so you know where to look - vendor lock-in because your device works only with your software and your software works only with your device I once bought a "programming cable" which is merely a TTL Serial to USB cable with a connector matching my equipment, and found it was not recognized under Linux. It would work only with the Windows sofware. But soon enough I found that it was merely such a FTDI chip with re-programmed ID, found the software to re-program it, set it to the standard ID and then it was recognized by Linux and I could use open software with it (via a TTY device).
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2018-07-18 17:58 -0400 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <piod6q$c17$1@dont-email.me> |
| In reply to | #511328 |
On 07/18/18 14:12, Rob wrote: > Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote: >> On 07/18/18 05:21, Clive Arthur wrote: >>> On 18/07/2018 00:53, mook Jonhon wrote: >>>> Looking into a test box that will need a USB input. >>>> >>>> I have always taken the easy route and used a Virtual Com Port chip >>>> form FTDI and run it to a SCI port on a microcontroller. >>>> >>>> It appears I can use the chip as a native USB device instead of a >>>> virtual Com Port and I was curious as to the advantages to this >>>> approach. >>>> >>>> >>>> Have any of you used a FTDI as a native USB device in Windows 7 or 10 >>>> where the native windows driver found and installed the device once >>>> plugged in. (no VDP driver install necessary) >>>> >>>> When programming the windows application (Labview, C++ etc) how do I >>>> find and access the FTDI chip. Does USB justmake it look like it is >>>> on part ofthe machine and I can talk directly to it (transparent link) >>>> or is there some driver/handle that needs to be interfaced to. >>>> >>>> I'm new for all this stuff so basic information is all I need. >>>> >>>> Overall, besides not having to install the VCP drivers, is there any >>>> advantage to using the FTDI chip in native mode? >>>> >>>> thanks >>>> >>> >>> The big advantage is that you don't have to go chasing com ports, your >>> software can connect automatically. >>> >>> I've done this in VB using the D2XX drivers from FTDI. I'm no PC >>> software expert, so it can't be too hard. What one fool can do, so can >>> another. >>> >>> Basically, FTDI provide a load of VB functions (or C++ whatever) which >>> you call from your software. These do things like open the device, set >>> baud rate etc. The FTDI chip can be programmed with an ID string (using >>> FTprog from FTDI)) so that you only open something called 'Mook's >>> Widget' or whatever with no reference to a com port. >>> >>> Functions are provided for data read, write etc. >>> >>> It's more complicated than a VCP, but much more professional. >>> >> >> Provided your customers are amateurs. ;) >> >> It's closed-source only, which is a problem--you have to rely on the >> manufacturer for bug fixes etc. > > ... and you still need to install the driver! > I think the only advantages are: > > - no intermixing with existing COM port numbers so you know where to look > - vendor lock-in because your device works only with your software and > your software works only with your device > > I once bought a "programming cable" which is merely a TTL Serial to USB > cable with a connector matching my equipment, and found it was not > recognized under Linux. It would work only with the Windows sofware. > But soon enough I found that it was merely such a FTDI chip with > re-programmed ID, found the software to re-program it, set it to the > standard ID and then it was recognized by Linux and I could use open > software with it (via a TTY device). > One approach to the COM port problem is to have the gizmo spit its ID string out the UART periodically when it's idle. Enumerate the ports, look for the one with a valid ID string, and you're done. Using putty or another terminal emulator would do this the manual way. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics Briarcliff Manor NY 10510 http://electrooptical.net http://hobbs-eo.com
[toc] | [prev] | [next] | [standalone]
| From | Clive Arthur <cliveta@nowaytoday.co.uk> |
|---|---|
| Date | 2018-07-19 00:07 +0100 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <pioh6q$1it$1@dont-email.me> |
| In reply to | #511352 |
On 18/07/2018 22:58, Phil Hobbs wrote: <snipped> > > One approach to the COM port problem is to have the gizmo spit its ID > string out the UART periodically when it's idle. Enumerate the ports, > look for the one with a valid ID string, and you're done. > > Using putty or another terminal emulator would do this the manual way. > > Cheers > > Phil Hobbs > Customers want to plug in their very expensive box-of-tricks like it was a mouse. Com ports are great for development, and ideal for cowboys. Cheers -- Clive
[toc] | [prev] | [next] | [standalone]
| From | Rob <nomail@example.com> |
|---|---|
| Date | 2018-07-19 08:23 +0000 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <slrnpl0iki.ftu.nomail@xs9.xs4all.nl> |
| In reply to | #511357 |
Clive Arthur <cliveta@nowaytoday.co.uk> wrote: > On 18/07/2018 22:58, Phil Hobbs wrote: > <snipped> >> >> One approach to the COM port problem is to have the gizmo spit its ID >> string out the UART periodically when it's idle. Enumerate the ports, >> look for the one with a valid ID string, and you're done. >> >> Using putty or another terminal emulator would do this the manual way. >> >> Cheers >> >> Phil Hobbs >> > > Customers want to plug in their very expensive box-of-tricks like it was > a mouse. Com ports are great for development, and ideal for cowboys. That is probably why FTDI offer that mode. It doesn't really change anything in the device, it just changes its device ID so it isn't recognized by the normal driver that installs a serial (COM) port, and then you can distribute a dedicated driver that registers it as some nonstandard device. It is still a serial port, but the system does not put it in the pool of serial ports so it is easier to find back.
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2018-07-19 08:05 -0400 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <A9KdnajJv5fw483GnZ2dnUU7-S2dnZ2d@supernews.com> |
| In reply to | #511357 |
On 07/18/18 19:07, Clive Arthur wrote: > On 18/07/2018 22:58, Phil Hobbs wrote: > <snipped> >> >> One approach to the COM port problem is to have the gizmo spit its ID >> string out the UART periodically when it's idle. Enumerate the ports, >> look for the one with a valid ID string, and you're done. >> >> Using putty or another terminal emulator would do this the manual way. >> >> Cheers >> >> Phil Hobbs >> > > Customers want to plug in their very expensive box-of-tricks like it was > a mouse. Com ports are great for development, and ideal for cowboys. > > Cheers Well, if your customers are all on Windows, God bless. We're an all-Linux shop here, and our customers are mostly technical folks. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics Briarcliff Manor NY 10510 http://electrooptical.net http://hobbs-eo.com
[toc] | [prev] | [next] | [standalone]
| From | Rob <nomail@example.com> |
|---|---|
| Date | 2018-07-19 12:21 +0000 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <slrnpl10ih.gu4.nomail@xs9.xs4all.nl> |
| In reply to | #511395 |
Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote: > On 07/18/18 19:07, Clive Arthur wrote: >> On 18/07/2018 22:58, Phil Hobbs wrote: >> <snipped> >>> >>> One approach to the COM port problem is to have the gizmo spit its ID >>> string out the UART periodically when it's idle. Enumerate the ports, >>> look for the one with a valid ID string, and you're done. >>> >>> Using putty or another terminal emulator would do this the manual way. >>> >>> Cheers >>> >>> Phil Hobbs >>> >> >> Customers want to plug in their very expensive box-of-tricks like it was >> a mouse. Com ports are great for development, and ideal for cowboys. >> >> Cheers > > Well, if your customers are all on Windows, God bless. We're an > all-Linux shop here, and our customers are mostly technical folks. With Linux there still is the problem that by default the system will assign the devices names like /dev/ttyUSB0 /dev/ttyUSB1 etc with a "random" order determined by the order of plugin, and different after a reboot. When your customer has added your device while something else is already plugged in, it will be /dev/ttyUSB1 but after the next reboot it could be /dev/ttyUSB0 when that first device is not connected during the reboot, or even when it is! (the two would just swap on reboot) It is possible to work around this, but the way to do it would be considered "black magic" by most users (writing udev rule files) and before you know, the systemd folks have declared it "deprecated". (as they always do when they find some feature they find difficult to implement in their do-it-all program and don't immediately see the need for in their limited "all users work on a laptop" world) One place where it is explained: http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2018-07-19 08:35 -0400 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <piq0j0$9ds$2@dont-email.me> |
| In reply to | #511397 |
On 07/19/18 08:21, Rob wrote: > Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote: >> On 07/18/18 19:07, Clive Arthur wrote: >>> On 18/07/2018 22:58, Phil Hobbs wrote: >>> <snipped> >>>> >>>> One approach to the COM port problem is to have the gizmo spit its ID >>>> string out the UART periodically when it's idle. Enumerate the ports, >>>> look for the one with a valid ID string, and you're done. >>>> >>>> Using putty or another terminal emulator would do this the manual way. >>>> >>>> Cheers >>>> >>>> Phil Hobbs >>>> >>> >>> Customers want to plug in their very expensive box-of-tricks like it was >>> a mouse. Com ports are great for development, and ideal for cowboys. >>> >>> Cheers >> >> Well, if your customers are all on Windows, God bless. We're an >> all-Linux shop here, and our customers are mostly technical folks. > > With Linux there still is the problem that by default the system will > assign the devices names like /dev/ttyUSB0 /dev/ttyUSB1 etc with a > "random" order determined by the order of plugin, and different after > a reboot. When your customer has added your device while something > else is already plugged in, it will be /dev/ttyUSB1 but after the > next reboot it could be /dev/ttyUSB0 when that first device is not > connected during the reboot, or even when it is! (the two would just > swap on reboot) > > It is possible to work around this, but the way to do it would be > considered "black magic" by most users (writing udev rule files) and > before you know, the systemd folks have declared it "deprecated". > (as they always do when they find some feature they find difficult > to implement in their do-it-all program and don't immediately see > the need for in their limited "all users work on a laptop" world) > > One place where it is explained: > http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/ > Having the device squirt its ID string out the UART when idle is a pretty complete solution to those problems. You just connect, listen for a bit, then move on. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics Briarcliff Manor NY 10510 http://electrooptical.net http://hobbs-eo.com
[toc] | [prev] | [next] | [standalone]
| From | <698839253X6D445TD@nospam.org> |
|---|---|
| Date | 2018-07-19 14:00 +0000 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <piq5io$pa5$1@gioia.aioe.org> |
| In reply to | #511401 |
Phil Hobbs wrote >Having the device squirt its ID string out the UART when idle is a >pretty complete solution to those problems. You just connect, listen >for a bit, then move on. Actually it is not. One problem with the Linux kernel and renumbering /dev/ttyUSB* after a re-connect is that the kernel will hang after some reconnects. This can happen if there is a bad contact, quite common, an intermittent contact in the USB connector. From this follows USB serial devices are a no no for any life support system (or anything critical). I have tested this kernel hangup (couple of hundred times does it). Best is to use ethernet, a TCP or UDP stack is simple to implement and gives you galvanic isolation. Or if you must, use POE. USB is a Microsoft invention IIRC, looks like a cheap copy of some system I designed a few years earlier.... ;-) About everything that can be wrong with USB is wrong with it. OTOH for just home use it does work at times. That said, I have some RTL_SDR sticks plugged in USB, just touch one and the application crashes. BAD connectors. To give you an idea, this PC now has 11 USB ports, just added some more last week after I found the mobo had connectors for more. One free. Booting is... a lot of work... (sequence) good thing it is on 24/7.
[toc] | [prev] | [next] | [standalone]
| From | gnuarm.deletethisbit@gmail.com |
|---|---|
| Date | 2018-07-19 08:05 -0700 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <9edca3e5-5c7e-4d6e-88d0-5f7a49478a45@googlegroups.com> |
| In reply to | #511418 |
On Thursday, July 19, 2018 at 10:01:03 AM UTC-4, 69883925...@nospam.org wrote: > Phil Hobbs wrote > >Having the device squirt its ID string out the UART when idle is a > >pretty complete solution to those problems. You just connect, listen > >for a bit, then move on. > > Actually it is not. > One problem with the Linux kernel and renumbering /dev/ttyUSB* after a re-connect > is that the kernel will hang after some reconnects. > This can happen if there is a bad contact, quite common, an intermittent contact in the USB connector. > From this follows USB serial devices are a no no for any life support system (or anything critical). > I have tested this kernel hangup (couple of hundred times does it). > > Best is to use ethernet, a TCP or UDP stack is simple to implement and gives you galvanic isolation. > Or if you must, use POE. > > USB is a Microsoft invention IIRC, looks like a cheap copy of some system I designed a few years earlier.... ;-) > About everything that can be wrong with USB is wrong with it. USB was invented by an Intel engineer. The fact that it is in use on every PC made in the last 20 years says to me it must not be too bad. I'd say it is on a par with the internal combustion engine, lots to complain about, but it seems to get the job done with a minimum of hassle. > OTOH for just home use it does work at times. > > That said, I have some RTL_SDR sticks plugged in USB, just touch one and the application crashes. I blame that on the people who think a USB connector barely mounted in a PC is a mechanical support as well as those who use it without an intervening cable so the device can lay on the table. In other words, YOUR fault. > BAD connectors. No, bad use of connectors outside of their intended application. > To give you an idea, this PC now has 11 USB ports, just added some more last week after I found the mobo had connectors for more. > One free. > Booting is... a lot of work... (sequence) good thing it is on 24/7. I have no idea why you need so many devices on your PC. There are things called hubs to help deal with the mechanical issues. Rick C.
[toc] | [prev] | [next] | [standalone]
| From | <698839253X6D445TD@nospam.org> |
|---|---|
| Date | 2018-07-19 15:38 +0000 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <piqbaf$14u0$1@gioia.aioe.org> |
| In reply to | #511426 |
gnuarm wrote: >USB was invented by an Intel engineer. The fact that it is in use on every >PC made in the last 20 years says to me it must not be too bad. I'd say it >is on a par with the internal combustion engine, lots to complain about, but >it seems to get the job done with a minimum of hassle. Yea, they did the processor bug too, and recently... total security disaster. I can only go by what I measure, experience. Too many problems. >> OTOH for just home use it does work at times. >> >> That said, I have some RTL_SDR sticks plugged in USB, just touch one and the >application crashes. > >I blame that on the people who think a USB connector barely mounted in a PC >is a mechanical support as well as those who use it without an intervening >cable so the device can lay on the table. In other words, YOUR fault. You have got a point there, but really is also sucks when used via a cable and a special box. USB cables are just as unreliable, especially the ones that use the thinnest conductors possible. I had a GPS module via USB on a raspberry, luckily the GPIO has a real serial port, no renumbering no problems. See, I have to write all those drivers too, gets complicated really fast, try it. >> BAD connectors. > >No, bad use of connectors outside of their intended application. > > >> To give you an idea, this PC now has 11 USB ports, just added some more last >week after I found the mobo had connectors for more. >> One free. >> Booting is... a lot of work... (sequence) good thing it is on 24/7. > >I have no idea why you need so many devices on your PC. To get work done. >There are things called >hubs to help deal with the mechanical issues. There are now 8 USB sockets on the back, nice solid place for cables, the rest is on front. I have an USB 1 to 4 hub, jiggling its connector .. well same thing. Back off the PC is more reliable, 4 USB fits in 2 card slots, better connectors than the hub too. Use ethernet. Do not be a slave of MS crap.
[toc] | [prev] | [next] | [standalone]
| From | gnuarm.deletethisbit@gmail.com |
|---|---|
| Date | 2018-07-19 12:56 -0700 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <81e861cf-efd9-4ec0-97dd-e75086688257@googlegroups.com> |
| In reply to | #511432 |
On Thursday, July 19, 2018 at 11:39:00 AM UTC-4, 69883925...@nospam.org wrote: > gnuarm wrote: > >USB was invented by an Intel engineer. The fact that it is in use on every > >PC made in the last 20 years says to me it must not be too bad. I'd say it > >is on a par with the internal combustion engine, lots to complain about, but > >it seems to get the job done with a minimum of hassle. > > Yea, they did the processor bug too, and recently... total security disaster. > I can only go by what I measure, experience. > Too many problems. Compared to what? > >> OTOH for just home use it does work at times. > >> > >> That said, I have some RTL_SDR sticks plugged in USB, just touch one and the > >application crashes. > > > >I blame that on the people who think a USB connector barely mounted in a PC > >is a mechanical support as well as those who use it without an intervening > >cable so the device can lay on the table. In other words, YOUR fault. > > You have got a point there, but really is also sucks when used via a cable and a special box. > USB cables are just as unreliable, especially the ones that use the thinnest conductors possible. > I had a GPS module via USB on a raspberry, luckily the GPIO has a real serial port, > no renumbering no problems. > See, I have to write all those drivers too, gets complicated really fast, try it. > > > > >> BAD connectors. > > > >No, bad use of connectors outside of their intended application. > > > > > >> To give you an idea, this PC now has 11 USB ports, just added some more last > >week after I found the mobo had connectors for more. > >> One free. > >> Booting is... a lot of work... (sequence) good thing it is on 24/7. > > > >I have no idea why you need so many devices on your PC. > > To get work done. And I still have no idea. > >There are things called > >hubs to help deal with the mechanical issues. > > There are now 8 USB sockets on the back, nice solid place for cables, the rest is on front. > I have an USB 1 to 4 hub, jiggling its connector .. well same thing. > Back off the PC is more reliable, 4 USB fits in 2 card slots, better connectors than the hub too. Obviously you need a different USB hub. I've bought units off eBay at bottom dollar prices and found they are so crappy they actually won't work... or at least very long. It is hard to wade through device to find one that is good rather than just expensive, but that's not the USB spec or standard, that's the crappy vendors selling us what we will buy. > Use ethernet. > Do not be a slave of MS crap. You mean Intel crap...? Rick C.
[toc] | [prev] | [next] | [standalone]
| From | Johnny B Good <johnny-b-good@invalid.ntlworld.com> |
|---|---|
| Date | 2018-07-19 18:22 +0000 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <ZF44D.1941616$r6.1857007@fx10.am4> |
| In reply to | #511418 |
On Thu, 19 Jul 2018 14:00:05 +0000, 698839253X6D445TD wrote: > Phil Hobbs wrote >>Having the device squirt its ID string out the UART when idle is a >>pretty complete solution to those problems. You just connect, listen >>for a bit, then move on. > > Actually it is not. > One problem with the Linux kernel and renumbering /dev/ttyUSB* after a > re-connect is that the kernel will hang after some reconnects. > This can happen if there is a bad contact, quite common, an intermittent > contact in the USB connector. > From this follows USB serial devices are a no no for any life support > system (or anything critical). > I have tested this kernel hangup (couple of hundred times does it). > > Best is to use ethernet, a TCP or UDP stack is simple to implement and > gives you galvanic isolation. > Or if you must, use POE. > > USB is a Microsoft invention IIRC, looks like a cheap copy of some > system I designed a few years earlier.... ;-) > About everything that can be wrong with USB is wrong with it. > Correction, it's an Intel invention designed to sell the next generations of CPU at the time. By the time USB2 had been established as the standard for about a decade or so, its use as a means of leveraging extra sales of newer more powerful x86 CPUs had pretty well run its course. It was such a shitty interface, I could well believe in Microsoft having some involvement in its initial launch but it was Intel who were the main beneficiary of its deployment as a "Jack of all trades" interface standard. -- Johnny B Good
[toc] | [prev] | [next] | [standalone]
| From | Lasse Langwadt Christensen <langwadt@fonz.dk> |
|---|---|
| Date | 2018-07-19 11:37 -0700 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <8979c34d-c5aa-4f31-9ba4-ae6aaa81702b@googlegroups.com> |
| In reply to | #511418 |
torsdag den 19. juli 2018 kl. 16.01.03 UTC+2 skrev 69883925...@nospam.org: > Phil Hobbs wrote > >Having the device squirt its ID string out the UART when idle is a > >pretty complete solution to those problems. You just connect, listen > >for a bit, then move on. > > Actually it is not. > One problem with the Linux kernel and renumbering /dev/ttyUSB* after a re-connect > is that the kernel will hang after some reconnects. > This can happen if there is a bad contact, quite common, an intermittent contact in the USB connector. > From this follows USB serial devices are a no no for any life support system (or anything critical). > I have tested this kernel hangup (couple of hundred times does it). > > Best is to use ethernet, a TCP or UDP stack is simple to implement and gives you galvanic isolation. > Or if you must, use POE. but then you need a switch or hub and the guessing game of trying to figure out the IP
[toc] | [prev] | [next] | [standalone]
| From | <698839253X6D445TD@nospam.org> |
|---|---|
| Date | 2018-07-19 19:20 +0000 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <piqoce$1tc1$1@gioia.aioe.org> |
| In reply to | #511456 |
Lasse Langwadt Christensen wrote >but then you need a switch or hub and the guessing game of trying to figure >out the IP Yes, switch, but if you design the stuff you can set fixed IP addresses. That is how I do it anyways. If you need names, easier to remember perhaps, specify those in /etc/hosts. ~ # ping router PING router (192.168.178.1) 56(84) bytes of data. 64 bytes from router (192.168.178.1): icmp_req=1 ttl=64 time=2.95 ms 64 bytes from router (192.168.178.1): icmp_req=2 ttl=64 time=0.536 ms Using /etc/hosts may also protect you against DNS spoofing, just today I ran a check after a suspicious browser screen. Say you did, to find out the IP address of news.aioe.org ~ # host news.aioe.org news.aioe.org has address 46.165.242.91 Now if you enter that in /etc/hosts 46.165.242.91 mynews.aioe.org then anytime you ask for mynews.aioe.org it will get the IP from /etc/hosts, not from the net nameservers, so spoofed DNS is not possible, and it is much faster, and more reliable. ~ # telnet mynews.aioe.org 119 Trying 46.165.242.91... Connected to mynews.aioe.org. Escape character is '^]'. 200 news.aioe.org InterNetNews NNRP server INN 2.5.4 ready (posting ok) I deliberately changed news. to mynews. to show the lookup really comes from /etc/hosts. Normally you would enter it as news... All basic networking. Flexibility, firewalls, MAC filtering, global, local.
[toc] | [prev] | [next] | [standalone]
| From | Lasse Langwadt Christensen <langwadt@fonz.dk> |
|---|---|
| Date | 2018-07-19 12:39 -0700 |
| Subject | Re: FTDI chips VCP or VX drivers |
| Message-ID | <e8a39700-ba86-44f4-98f3-e8b60796f52f@googlegroups.com> |
| In reply to | #511459 |
torsdag den 19. juli 2018 kl. 21.21.57 UTC+2 skrev 69883925...@nospam.org: > Lasse Langwadt Christensen wrote > > >but then you need a switch or hub and the guessing game of trying to figure > >out the IP > > Yes, switch, > but if you design the stuff you can set fixed IP addresses. you'll also need to get the netmask right, I think most people use DHCP which solves that but leaves you with trying to figure out what IP
[toc] | [prev] | [next] | [standalone]
Page 1 of 4 [1] 2 3 4 Next page →
Back to top | Article view | sci.electronics.design
csiph-web