Extremely New User - Trying to get a basic example running on my board
Hi,
The error with the LIBUSB_ERROR_ACCESS and the “open failed” afterwards means there is an application that uses this STlink.
Are you sure there is not a “STM32 STLINK Utilities” running with the board connected for example ?
Or maybe you have a previous debug session not closed.
Check that there is no openocd.exe thread running in task manager.
For the STM32L152RBT6 mcu, this is important to use the same in your projects.
I mean, debugging a program made for STM32L152RC is not the same as STM32L152RB.
The disco with STM32L152RBT6 is maybe a very old one and is deprecated, that’s maybe why it isn’t supported in CubeL1.
Rgds,
Laurent