radiooperator / stm32f103c8t6_cmsis-dap_swo Goto Github PK
View Code? Open in Web Editor NEWCMSIS-DAP SWO CDC STM32F103C8T6 BluePill STLINK ARM Debugger
License: Apache License 2.0
CMSIS-DAP SWO CDC STM32F103C8T6 BluePill STLINK ARM Debugger
License: Apache License 2.0
i want to chang cdc usart port to uart1 , and it compiled with no error, but i can not use it at pc, and i want to use jtag mode without swd .thanks
On: F103-DAP-SWO-CDC-BLUEPILL-SWD_PB8PB9.hex :
[ 1709.811747] usb 3-3.4.4: USB disconnect, device number 56
[ 1711.056537] usb 3-3.4.4: new full-speed USB device number 57 using xhci_hcd
[ 1711.158213] usb 3-3.4.4: New USB device found, idVendor=0483, idProduct=3748, bcdDevice= 1.00
[ 1711.158228] usb 3-3.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1711.158234] usb 3-3.4.4: Product: STM32 STLink
[ 1711.158238] usb 3-3.4.4: Manufacturer: STMicroelectronics
[ 1711.158242] usb 3-3.4.4: SerialNumber: Wÿm\x06p\xc2\x84II20\x14g
[ 1716.211775] usb 3-3.4.4: USB disconnect, device number 57
[ 1727.178894] usb 3-3.4.4: new full-speed USB device number 58 using xhci_hcd
[ 1727.280912] usb 3-3.4.4: New USB device found, idVendor=0483, idProduct=3748, bcdDevice= 1.00
[ 1727.280927] usb 3-3.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1727.280933] usb 3-3.4.4: Product: STM32 STLink
[ 1727.280937] usb 3-3.4.4: Manufacturer: STMicroelectronics
[ 1727.280941] usb 3-3.4.4: SerialNumber: Wÿm\x06p\xc2\x84II20\x14g
[ 1755.124031] usb 3-3.4.4: USB disconnect, device number 58
[ 1773.501170] usb 3-3.4.4: new full-speed USB device number 59 using xhci_hcd
[ 1773.602774] usb 3-3.4.4: New USB device found, idVendor=0483, idProduct=3748, bcdDevice= 1.00
[ 1773.602790] usb 3-3.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1773.602796] usb 3-3.4.4: Product: STM32 STLink
[ 1773.602800] usb 3-3.4.4: Manufacturer: STMicroelectronics
[ 1773.602804] usb 3-3.4.4: SerialNumber: Wÿm\x06p\xc2\x84II20\x14g
[ 1797.620282] usb 3-3.4.4: USB disconnect, device number 59
[ 1815.770359] usb 3-3.4.4: new full-speed USB device number 60 using xhci_hcd
[ 1815.850401] usb 3-3.4.4: device descriptor read/64, error -71
[ 1816.038417] usb 3-3.4.4: device descriptor read/64, error -71
[ 1816.226410] usb 3-3.4.4: new full-speed USB device number 61 using xhci_hcd
[ 1816.306460] usb 3-3.4.4: device descriptor read/64, error -71
[ 1816.494468] usb 3-3.4.4: device descriptor read/64, error -71
[ 1816.602676] usb 3-3.4-port4: attempt power cycle
[ 1817.210518] usb 3-3.4.4: new full-speed USB device number 62 using xhci_hcd
[ 1817.210717] usb 3-3.4.4: Device not responding to setup address.
[ 1817.418729] usb 3-3.4.4: Device not responding to setup address.
[ 1817.626576] usb 3-3.4.4: device not accepting address 62, error -71
[ 1817.706594] usb 3-3.4.4: new full-speed USB device number 63 using xhci_hcd
[ 1817.706793] usb 3-3.4.4: Device not responding to setup address.
[ 1817.914817] usb 3-3.4.4: Device not responding to setup address.
[ 1818.122636] usb 3-3.4.4: device not accepting address 63, error -71
[ 1818.122845] usb 3-3.4-port4: unable to enumerate USB device
#include <string.h>
#include <RTL.h>
#include <rl_usb.h>
#include <....\RL\USB\INC\usb.h>
there‘s no RTL.h file and usb.h file
就是用makefile 编译
I am trying to figure out how to view the output from the SWO, could you please give a hint?
It is quite obvious how achieve that on ST-LinkV2 (GUI) or BlackMagicProbe (dedicated virtual COM port), but I could not find any kind of viewer that would work via USB-HID / CMSIS DAP interface.
And thank you so much for sharing this open-source mod!
UPD: I assume Keil uVision might have a built-in viewer, but could you suggest an external tool for that?
Successfully compiled and downloaded STM32F103C8T6DAP project to BOARD_V2.
Using Windows 7 PRO under Device Manager > Other devices showing an unknown device CMSIS-DAP CDC
. I have tried automatic driver search over the internet but it failed. That means the CDC driver is not installed.
Is there any way to solve the issue?
根目录下的.gitignore 是git的过滤文件列表,建议楼主可以把里面的*.hex和*.lib 两条规则去掉,这样就可以正常提交hex和lib文件了
缺少Driver_USART.h 文件,可否加上。
我想用这个仿真器测试IAR的A7多核调试。在网上找到一个版本,编译可以通过,sw功能正常,jtag无法使用
Hello,RadioOperator
非常感谢您的贡献,基本上我将其移植到我自己的平台,并且可以很好地工作。但是,我想新增一个功能,即烧录的时候,PC13的指示灯可以快速闪烁,但是我尝试了下好像均无效。比如,我在ID_DAP_Transfer
、ID_DAP_SWD_Sequence
、ID_DAP_TransferBlock
等事件中,将LED灯的模式设为:
u8LedMode |= 0x02;
然而,当我给对端设备烧录时,LED灯并没有闪烁。难道烧录时,这些事件都不会进来吗?不知道博主有没有什么经验这方面,能否分享下?
谢谢!
我看到有一个压件文件里面有几个 hex
F103-DAP-SWO-CDC-BLUEPILL-SWD_REMAP.hex
F103-DAP-SWO-CDC-BLUEPILL-SWD_unREMAP.hex
F103-DAP-SWO-CDC-STLINK_V2A.hex
或给我重新编一个hex
Hi,
I have forked your project to add GCC+Makefiles here:
https://github.com/zoobab/STM32F103C8T6_CMSIS-DAP_SWO
I could compile most of it, but when it comes to the USB part, it fails.
I will continue to tomorrow to see if I can to have it compiled under GCC.
楼主您好,我是用keilv5编译工程发现报出大量头文件缺失的情况,部分已经根据您之前的issue,将v5路径加入解决,但还存在以下头文件无法找到
USB\usb_config.c(521): error: #5: cannot open source input file "usb_lib.c": No such file or directory
USB\usbd_STM32F103.c(16): error: #5: cannot open source input file "RTL.h": No such file or directory
同时打开工程时无法加载USB_CM3.lib文件
请问,是不是此工程在v5下无法编译,需要v4下进行编译,感谢解答
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.