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 ... 14 15 [16] 17 18 ... 60
226
Hello,

please refer to the following documents:

https://ftdichip.com/wp-content/uploads/2020/08/AN_163_Vinculum-II_USB_Slave_Detecting_Disconnect.pdf

this application note describes how to detect when a USB slave device has been disconnected from the VNC2.

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

this application note describes the VNC2 slave driver interface, which controls the USB slave ports on the device.

these should help you with your application.

please let us know if you have anymore questions.

Best regards,

FTDI community

227
Discussion - Software / Re: FT4232H -- RS232 Serial Use
« on: October 28, 2021, 05:13:05 PM »
Hi
Yes, You need to send/receive via the API

Regards
FTDI Community
 

228
Discussion - Drivers / Re: FT4222H and Windows driver 2021
« on: October 27, 2021, 04:56:35 PM »
Hi Cgtx32,
From the data sheet.  "There are 4 GPIO pins in the FT4222H that can be configured for different
purposes, such as a suspend indicator output, remote wake up input, an interrupt input or general
purpose Input/Output. These GPIOs can be easily initialized and fully controlled at the USB host side by
the application programming interface (API) defined in LibFT4222."
The link below is for the libFT4222 users guide document. 
http://www.ftdichip.com/Support/Documents/AppNotes/AN_329_User_Guide_For_LibFT4222.pdf

Regards
FTDI Community

229
Hello,

Could you advise what your key requirements are for the I2C communication. For example, is it most important to have the bytes all close together during one read or is it the interval at which reads occur which is important? Or is it just an overall throughput (even if in bursts) if the peripheral has some buffering?

One thing to note about bulk USB transfers are that they don't have guaranteed latency or guaranteed instantaneous throughput due to the USB scheduling and the other devices on the bus as well as other factors and so there can also be trade-offs depending on which requirement is most important.

Could you advise what calls do you use in your code to send the bytes?
You mentioned that there was no peripheral connected and so note that the communication may also differ as the device will not see an ACK on the bus

Best Regards, FTDI Community

230
Hi
Did you try hitting “Pause” in the debug ribbon?
Calculating the peak stack is transfer intensive so I’d bet it would only be performed when it’s stopped running the actual code on the device. 

Regards
FTDI Community

231
Hello,

In reply to your previous questions:

Please try swapping the first two lines of the function around.

