Closed balanceTWK closed 4 years ago
Is it because there aren't enough usb endpoints ? I don't really need WEBUSB . How do I cut it .
You should also see the CMSIS-DAP interface(s).
Make sure you're using the right project. All so-called "no target" projects with the form <hic>_if
do not have target support included and therefore do not enable USB MSC. Specifically the stm32f103xb_if
project does not enable MSC. (Because without target support there is no way to program flash.) However, the projects with a target name like <hic>_<target>_if
, such as stm32f103xb_stm32l476rg_if
, do enable MSC.
Note that you can use tools/post_build_script.py
to embed target support extracted from a CMSIS-Pack into a no-target build (.bin). However, there is basically no documentation yet and probably lots of bugs. (We'd happily accept contributions to improve this!)
Fyi, WebUSB doesn't use any endpoints; it operates over the control EP0.
Hey @balanceTWK this is new Target, the Drag-n-Drop may not yet be implemented, or it is build time either-or decision what to fit into the HIC chip that operates the DAPLink, you may want to double check that.
You can always use https://github.com/mbedmicro/pyOCD on any DAPLink that has CMSIS-DAP (as mentioned by @flit) interface that will allow you not only to faster flash the chip but also debug it :-)
Have fun! :-)
Thank you very much for your reply. :-)
chip: stm32f103cbt6
I followed the official tutorial to generate the MDK project, which successfully turned my board into DAPLink, but there was no drag and drop download function, only webusb, virtual serial port.