FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - FTDI Community

Pages: 1 ... 8 9 [10] 11 12 ... 60
136
Discussion - Software / Re: FT4222H non-byte sized data transfer?
« on: August 17, 2022, 04:43:53 PM »
Hello,

Here is some feedback from our R&D team:

FT4222H SPI Slave can only receive bytes.
It cannot accept bit transmission.

The workaround might be for the SPI master to send additional dummy bits.

Best Regards,
FTDI Community

137
Discussion - Software / Re: FT4222H non-byte sized data transfer?
« on: August 16, 2022, 04:32:46 PM »
Hello,

All API functionality can be found in AN_329 User Guide for LibFT4222.

What happens if you just try to call another read without checking if there is any data available?

Best Regards,
FTDI Community

138
Hi John,

we have some HID precompilied firmware that can help you. The HID firmware for VNC2 are for host port 1. The precompiled firmware can be found on our website https://ftdichip.com/firmware/precompiled/. You should have a look at AN 193 VNC2 SPI Master to USB HID Class Host Bridge. there are other HID class firmware, however i believe this one will be most rlevent to you.

Best Regards

FTDI Community

139
Test and Review Area / Re: FT_PROG
« on: August 16, 2022, 10:51:05 AM »
Please refer to the FTDI website for the latest version of FT_PROG which fixes all known issues:

https://ftdichip.com/utilities/#ft_prog

Best Regards,
FTDI Community

140
Test and Review Area / Re: LibMPSSE Beta
« on: August 16, 2022, 10:48:47 AM »
LibMPSSE 1.0.3 has now been released to the website:

https://ftdichip.com/software-examples/mpsse-projects/

Note v1.0.3 has a known bug which will be fixed in a future version.

The code is not sending I2C ACK after 1st byte read.

Please check this bit of code in particular:

static FT_STATUS I2C_Read8bitsAndGiveAck(FT_HANDLE handle, uint8 *data, bool ack)
{
    FT_STATUS status = FT_OTHER_ERROR;
    uint8 buffer[20], inBuffer[5];
    uint32 noOfBytes = 0;
    DWORD noOfBytesTransferred;
    FN_ENTER;

    /*set direction*/
    buffer[noOfBytes++] = MPSSE_CMD_SET_DATA_BITS_LOWBYTE;/* MPSSE command */
    buffer[noOfBytes++] = VALUE_SCLLOW_SDALOW; /*Value*/
    buffer[noOfBytes++] = DIRECTION_SCLOUT_SDAIN; /*Direction*/
    /*Command to read 8 bits*/
    buffer[noOfBytes++] = MPSSE_CMD_DATA_IN_BITS_POS_EDGE;
    buffer[noOfBytes++] = DATA_SIZE_8BITS;/*0x00 = 1bit; 0x07 = 8bits*/
    /*Command MPSSE to send data to PC immediately */
    buffer[noOfBytes++] = MPSSE_CMD_SEND_IMMEDIATE;
    /* Fix introduced to solve a glitch issue */
    buffer[noOfBytes++] = MPSSE_CMD_SET_DATA_BITS_LOWBYTE; 
    buffer[noOfBytes++] = VALUE_SCLLOW_SDALOW ;
    buffer[noOfBytes++] = DIRECTION_SCLOUT_SDAIN;                                                                                                     

    /* Burn off one I2C bit time */
    buffer[noOfBytes++] = MPSSE_CMD_DATA_OUT_BITS_NEG_EDGE;
    buffer[noOfBytes++] = 0; /*0x00 = 1bit; 0x07 = 8bits*/ 
    buffer[noOfBytes++] = ack ? SEND_ACK : SEND_NACK;/*Only MSB is sent*/

SDA has been left as input:

    buffer[noOfBytes++] = DIRECTION_SCLOUT_SDAIN;   

But this should actually be output:

    buffer[noOfBytes++] = DIRECTION_SCLOUT_SDAOUT; 

Best Regards,
FTDI Community

141
Test and Review Area / Re: Vinculum II Toolchain Patch V2.0.2-SP3
« on: August 16, 2022, 10:44:08 AM »
An issue has been found when using V2DAP in IPH mode where sending WRF command doesn't return after the specified number of chars are input.   
 
Fix to monReadFileName function starting at line 902 :-   

Code: [Select]
else
{
if (dataLength)
{
do
{
dataLength--;
monRead(&charRead, 1);
if (charRead == ' ') charRead = 0;
param[dataLength] = charRead;
}
while (dataLength != 0);
}

// save the command terminator character
monRead(&charRead, 1);
cmdTerminator = charRead;
}

return MON_SUCCESS;
}

Original code here for reference:

Code: [Select]
else
{
if (dataLength)
{
do
{
dataLength--;
monRead(&charRead, 1);
param[dataLength] = charRead;
}
while (dataLength != 0);
}

// save the command terminator character
cmdTerminator = charRead;
}

This will be included in the next release.

Best Regards,
FTDI Community

142
Discussion - Software / Re: VNC2 V2DPS precompiled firmware issue
« on: August 01, 2022, 04:28:45 PM »
Hello,

