Recent Posts

Pages: [1] 2 3 ... 10
1
USB / Re: FTDI - Modifying Windows Driver (FT234XD)
« Last post by Jan Axelson on October 10, 2017, 10:19:02 am »
If FTDI doesn't provide the low-level documentation you need, you might have to reverse engineer the driver using a protocol analyzer to view communications using the FTDI driver.

Or look for clues in open source drivers such as

https://www.intra2net.com/en/developer/libftdi/

https://github.com/torvalds/linux/blob/master/drivers/usb/serial/ftdi_sio.c
2
USB / FTDI - Modifying Windows Driver (FT234XD)
« Last post by grodknight on October 09, 2017, 10:07:30 pm »
Hi,

We are trying to modify our Windows Driver to support the FTDI IC. Our driver does not use VCP and works directly with several micro-controllers. Are there any code examples for updating our driver to setup and communicate with the IC? It seems we can do control functions, but not move data. We don't have a baud rate problem. I have almost all FTDI docs including AN115 (API).

Thanks in advance.
3
Embedded Ethernet / Re: accessing embedded devices from the internet.
« Last post by Ranger.JR on September 28, 2017, 04:14:28 am »
It is very good information.
4
USB / Re: HID compliant device not recognized by Windows 10
« Last post by Jan Axelson on September 23, 2017, 09:17:05 pm »
Re the setupapi message "Additional software is requested so a WER report should be sent, but the sending of WER reports from drvinst has been suppressed." see:

https://msdn.microsoft.com/en-us/library/windows/desktop/bb513613(v=vs.85).aspx

Regardless, it appears that the OS installed the device as a generic HID (no additional filter drivers).

In the analyzer logs, you want to look for anything that doesn't look right, for example:

An interrupt IN token packet where the endpoint didn't return NAK or data.

An interrupt OUT token packet where the endpoint didn't return NAK or ACK.

In a control transfer, a Setup packet where the endpoint didn't return ACK.

In a control Read transfer, a Data stage where the endpoint didn't return NAK or data or a Status stage where the endpoint didn't return ACK or NAK.

In a control Write transfer, a Data stage where the endpoint didn't return NAK or ACK or a Status packet where the endpoint didn't return NAK or a 0-length data packet.

After a few failures of these types, the OS will report a problem and stop trying to communicate.

It's possible to have a device that works under Win7 but fails under Win10 because that OS does things a little differently and exposes a problem with the device.





5
USB / Re: usb interruptions, I think?
« Last post by Jan Axelson on September 22, 2017, 08:28:07 pm »
A low-level filter driver might be able, but not application software.
6
USB / Re: usb interruptions, I think?
« Last post by ulao on September 20, 2017, 10:40:14 am »
Is there a way to pause or start/stop this from software?
7
USB / Re: usb interruptions, I think?
« Last post by Jan Axelson on September 20, 2017, 09:22:18 am »
The host driver schedules periodic transfer attempts for interrupt IN endpoints. The device endpoint needs to be set up to NAK all IN token packets unless there is data to send.
8
USB / Re: HID compliant device not recognized by Windows 10
« Last post by yossef cohen on September 20, 2017, 12:53:51 am »
Hi Jan,

Please use this link to get the files (too big to upload to your forum)

https://we.tl/jH50NsP2yJ

Thanks in advance for your help.

9
USB / Re: usb interruptions, I think?
« Last post by ulao on September 19, 2017, 07:31:35 pm »
One more question here. Per the previous discussion, as I mentioned, I have both interrupts and control transfers. In my software I control the 'control' transfers. Though the interrupt transfers happen all the time. By that I mean whenever the OS is up and running. These transfers start the minute I pug in my device. So I'm guessing the HID/game controller driver handles these? More to the point, can I stop/pause this?

10
USB / Re: HID compliant device not recognized by Windows 10
« Last post by Jan Axelson on September 18, 2017, 05:07:50 pm »
Can you post the tdc files as images?
Pages: [1] 2 3 ... 10