General Category > Discussion - Software
Issue with FT4232 and serial coms
(1/1)
Mikexx:
Using the FTDI supplied libraries I am using a delegate of the function FT_Write where the arguments are checked for being non-null.
If the processor attached to the ports of this FT4232 goes AWOL my application gets stuck in a loop. I assume the TX line must be stuck and high or low and producing a 'Break'. Either way the port is not accepting data.
An exception occurs and the following gets output to the console:
"Object reference not set to an instance of an object"
Is there a way of interrogating whether the device with the device associated with 'ftHandle' is accepting data?
FTDI Community:
Hello,
Would it be possible to see the section of code your application is getting stuck at?
You may want to look at the FT_Timeouts function in the API:
https://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).pdf
Best Regards,
FTDI Community
Navigation
[0] Message Index
Go to full version