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 bug?

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

What do I need to do in order to report a suspected bug in a product?

I have using the USB library in C2000Ware_4_02_00_00 and have found a bug in USBBufferInfoGet() in usbbuffer.c.

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;

It is assigning the psRingBuf->ui32Size the value of the ReadIndex instead of the size of the ring buffer.