Which version of the V2DPS firmware are you using?

Note that there is also an SP3 patch for the IDE available:

https://www.ftdicommunity.com/index.php?topic=731.0

V2DPS firmware is provided with the IDE which allows customers to customise and debug the firmware:

C:\Users\Username\Documents\FTDI\Firmware\Samples\V2.0.2-SP2\VNC1L\V2DPS

So it might be worthwhile building the latest version of the code with the IDE and SP3 patch.

Otherwise the hub might not be compatible with the firmware or IC.
Also note that VNC2 only has USB Full Speed Controllers inside the IC.

Best Regards,
FTDI Community

143
Hi,
OS X has included built-in partial support for some FTDI devices in VCP mode.  Starting with 10.11 (El Capitan), Apple’s own driver seems to be sufficiently comprehensive that many
customers will not need to install FTDI’s own VCP unless they wish to use its advanced features such as baud-rate aliasing and configurable latency times. 

If you have any additional issues or questions it would be better if you could contact your local support team via email.     
https://ftdichip.com/technical-support/

Regards
FTDI Community


144
Discussion - Software / Re: Compressing to ASTC on Linux.
« on: July 14, 2022, 09:13:24 AM »
Hello,

This is the FTDI Community.

For EVE related questions please post on our Bridgetek Community:

www.brtcommunity.com

Best Regards,
FTDI Community

145
Discussion - Software / Re: FT4222 use mode 2 and FT_OPEN_BY_LOCATION
« on: July 11, 2022, 04:56:29 PM »
Hi,

The location IDs on Linux are just an estimate of where the USB device is. it is not like windows where it is the exact location. there is no way to have it fixed. Although it shouldn't change when you reconnect, there is no guarantee that it won't. i would suggest that you would be better opening the device by description or serial number. Or you could even check where the device is on the USB tree before opening it.   

Best Regards

FTDI Community                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

146
Discussion - Software / Re: LibFT260 Constant UART Stream?
« on: July 06, 2022, 04:40:16 PM »
Hi
The FT260 is a HID class device, so 64K interrupt transfer on the FT260.  The FT4222 part is perhaps a better option if you are looking for a bulk data transfer     
https://ftdichip.com/wp-content/uploads/2020/08/AN_395_User_Guide_for_LibFT260.pdf

Regards
FTDI Community

147
Discussion - Drivers / Re: FT232H and Serial Port
« on: June 28, 2022, 04:52:54 PM »
Hello,

Unfortunately we don't have libMPSSE_NET.dll or C# support for LibMPSSE.

The only option would be to use D2xx drivers direct.
You could take a look at AN_411 FTx232H MPSSE I2C Master Example in C Sharp.
This is for I2C not SPI but it might help you understand what is required.

Best Regards,
FTDI Community

148
Discussion - Drivers / Re: VCP driver on macOS 11
« on: June 28, 2022, 04:37:01 PM »
Hi,
Can you clairfy, what open source client software' are you using?  Have you tried with a terminal programs like PuTTY or Coolterm?
The application has to specify CTS/RTS support. It can be selected with those two terminals mentioned above.   

Regards
FTDI Community

149
Hello,

Parameter section information could be to do with the size of the linker file.

Please contact your local support office where you can share your project and we can try to help with your issues:

https://ftdichip.com/technical-support/

Best Regards,
FTDI Community

150
Hello,

All information on the VNC2 tools can be found in AN_151 Vinculum II User Guide:

https://ftdichip.com/wp-content/uploads/2020/08/AN_151_Vinculum-II_User_Guide.pdf

The asm error is a value of >255 being loaded into an 8 bit register.
The ASM file can have line numbers from the original C code inline.
Please check the command line options for VinC.exe:

Code: [Select]
VinC.exe
VinC [options] [file ...] [-L linker options]

  -E            Run the pre-processor and stop.
  -S            Stop processing after pre-processing and compilation.
  -c            Pre-process, compile and assemble but do not invoke linker.
  -O level      Specify optimisation for compiler.
  -d level      Specify debug output level for compiler.
  -D macro=defn Defines macro with optional defn in preprocessor.
  -U macro      Undefines macro in preprocessor.
  -I dir        Add a search directory for include files.
  -o file       Specify output filename.
  -l file       Specify log filename.
  --save-temps  Save all temporary files.
  --save-temp   Save temporary files: 'a' assembler, 'i' preprocessor,
                'o' object.
  --combine     Combine source files on command line into single input file
                for compiling.
  --library     Create a single output file for all source files on command
                line.
  -v            Verbose output of command lines for tools.
  -q            Quieten output of command lines for tools.
  --version     Display tool version.
  --all-versions        Display all tool versions.
  --max-warn limit      Limit the number of warnings displayed.
  --max-err limit       Limit the number of errors displayed.
  --help        Display this help message.
  -L            Process all following options as linker options.

The bin file can be up to 256 kB - 4 kB.

Best Regards,
FTDI Community

Pages: 1 ... 8 9 [10] 11 12 ... 60