Posted on August 12, 2015 at 17:07The STM32CubeMX software generates a USB stack with a call to free() in usbd_conf.c. If you disconnect USB by calling usbd_stop() the software crashes here as there is no free from stdlib or there is no correctly de...