Blink the PC13 LED with an ST-Link V2
Blink the PC13 LED with an ST-Link V2
I’m trying to program my STM32F103C8T6 (Blue Pill) using the Arduino IDE, and I’ve hit a wall. I installed the STM32 core via the Boards Manager using the URL https://github.com/stm32duino/BoardMana ... index.json Chill Guy Clicker, selected "Generic STM32F103C series" under Tools > Board, and set the upload method to "STM32CubeProgrammer (SWD)" since I’m using an ST-Link V2. I wired it up (SWDIO to PA13, SWCLK to PA14, 3.3V, GND, and reset pin), but when I try to upload a simple Blink sketch for the onboard LED on PC13, I keep getting this error: "Failed to connect to target - STM32CubeProgrammer error: No STM32 target found." The ST-Link’s LED blinks green, so it’s powered, but the IDE won’t upload, and STM32CubeProgrammer standalone can’t detect the board either. I’ve double-checked the boot jumper (BOOT0 to 0, BOOT1 floating), reset the board manually, and even reinstalled the drivers, but no luck. What am I missing?
Re: Blink the PC13 LED with an ST-Link V2
Remove the 3.3v from the swd connector and power the bord with usb.
Boot 0 an 1 have to be 0.
Boot 0 an 1 have to be 0.