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.

[参考译文] TMS320F28379D:C2000Ware 4.02.00.00故障?

Guru**** 2527420 points
Other Parts Discussed in Thread: C2000WARE

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1192130/tms320f28379d-c2000ware-4-02-00-00-bug

器件型号:TMS320F28379D
主题中讨论的其他器件:C2000WARE

要报告产品中的可疑错误、我需要做什么?

我在 C2000Ware_4_02_00_00中使用了 USB 库、并在 usbbuffer.c 的 USBBufferInfoGet ()中发现了一个错误

void
USBBufferInfoGet(const tUSBBuffer *psBuffer, tUSBRingBufObject *psRingBuf)
{
    //
    // Check parameter validity.
    //
    ASSERT(psBuffer && psRingBuf);

    //
    // Copy the current ring buffer settings to the clients storage.
    //
    psRingBuf->pui8Buf = psBuffer->sPrivateData.sRingBuf.pui8Buf;
    psRingBuf->ui32ReadIndex = psBuffer->sPrivateData.sRingBuf.ui32ReadIndex;
    psRingBuf->ui32Size = psBuffer->sPrivateData.sRingBuf.ui32ReadIndex;
    psRingBuf->ui32WriteIndex = psBuffer->sPrivateData.sRingBuf.ui32WriteIndex;
}

它将 psRingBuf->ui32Size 指定 ReadIndex 的值,而不是 Ring 缓冲区的大小。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Gary、

    我已将此事指派给正确的主题专家、很抱歉耽误了时间。

    最棒的

    Ryan Ma

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Gary、

    感谢您指出这一点。  将此文件归档为错误。

    此致

    Siddharth