EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

USB basics

Started by ashu November 21, 2008
Hello All,

I have two questions. They might be very basic and foolish :)

I use In circuit emulators and debuggers regularly. One of the
constant problems I face is when the MS WindowsXP fails to recongise
the device. Sometimes it is the FTDI USB chip driver which goes
haywire or sometimes its something else. It shows the name of the
device in device manage

Normally I circumvent this problem by reinstallling the USB drivers
again.

Is there any easy way ?

Secondly, is there any article or book to understand how does Windows
XP recognize these USB ICD and ICEs, and where does it install these
drivers and how does it manage it for better understanding of the
same.

thanks and regs
ashu
On Nov 21, 6:31 am, ashu <ashutosh.ghildi...@gmail.com> wrote:
> Hello All, > > I have two questions. They might be very basic and foolish :) > > I use In circuit emulators and debuggers regularly. One of the > constant problems I face is when the MS WindowsXP fails to recongise > the device. Sometimes it is the FTDI USB chip driver which goes > haywire or sometimes its something else. It shows the name of the > device in device manage > > Normally I circumvent this problem by reinstallling the USB drivers > again. > > Is there any easy way ? > > Secondly, is there any article or book to understand how does Windows > XP recognize these USB ICD and ICEs, and where does it install these > drivers and how does it manage it for better understanding of the > same. > > thanks and regs > ashu
I've been deep in side the FTDI drivers, and they would need to be improved greatly before they were cr@p. You're on the right track - because of problems with the FTDI driver (s), Windows winds up installing many different copies of the driver, and on occasion uses the wrong one. (On occasion uses the right one?) The Windows Driver SDK has a lot of information about the enumeration and installation of USB devices. If anyone knows how Windows deals with USB, it should be Microsoft.
ashu wrote:
> > I have two questions. They might be very basic and foolish :) > > I use In circuit emulators and debuggers regularly. One of the > constant problems I face is when the MS WindowsXP fails to > recongise the device. Sometimes it is the FTDI USB chip driver > which goes haywire or sometimes its something else. It shows > the name of the device in device manage > > Normally I circumvent this problem by reinstallling the USB > drivers again. > > Is there any easy way ? > > Secondly, is there any article or book to understand how does > Windows XP recognize these USB ICD and ICEs, and where does it > install these drivers and how does it manage it for better > understanding of the same.
Your problems revolve around using the buggy Windows OS. Dump it, and install Linux. Totally free, full source, etc. -- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home.att.net> Try the download section.
On Fri, 21 Nov 2008 06:31:25 -0800 (PST), ashu
<ashutosh.ghildiyal@gmail.com> wrote:
>I use In circuit emulators and debuggers regularly. One of the >constant problems I face is when the MS WindowsXP fails to recongise >the device. Sometimes it is the FTDI USB chip driver which goes >haywire or sometimes its something else. It shows the name of the >device in device manage > >Normally I circumvent this problem by reinstallling the USB drivers >again. > >Is there any easy way ?
I have been using an FTDI USB-to-serial converter (it is called "FTDI UC232R-10-NE_Chipi", and relies on the same Windows driver as the one you are talking about) for about a year now, many hours a day, on two machines, one with Windows XP and the other one with Vista, and I haven't had any problem regarding that interface. I would say that the root of your problem is somewhere else. Best, Bill
On Fri, 21 Nov 2008 20:53:57 -0500, CBFalconer <cbfalconer@yahoo.com>
wrote:
>Your problems revolve around using the buggy Windows OS. Dump it, >and install Linux. Totally free, full source, etc.
Yet another haven't-used-Windows-since-Windows1.0-but-let-me-just-complain-forever-coz-it's-easier-than-actually-finding-out-the-truth. Best, Bill
On Fri, 21 Nov 2008 20:53:57 -0500, CBFalconer <cbfalconer@yahoo.com>
wrote:

