Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile dap42 for bulk transfer? #14

Open
UweBonnes opened this issue Oct 22, 2021 · 4 comments
Open

Compile dap42 for bulk transfer? #14

UweBonnes opened this issue Oct 22, 2021 · 4 comments

Comments

@UweBonnes
Copy link

Hello,

readme.md tells "Bulk endpoints for higher throughput" but make compiles a HID probe. Is it possible to compile dap42 for bulk transfer?

Thanks

@devanlai
Copy link
Owner

Hi @UweBonnes, you might be looking under the "planned features" section, which would basically be updating it to CMSIS-DAP 2.0. I've considered updating the firmware since CMSIS-DAP 2.0 is more broadly supported in tools like openocd than before, but there are quite a few other open source debug probe firmware projects that have sprung up since I first cobbled together dap42.

@fanoush
Copy link

fanoush commented May 2, 2022

there are quite a few other open source debug probe firmware projects that have sprung up since I first cobbled together dap42.

Hi, can you suggest one that can be compiled with gcc and works same/better?

BTW I am quite happy with your code. It was easy to modify the bluepill config to use usb to uart over B6/B7 pins. Those pins are used as RST/SWIM pins on those cheap STLINK V2 clone dongles available for $3-4 on aliexpress so I made few of those into CMSIS-DAP with serial console, thank you :-) There are other CMSIS-DAP projects but they often need KEIL to build.

@devanlai
Copy link
Owner

devanlai commented May 3, 2022

Hi @fanoush, I'm glad you've been successful in modifying it to your needs. Supporting STLink/v2 clones is something I started doing very early on in the project.

There are some promising projects in Rust like hs-probe-firmware, though that targets higher-end hardware. Keil recently released a community edition with no size limitations that may be suitable for building projects like DAPLink.

majbthrd's new incarnation of the DapperMime project looks quite clean and modern (the original PIC version of DapperMime was the inspiration for dap42). It focuses on the RP2040 as the probe MCU, but there is a basic STM32F072 configuration and it looks like it would be easy to extend.

@dmsc
Copy link
Contributor

dmsc commented Jan 29, 2023

Now that we have CMSIS-DAP 2.0 merged, it would be possible to implement bulk transport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants