AnsweredAssumed Answered

Timeout for FTFC operations

Question asked by Ummer Kunnummalkandy on May 29, 2019
Latest reply on May 30, 2019 by Daniel Martynek

Hello,

   In the sample code, before doing a flash operation (Or any FTFC operation) we are checking the command complete flag. 

                        while(0 == (FTFx_FSTAT & FTFx_FSTAT_CCIF_MASK));

 

But since it is an infinite loop, I would like to add a specific timeout here to make sure that the program flow is not stuck here for ever. So I would like to know is there any specification for the command execution time for FTFC commands available?

 

My aim is to add a timeout in these places , so that I can do some recovery actions after timeout.

 

Thanks

Ummer K

Outcomes