If you try programming STM32 with Openocd and you have:
Error: init mode failed (unable to connect to the target)
You should try connect the reset pin to the programmer.
But if problem still occurs you should try this:
1. Click and hold hardware reset button,
2. Put on command:
openocd -f /usr/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/share/openocd/scripts/targe
3. Let go reset button
4. Push and hold reset button again and do your command
Now you should see this:
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
The best known interface is USB. I show in this article, how to connect and catch data from STM32 bluepill board in 15 minutes.
Continue reading “BluePill USB Grabber v1.0”
If you have issue with flashing BluePill I have for you 2 solutions.
Click for more 🙂
Continue reading “BluePill STM32 Flashing problem”
Accelerometer is a very usefull sensor for detecting movement. In this project I use simply settings LSM303D sensor and LCD PCD8544 display. In this settings I choose BluePill board – STM32F103C8T6 microprocessor
Continue reading “STM32 Accelerometer LSM303D with LCD PCD8544”