在Ubuntu20.04下如何燒錄CH32F103C8T6

請教, 在Ubuntu20.04下如何燒錄CH32F103C8T6?


STM32F1/STM32F4可以通過stlink下載, CH32F103也支持嗎?

您好,目前我們可以提供Ubuntu下的WCHISP工具下載,可以將你的需求發(fā)送至我的郵箱(lzs@wch.cn),我會將相關(guān)工具通過郵箱發(fā)送給你。



非常感謝, 已經(jīng)發(fā)郵件.


測試用stlink + openocd 下載GPIO示例代碼到CH32F103C8T6可以閃燈, 命令記錄如下

AVAILABLE:?blackmagic,?cmsis-dap,?dfu,?jlink,?mbed,?stlink
CURRENT:?upload_protocol?=?stlink
openocd?"-c?set?CPUTAPID?0x2ba01477"?-d2?-s?/home/blueyes/.platformio/packages/tool-openocd/scripts?-f?interface/stlink.cfg?-c?"transport?select?hla_swd"?-f?target/stm32f1x.cfg?-c?"reset_config?none"?-c?"program?{.pio/build/bluepill_f103c8_ch32/firmware.elf}??verify?reset;?shutdown;"
xPack?OpenOCD?x86_64?Open?On-Chip?Debugger?0.11.0+dev?(2021-10-16-21:15)
Licensed?under?GNU?GPL?v2
For?bug?reports,?read
????????http://openocd.org/doc/doxygen/bugs.html
debug_level:?2
0x2ba01477
hla_swd
Info?:?The?selected?transport?took?over?low-level?target?control.?The?results?might?differ?compared?to?plain?JTAG/SWD
Info?:?DEPRECATED?target?event?trace-config;?use?TPIU?events?{pre,post}-{enable,disable}
none?separate
Info?:?clock?speed?1000?kHz
Info?:?STLINK?V2J37S7?(API?v2)?VID:PID?0483:3748
Info?:?Target?voltage:?3.275050
Info?:?stm32f1x.cpu:?Cortex-M3?r2p1?processor?detected
Info?:?stm32f1x.cpu:?target?has?6?breakpoints,?4?watchpoints
Info?:?starting?gdb?server?for?stm32f1x.cpu?on?3333
Info?:?Listening?on?port?3333?for?gdb?connections
target?halted?due?to?debug-request,?current?mode:?Thread?
xPSR:?0x01000000?pc:?0x0800014c?msp:?0x20005000
**?Programming?Started?**
Info?:?device?id?=?0x20000410
Info?:?flash?size?=?64kbytes
**?Programming?Finished?**
**?Verify?Started?**
**?Verified?OK?**
**?Resetting?Target?**
shutdown?command?invoked


請問這種下載方式是否可行? 技術(shù)上是否會有坑?


謝謝


您好,@blueyes,WCHISP工具會有相關(guān)同事通過郵件發(fā)送給你,關(guān)于你上述所說下載方式,正常應該是可行的,但下載速度可能會慢一些。


只有登錄才能回復,可以選擇微信賬號登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频