I am trying to program an STM32 microcontroller using STlink V2 debugger and Arduino IDE. But somehow I was unable to see the STlink device in the upload method even after installing the drivers for the STlink debugger.
Any Idea why I was unable to see it? I am using windows 10 and IDE 2.3.2.
I have the STM32CubeProgrammer Let me update it. All I need is to have the ST link to be appear in the upload method in Arduino IDE so I can flash program my ST Micro using Arduino.
I updated the firmware on the ST-link V2 with STM32CubeProgrammer and I also tested a blink code using STM32CubeProgrammer on my micro and it works fine.
But I still can't see the ST-link V2 in the Arduino IDE upload method.
I have a ST NUCLEO board as well. I was able to flash my NUCLEO without any issues using the Arduino IDE and selecting the upload method: STM32CubeProgrammer (SWD). But I cannot program the BluePill using that upload method, maybe because I am using ST-Link V2 to flash my BluePill.
They all gives me the same error. I see one guy in youtube uploading the code to the BluePill the same way, but he selected "ST-Link" in the upload method, which I don't see. I was thinking that might be the problem and I am trying to get ST-link into my upload method.