Code: [Select]
static size_t strcspn(const char * s1, const char * s2){
    char *c;
    char *s = s1; 
 

The readme file mentions that this might be a problem:

- At optimisation levels of 2 and above, if the first variable declaration in a function also initialises the variable then the initialisation may not occur. Separate the declaration and initialisation of the variable to workaround.

We only put the most basic implementation of the standard libraries that we could.

“A minimal set of C runtime library functions are provided” in the help file.
Further “NOTE: Not all the standard library functions have been included.”

We didn’t know fputc is there as it is not in the help file.

We will not be adding it into the standard libraries as it takes up space and reduces the amount of program space for other code.

We don’t claim to be compliant to any particular implementation of C.

Best Regards,
FTDI Community

232
Test and Review Area / Vinculum II Toolchain Patch V2.0.2-SP3
« on: October 25, 2021, 04:37:54 PM »
Hello All,

We have an update for some VNC2 drivers which include some improvements.

Please contact support1@ftdichip.com and we can send you the installer via SFTP.

Note that you must have V2.0.2-SP2 already installed which can be found here:

https://ftdichip.com/firmware/vnc2-tools/

Vinculum II Installer V2.0.2-SP3.exe will be supplied which is a patch to update all the drivers and libraries (stdio, stdlib etc).

The changes are listed here in the patch readme:

2021-10-25

This is patch Version 2.0.2-SP3 release of the Vinculum II Toolchain, comprising updated device drivers and libraries.

All ReadMe file information applies to the updates provided in V2.0.2-SP3.

*** This patch installer must be applied to an installation of V2.0.2-SP2 only. ***

There are no updates to compile, debug, or other build and configuration tools; sample code; VOS kernel; Vinco libraries; IDE; or documentation.

We welcome suggestions for new features or improvements to existing features.

The ReadMe files for previous releases are also available in the installation directory.
 
Drivers Readme
--------------

Fixed Issues:
- USBSlaveFT232.a fix enumeration issue;
    Add in latency timer get and set IOCTL functions,FTDI_SET_LATENCY_TIMER and FTDI_GET_LATENCY_TIMER were present but not implemented;
    Improve data flow so data is passed faster and more reliably to and from the host;
    Implement a dummy EEPROM to enable applications that require EEPROM checks to work.
- USBSlave.a correct remote wakeup behaviour when acting as a USB device and ensure correct ZLP generation for USB verification tests.
- BOMS.a implement changes for 64kB clusters on FAT16.
- FAT.a fix available cluster count.
- USBHostFT232.a correct baud rate settings for High-Speed devices. Added support for new FTDI devices.
- USBHost.a fix VOS_IOCTL_USBHOST_DEVICE_SET_CONFIGURATION to change the configuration of devices on USB host. Note: this will re-enumerate with the new configuration value.
- USBHostCDC code fix bitmaps for notifications.

Restrictions:
- FAT library will not support ATAPI disks.
- FAT library does not support FAT12 format disks. Please use FAT16 or FAT32 format.
- FAT fat_fileCopy function will only copy files to a different disk from the source disk.
- USBHostFT232 driver does not assert RTS or DTR automatically when flow control is enabled.
    This must be done with an VOS_IOCTL_USBHOSTFT232_SET_RTS/DTR before data can be received.

Known Issues:
- N/A

 
Runtime Libraries Readme
------------------------

Fixed Issues:
- Corrected return value of printf(), sprintf(), fprintf().

Restrictions:
- N/A

Known Issues:
- N/A


Best Regards,
FTDI Community

233
Hi,
Can you provide some screen shots of the issue you are seeing? 
Build settings (Debug/Release) ?   
How big are the stacks for each thread?
Maybe the scheduler has not started? That would need to be running to get the thread manager to show information.
Does it have the current stack size listed?

Regards
FTDI Community

234
Unfortunately the compiler doesn't do all constant initialisation which you might expect on other compilers.

If the values are expressed as constants without typecasting then it will compile.

   
Code: [Select]
enum {
        g0 = 0x82F63B78,
        g1 = (g0 >> 1) & 0x7fffffff,
        g2 = (g0 >> 2) & 0x3fffffff,
        g3 = (g0 >> 3) & 0x1fffffff,
    };
                               
    static const int table[16] =
    {
        0,                  g3,           g2,          (g2^g3),
     g1,       (g1^g3),      (g1^g2),      (g1^g2^g3),
        g0,       (g0^g3),      (g0^g2),      (g0^g2^g3),
        (g0^g1),  (g0^g1^g3),   (g0^g1^g2),   (g0^g1^g2^g3),
   };

I’ve not checked the values in the code though. They are precompiled (in decimal) to the following values according to the ASM output file:

0, 274646895, 549293790, 820201905, 1098587580, 1361435347, 1640403810, 1905808397, -2097792136, -1834419177, -1572096602, -1307217207, -1014159676, -741088853, -483350502, -210866315

Best Regards,
FTDI Community

235
Hello,

Please try renaming the variable from "address" to anything else.

Code: [Select]
typedef signed char                           int8_t;

int t2(int8_t address)
{
    return  0;
}

int t1()
{
                int8_t paramt1;

                t2(paramt1);    //401 - C1406
               
                return 0;
}

Both of these work:

int t2(int8_t badress)

int t2(int8_t baddress)

Best Regards,
FTDI Community

236
Hi,

what programming language are you using? are you able to show a screenshot of your code?

Best regards

FTDI community

237
Discussion - Software / Re: FT602 change resolution
« on: October 06, 2021, 03:18:16 PM »
Hi

Sorry, the only way to change the camera resolution is through the FT602 configuration programmer utility.

Best regards

FTDI Community

238
General Discussion / Re: Ft260q-t instead of ft232r
« on: October 05, 2021, 04:44:38 PM »
Hello,
Link below is for our application note AN_184 - FTDI Device Input Output Pin States.  Page 38 details the FT260 part. 
https://www.ftdichip.com/Support/Documents/AppNotes/AN_184%20FTDI%20Device%20Input%20Output%20Pin%20States.pdf

Regards
FTDI Community

239
General Discussion / Re: Ft260q-t instead of ft232r
« on: October 04, 2021, 04:46:20 PM »
Hello,
Yes, both parts can be used as USB to RS232/RS422/RS485 Converters
https://ftdichip.com/compare-products/?product_cate=18&compare_pr%5B%5D=2074&compare_pr%5B%5D=3757

Regards
FTDI Community

240
Hello,

The SCK line should normally be a push-pull output on this device (unless your code switches the pin to input mode at any time)

What I/O voltage does your MCU use? Is it a 3v3 I/O

We would recommend to check with a scope or logic analyser with analog capability to see what the waveforms are doing,

Best Regards, FTDI Community




Pages: 1 ... 14 15 [16] 17 18 ... 60