>ashu wrote: >> >> I have two questions. They might be very basic and foolish :) >> >> I use In circuit emulators and debuggers regularly. One of the >> constant problems I face is when the MS WindowsXP fails to >> recongise the device. Sometimes it is the FTDI USB chip driver >> which goes haywire or sometimes its something else. It shows >> the name of the device in device manage >> >> Normally I circumvent this problem by reinstallling the USB >> drivers again. >> >> Is there any easy way ? >> >> Secondly, is there any article or book to understand how does >> Windows XP recognize these USB ICD and ICEs, and where does it >> install these drivers and how does it manage it for better >> understanding of the same. > >Your problems revolve around using the buggy Windows OS. Dump it, >and install Linux. Totally free, full source, etc.
Is Windows just buggy or is it already broken by design ? If it is just buggy, then theoretically it is possible to remove the bugs, and it would be fine. If it is broken by design, then no matter how many resources is thrown at it, it will stay unreliable and buggy. Regards Anton Erasmus
In message <49276635.6EA083B5@yahoo.com>, CBFalconer 
<cbfalconer@yahoo.com> writes
>ashu wrote: >> >> I have two questions. They might be very basic and foolish :) >> >> I use In circuit emulators and debuggers regularly. One of the >> constant problems I face is when the MS WindowsXP fails to >> recongise the device. Sometimes it is the FTDI USB chip driver >> which goes haywire or sometimes its something else. It shows >> the name of the device in device manage >> >> Normally I circumvent this problem by reinstallling the USB >> drivers again. >> >> Is there any easy way ? >> >> Secondly, is there any article or book to understand how does >> Windows XP recognize these USB ICD and ICEs, and where does it >> install these drivers and how does it manage it for better >> understanding of the same. > >Your problems revolve around using the buggy Windows OS. Dump it, >and install Linux. Totally free, full source, etc.
Complete red herring Linux is also buggy..... Having the full source does not always help. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Anton Erasmus wrote:
> CBFalconer <cbfalconer@yahoo.com> wrote: >> ashu wrote: >> >>> I have two questions. They might be very basic and foolish :) >>> >>> I use In circuit emulators and debuggers regularly. One of the >>> constant problems I face is when the MS WindowsXP fails to >>> recongise the device. Sometimes it is the FTDI USB chip driver >>> which goes haywire or sometimes its something else. It shows >>> the name of the device in device manage >>> >>> Normally I circumvent this problem by reinstallling the USB >>> drivers again. >>> >>> Is there any easy way ? >>> >>> Secondly, is there any article or book to understand how does >>> Windows XP recognize these USB ICD and ICEs, and where does it >>> install these drivers and how does it manage it for better >>> understanding of the same. >> >> Your problems revolve around using the buggy Windows OS. Dump it, >> and install Linux. Totally free, full source, etc. > > Is Windows just buggy or is it already broken by design ? If it is > just buggy, then theoretically it is possible to remove the bugs, > and it would be fine. If it is broken by design, then no matter how > many resources is thrown at it, it will stay unreliable and buggy.
Well, the fact that the bugs have remained for something like 10 to 15 years is a strong indicator. We can't really answer your question, since MS doesn't publish the source. -- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home.att.net> Try the download section.
Chris H wrote:
> CBFalconer <cbfalconer@yahoo.com> writes >> ashu wrote: >>
... snip ...
>> >>> Secondly, is there any article or book to understand how does >>> Windows XP recognize these USB ICD and ICEs, and where does it >>> install these drivers and how does it manage it for better >>> understanding of the same. >> >> Your problems revolve around using the buggy Windows OS. Dump >> it, and install Linux. Totally free, full source, etc. > > Complete red herring. Linux is also buggy..... > Having the full source does not always help.
No, but it gives you a fighting chance. And, even if you don't use the source, notice that Linux bugfixes can occur within days of bug reports. With windows, about the earliest possible is 1 year, and more often the bug is just ignored. -- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home.att.net> Try the download section.
In message <4928A3F3.110A726A@yahoo.com>, CBFalconer 
<cbfalconer@yahoo.com> writes
>Chris H wrote: >> CBFalconer <cbfalconer@yahoo.com> writes >>> ashu wrote: >>> >... snip ... >>> >>>> Secondly, is there any article or book to understand how does >>>> Windows XP recognize these USB ICD and ICEs, and where does it >>>> install these drivers and how does it manage it for better >>>> understanding of the same. >>> >>> Your problems revolve around using the buggy Windows OS. Dump >>> it, and install Linux. Totally free, full source, etc. >> >> Complete red herring. Linux is also buggy..... >> Having the full source does not always help. > >No, but it gives you a fighting chance.
Not really. Some users don't have a clue even with the source.
>And, even if you don't use >the source, notice that Linux bugfixes can occur within days of bug >reports.
Or months later.
> With windows, about the earliest possible is 1 year, and >more often the bug is just ignored.
MS can bring out bug fixes within a few days...... but then they do have a proper bug fix control system You are just making things up or wilfully lying. It is this sort of religious bigotry that gets FOSS people such a bad name, -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

The 2024 Embedded Online Conference