关于stm32f103c8t6小系统板usb转ttl串口下载程序的问题
arduino ide 代码
void setup() {
// initialize digital pin PB1 as an output.
pinMode(PC13, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(PC13, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(PC13, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
arduino ide运行结果
Failed to init device.
stm32flash 0.4
http://stm32flash.googlecode.com/
Using Parser : Raw BINARY
Interface serial_w32: 115200 8E1
stm32f103c8t6小系统板用usb转ttl可以正常连接电脑,端口正常显示,但不能下载程序[boot0--1 boot1--0 也按了复位] 也尝试调换tx1与rx1的接线.arduino ide 设置正确但是同样不能下载程序 ,使用flymcu下载程序显示芯片超时。奇怪的是,我用st-link v2在arduino ide下载blink,灯闪烁可以正常运行。
stm32f103c8t6小系统板可以使用usb转ttl烧录程序,调试
没有用过基于STM32的Arduino板子,不确定它的下载方式。不过一般的Arduino板子能通过串口下载,并不只是靠串口的TXD RXD,串口上还有额外的IO控制板子进入下载模式的。
参考下面的文章试试看。