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.

TM4C1294NCPDT: TivaWare USB, possibly wrong ASSERT

Part Number: TM4C1294NCPDT

Hello,

I currently use the TivaWare 2.1.3.156.


I'have made a program with 4 CDC on my TIVA, I tested it and it fired the following ASSERT in driverlib file usb.c file, function _USBIndexWrite:

ASSERT((ui32Endpoint == 0) || (ui32Endpoint == 1) || (ui32Endpoint == 2) ||
(ui32Endpoint == 3));

I just removed this ASSERT and all seem to works.
I believe that this ASSERT is wrong because the number of endpoint can be far greater, I read that my TIVA seem to have up to 16 endpoint.

Should I fix something somewhere else or I made something wrong?? Because everything works without this ASSERT.

Regards.