Re: How to Interface to USB



Don't give up on the Universal idea. It still may be possiable. Remember I
said I did this on an ARM 9 not an Intel or AMD with windows controlling the
USB Bus :).

I did quite a bit more reading last night, and a bit this morning. It seems
that most USB GPS's are using the Virtual Com Port method. Thus getting the
interface right thru a generic Com driver would allow you to support most
(not all) GPS's on the market. Actually I was unable to find one like what
I used for my project on the market today, so this may be the way to go.

I still say hit the sites. I would highly reccommend something like the
robotics groups in Yahoo. Those guys love playing with this type of stuff
and Believe me they will be able to tell you the best way to handle it.

Jeremy

"Mocacius" <Mocacius@xxxxxxx> wrote in message
news:4354e46c@xxxxxxxxxxxxxxxxxxxxxxxxx
> Thanks, Jeremy. I guess engineering my own driver for *each* device is
> the best way to go, but that defeats the purpose of the "U" in USB. I was
> hping or a "universal" solution :-)
>
> Oh well, I'll keep searching, though I am not very hopeful.
>
> *M*
>
>
> "Jeremy Darling" <jdarling@xxxxxxxxxxxx> wrote in message
> news:43547589@xxxxxxxxxxxxxxxxxxxxxxxxx
>> Been here done this (granted it was in an Atmel ARM 9 and not on the
>> PC:). So here goes:
>>
>> In some cases (Garmen) their coms and interface are available quite
>> easily from their development sites, and searching micro development
>> sites and NG's will easily turn up this information.
>>
>> In the case that this is not publicly available (As has been stated) you
>> will have to get ahold of the company that produces the actual GPS. Thou
>> you can still cheat and see if their is a device driver for Linux (thus
>> giving you the source code to interface with the device itself). If they
>> "Allow" you to access their hardware via the driver API then you are set
>> and don't have to get very fancy.
>>
>> Now if they don't. Your best bet will be to go to the LUG's (Linux User
>> Groups) and find a device driver for the GPS. At times this can be as
>> simple as just asking if anyone has it (most of the time they exist).
>> Take that driver and use it to "Engineer" your own driver. This will
>> mean that the client will have to remove their existing driver and
>> install your custom one. If they are in common practice of using the
>> software that came with the device you will have to re-provide the exact
>> API calls thru the same named DLL's (grey area here on leagality).
>>
>> If you get really lucky you will find that it uses a commonly documented
>> format (again searching on Micro sites is the best) and everything will
>> be laid out at your fingertips to take advantage of.
>>
>> Good luck,
>> Jeremy
>>
>> "Mocacius" <Mocacius@xxxxxxx> wrote in message
>> news:435459c9@xxxxxxxxxxxxxxxxxxxxxxxxx
>>>I posted this in Activex.Writing and was told this might be a better
>>>place for it, so here it goes...
>>>
>>> -----
>>>
>>> Using Delphi5. I'm writing an OCX to track a vehicle position from live
>>> GPS
>>> data. I was using a serial GPS and had no problems, I was reading the
>>> data,
>>> processing it, etc.. However, a client needs to use this with a GPS
>>> connected through the USB port, and I don't know how to read the data
>>> from
>>> it. Is there any specific information, on how to get data from the USB
>>> port? Are there any controls that I may need to get/license to let me
>>> communicate with the USB? What can I do?
>>>
>>> I am really desperate, so any information, help, suggestions would be
>>> great!
>>>
>>> *M*
>>>
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: Delorme SA2006 vs MS Streets and Trips 2006
    ... >>with other GPS units. ... This was in the first USB ... it had a driver that did the USB to serial ... > port conversion. ...
    (rec.outdoors.rv-travel)
  • Re: How to Interface to USB
    ... you can still cheat and see if their is a device driver for Linux (thus ... Groups) and find a device driver for the GPS. ... on how to get data from the USB ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Streets & Trips 2005 with GPS Locator and e740
    ... I'd give the Pharos guys a shout. ... >>>notice any particular mention of PPC USB support. ... >>>>> cable that I attach to the GPS locator. ... >>>>> the name of the device driver for this device. ...
    (microsoft.public.pocketpc)
  • Re: PC Chartplotting - again!
    ... data is coming from a COM port. ... GPS signal on Com 4 or Com 5 depending which USB slot I plugged ... sounds to me like the driver for it pretends to be a COM port. ...
    (uk.rec.sailing)
  • Vendor has x86 driver, am I asking for too much for ARM version?
    ... I want to use a USB Data Aquisition Module with a ARM based win CE 6.0 system ... The USB DAQ manufacturer claims to have a x86 driver for CE 6.0 ... ARM processor selected instead of x86? ...
    (microsoft.public.windowsce.platbuilder)