STM32duino bluepill bootloader can't upload code
I got a few bluepills to learn and test them, so i downloaded stm32duino bootloaders chose the correct one and flashed it to stm32 using stlinkv2(generic_fastboot_pc13.bin). Everything went well and bootloader led blinks when i reset it using the pushbutton. Also when i go for example to arduino ide it detects the port. But when i try to upload code to it it just timeouts and doesn’t upload. I tried all different upload methods and different boards even the fake chip option but nothing worked. I got booloaders from here ((https://github.com/rogerclarkmelbourne/STM32duino-bootloader|bootloader))
Any idea what’s wrong or what to check?
Best regards