请教, 在Ubuntu20.04下如何烧录CH32F103C8T6?
STM32F1/STM32F4可以通过stlink下载, CH32F103也支持吗?
热门产品 :
CH641: PD及无线充电专用MCU
请教, 在Ubuntu20.04下如何烧录CH32F103C8T6?
STM32F1/STM32F4可以通过stlink下载, CH32F103也支持吗?
您好,目前我们可以提供Ubuntu下的WCHISP工具下载,可以将你的需求发送至我的邮箱(lzs@wch.cn),我会将相关工具通过邮箱发送给你。
非常感谢, 已经发邮件.
测试用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
请问这种下载方式是否可行? 技术上是否会有坑?
谢谢
您好,@blueyes,WCHISP工具会有相关同事通过邮件发送给你,关于你上述所说下载方式,正常应该是可行的,但下载速度可能会慢一些。