By HKrnrHi, a solution that worked in my case has been found on a similar topic. It appears the issue occurs on the row 561 of usb_ctrlreq.c, which you can replace with the following :ep_descriptor->wMaxPacketSize |= MIN((uint16_t)(LE16(buf + 4) & 0x...
Hello,this tutorial is wrong. Tested on STM32L010F4P6. To use the function HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR1, 0xBEBE); no need to call HAL_PWR_EnableBkUpAccess(); or HAL_PWR_DisableBkUpAccess();.Actually, if the HAL_PWR_DisableBkUpAccess(); func...