last two days I am trying to program my blue pill with Arduino IDE, helplessly... Actually, I managed to install simple blink program, but after that, all other attempts ended up with:
Failed to init device.
Using Parser : Raw BINARY
Interface serial_posix: 115200 8E1
An error occurred while uploading the sketch
I crawled internet but no help so far... I followed simply tutorial: https://www.youtube.com/watch?v=K-jYSysmw9w just as this https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki/Installation, and as I said, first time was problem but finally successfully upload it. However, after that when I wanted some real working program to install failed. All mappings ftdi -> stm32 are correct, jumper booto is set to 1 mode, for programming, I have required files within /etc/udev/rules.d, stm32 library folder in sketch folder, and yet the error above is happening for a last 20 hours... (I am using Ubuntu 16.04) Please, if anyone point me what is wrong (why first time worked and second wont), or to give me precise steps to perform in order to work, I appreciate.
EDIT: Blinking program works just fine when I move jumper to 0, and supply power via usb.