On Apr 26, 2021, at 9:49 AM, ERobot <eric.c...@gmail.com> wrote:
Hello,
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/304c4945-18cd-48da-bef7-9db347d8f9f0n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/304c4945-18cd-48da-bef7-9db347d8f9f0n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CABbxVHvdeqjJBs2BkKeSfqMEmLaj%3DpH94whO-n25DBAtFgAdww%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CA%2BKVXVNP%2BtHfwiwzadW-O_-tDZRfjFUsy0RmurbxCaEXee%3DONw%40mail.gmail.com.
1. On my notebook, I followed this link, https://www.onetransistor.eu/2020/01/stm32-bluepill-arduino-support.html , and I was able to load that simple Arduino blink code to blue pill with a ST-LINK-V2 dongle, and I was able to see the LED was blinking. But when I connect the blue pill to Raspberry Pi with an USB cable, RPI cannot detect the blue pill. I tried a few blue pills, and the results are same. For this method, I am not sure a bootloader is loaded to blue pill.
2. Again, on the same computer, I followed another similar link, https://www.onetransistor.eu/2017/11/stm32-bluepill-arduino-ide.html. After I load the same Arduino blink program, it shows an error message, “error resetting after download : usb_reset: could not reset device, win error: a device which does not exist was specified”. The LED was not blinking. But when I connect the blue pill to Raspberry Pi with the same cable, RPI detects the blue pill. For this method, I believe a boot loader is loaded to the blue pill, but unfortunately I was not able to make the Arduino blink program working.
3. Finally, I tried this link, https://circuitdigest.com/microcontroller-projects/getting-started-with-stm32-blue-pill-development-board-stm32f103c8-using-arduino-ide, with a FTDI programmer to load the Arduino blink program to blue pill. The LED is blinking, but when I connect the blue pill to raspberry pi with an USB cable, the raspberry cannot detect blue pill.
With (1) and (3), I am able to load the Arduino code to blue pill, but raspberry pi cannot detect blue pill. With (2), raspberry pi can detect the blue pill, but the Arduino code is not successfully loaded.
It seems there is a bug for raspberry pi to connect with blue pill with an usb cable, as below link, and I have not found a solution. http://stm32duinoforum.com/forum/viewtopic_f_22_t_4276_start_10.html
Eric
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/1908452845.2214409.1619630480139%40mail.yahoo.com.