Closed ntn888 closed 2 years ago
Hi @ntn888 , my device is USB2.0. It seems your linux USB3.0 driver problem, can not down to USB2.0 automatically. Please try to connect thru a USB2.0 Hub.
thanks! same in 2.0.
The same device, did you try it on a Windows PC? please confirm the device working OK on Windows.
How to get your log from linux? I could test it on my ubuntu.
Btw, my newest FW is using PID = 0x572A, why you got idProduct=3748
?
i just did git pull... nothing else...
git clone https://github.com/RadioOperator/STM32F103C8T6_CMSIS-DAP_SWO
cd STM32F103C8T6_CMSIS-DAP_SWO/build
st-flash write F103-DAP-SWO-CDC-BLUEPILL-SWD_PB8PB9.hex 0x8000000
btw i checked in Windows 10: 'Unknown USB device'
Maybe your log is not my CMSIS-DAP device, it's your ST-LINK tools. That means your ST-LINK tools not work on your linux, please use the tools on Windows PC and flash my code to stm32f103 on Windows. Please make sure CMSIS-DAP works ok on Windows first.
Then try my CMSIS-DAP on linux again.
okay i will try
works!
[19416.397775] usb 3-7: new full-speed USB device number 73 using xhci_hcd
[19416.547417] usb 3-7: New USB device found, idVendor=0483, idProduct=572a, bcdDevice= 1.00
[19416.547432] usb 3-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[19416.547437] usb 3-7: Product: CMSIS-DAP
[19416.547442] usb 3-7: Manufacturer: CMSIS-DAP by ARM
[19416.547446] usb 3-7: SerialNumber: 0001A0000000
[19416.550918] cdc_acm 3-7:1.0: ttyACM0: USB ACM device
[19416.551796] hid-generic 0003:0483:572A.0005: hiddev1,hidraw4: USB HID v1.00 Device [CMSIS-DAP by ARM CMSIS-DAP] on usb-0000:00:14.0-7/input2
need to see the right command to program under linux...
on linux:
st-flash --format ihex write
On: F103-DAP-SWO-CDC-BLUEPILL-SWD_PB8PB9.hex :