The ID code failure indicates you have a “fake” Bluepill with a CS32 or GD32 chip instead of a genuine STM32 chip. Debugging and uploading to these chips was already discussed in
The ID code failure indicates you have a “fake” Bluepill with a CS32 or GD32 chip instead of a genuine STM32 chip. Debugging and uploading to these chips was already discussed in