FTDI Community

General Category => Discussion - Software => Topic started by: Yunuce on May 29, 2020, 12:55:53 PM

Title: D2XX Write Problem
Post by: Yunuce on May 29, 2020, 12:55:53 PM
Hello,

I try to develop a GUI for FT9xx MCU board.
There is simple comparison statement in my firmware code.
It compare variable which is coming from GUI(use D2XX_Read function)
Then select a statement and then send a message to GUI.

GUI and firmware working debug mode. I can read and write the board via GUI.
However when I tried to run without debug mode, GUI froze when try to read a variable from the board.
I added delay after read and write function but nothing was change.

Edit:
I can't find ftd2xx_api source code, is there anybody to know where I can source code?
 
Title: Re: D2XX Write Problem
Post by: Yunuce on May 31, 2020, 02:43:00 PM
*UPDATE*

If any, what is the difference between debug mode and normal execution on ft905?
It is to help me better understand what is going wrong in my project.

Best Regards.
Title: Re: D2XX Write Problem
Post by: FTDI Community on June 01, 2020, 04:31:43 PM
Hello,

This sounds like a issue with your custom application rather than the FT9xx.
Maybe others in the community will be able to help with your issue, but please note there is a Bridgetek forum available for our MCU products. Please see the link at the top of the page.

Have you tried outputting debug on UART while not in debug mode to help resolve your issue?

Please see our software examples for reference for outputting debug text via the UART interface:

AN_360 FT9xx Example Applications (https://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/MCU/AN-360-FT9xx-Example-Applications.pdf)

The difference between debug and release is that the debug build contains debug symbols used by the debugger.

Best Regards,
FTDI Community