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

Author Topic: problem with FT_SetChipConfiguration  (Read 603 times)

Arsen

  • Newbie
  • *
  • Posts: 9
    • View Profile
problem with FT_SetChipConfiguration
« on: May 10, 2024, 09:57:44 AM »

Hello.
After the FT_SetChipConfiguration command, I cannot close and reopen the FT600 device connected via USB 2. What could be the reason? Thank you.

FT_CreateDeviceInfoList(&numDevs);
FT_Create(ptDest->SerialNumber, FT_OPEN_BY_SERIAL_NUMBER, &HandleFtdi)
FT_GetChipConfiguration(HandleFtdi, &oConfigurationData);
oConfigurationData.FIFOClock = CONFIGURATION_FIFO_CLK::CONFIGURATION_FIFO_CLK_66;
oConfigurationData.ChannelConfig = CONFIGURATION_CHANNEL_CONFIG_1;                 //CONFIGURATION_CHANNEL_CONFIG_1
oConfigurationData.FIFOMode = CONFIGURATION_FIFO_MODE_600;  //CONFIGURATION_FIFO_MODE_600
oConfigurationData.PowerAttributes &= 0xBF;   //0x40 is the flag of Self/Bus powered
res = FT_SetChipConfiguration(HandleFtdi, &oConfigurationData);
res = FT_Close(HandleFtdi);  //res = 0: good!
res = FT_Create(ptDest->SerialNumber, FT_OPEN_BY_SERIAL_NUMBER, &HandleFtdi);  //error :: FT_DEVICE_NOT_FOUND
Logged

Arsen

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: problem with FT_SetChipConfiguration
« Reply #1 on: May 16, 2024, 02:52:49 PM »

According to the documentation, after FT_SetChipConfiguration the device should reboot. “The device will restart after the chip configuration is written to the device.” (AN_379 D3XX Programmers Guide, page 45, Remarks). But it does not reboot, so it doesn't open again.(FT_DEVICE_NOT_FOUND)
Where can I get the source code for the "FT60x Chip Configuration Programmer"
Thanks everyone.
Logged