Can't debug with Nucleo STM32F411RE : STLink error (22)

Hello Jerome,

After erasing the chip (deleting the program built with Mbed OS 6.6.0) using the STM32CubeProgrammer and modifying the Mbed OS 6.6.0:

targets/TARGET_STM/mbed_overrides.c 

and

targets/targets.json

according to your proposal the programming and debugging works OK.

Thank you, Zoltan

2 Likes