Hi Henk,
I tested BM&FreeRTOS successfully on default FS USB interface on the TWR-SER card, then changed below to test HS USB interface on the TWR-K65F180M card.
Look in file sources->usb_device_config.h for following:
/*! @brief KHCI instance count */
#define USB_DEVICE_CONFIG_KHCI (0U) //DES was (1U).....1=FS USB module using TWR-SER USB mini connector
/*! @brief EHCI instance count */
#define USB_DEVICE_CONFIG_EHCI (1U) //DES was (0U).....1=HS USB module using TWR-K65F USB micro connector
Jumper wise I kept J9 on pins 5-6 (3-4 worked too (for FS but not HS), others didn’t) and kept J23 populated with 1-2, and 3-4. The PDF documentation seems wrong in that case.
Regards,
David