This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

About the error flag of host descriptor



Hi TI Folks,

In the CPPI host descriptor layout, 4 bits of packet info WORD 2 are defined as the error flag.

Recently, I use the BCP of C6670 for data processing,  but after pushing the descriptor into the BCP Tx Queue,  the error_flag of the output host descriptor from BCP is

equal to 5,  not  zero.  Meanwhile the BCP output is incorrect.   What does error flag 5 mean? how to solve this problem?

I use the  EVM 6670 + CCS 5. 1 

Thanks

elijah lee

  • Hi Elijah, 

    The flag bits are obviously a sign that something went wrong, usually this means your configuration or setup of your system. For CPPI, what they mean exactly depends on what you told the code to flag as an error. If you look at the BCP page 53, the section on debug, you can see that the error flag can be flagged for many reasons (http://www.ti.com/lit/ug/sprugz1/sprugz1.pdf) .

    Look at section 4.2.3 which has the BCP error bit description. if it's 5, which in binary is 101, means it flags bit 0, and 2, which is SOP missing and a halt interrupt created by that. 

    Good luck, and I hope this helps!

    Kat Kelsch