Solved
timistofBest answer
Associate III
What worked for me is to add STM32 Cube MX to list of the apps that get allowed "full disk access" under System Preferences -> Privicay & Security -> Full Disk Access.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.