dragonlock2.github.io/_posts/2022/2022-05-04-stm32-daplink.md
2024-02-04 03:45:42 -08:00

23 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: STM32 DAPLink
date: 2022-05-04
categories: projects
excerpt: After parsing through much documentation, I learned enough to design a DAPLink probe based around the ever-popular STM32F103.
header:
teaser: /assets/img/2022/daplink_1.jpg
gallery:
- image_path: /assets/img/2022/daplink_1.jpg
- image_path: /assets/img/2022/daplink_2.jpg
---
<https://github.com/dragonlock2/kicadboards/tree/main/projects/NOGPROG>
Wanting an alternative to the Black Magic Probe, I took a look into DAPLink which is backed by Mbed. It uses CMSIS-DAP which is supported by OpenOCD which means it is supported by virtually every IDE and framework. As with the Black Magic Probe and many popular projects, the STM32F103 is supported. It took some time to parse through the code, documentation, and existing designs, but I got a schematic together.
I usually post images of my schematic and layout, but Im making it a point to throw everything on Github so that everyone has full access to my designs. Check it out!
Assembly was straightforward as always. I didnt have all the right components so I had to make do. The part that finally made DAPLink a viable option was the GCC support. It was in development while I did this project, but now appears to be mainlined. After compiling from main and uploading the bootloader and main program, everything worked! Here it is programming a little board I designed for UR@B training.
{% include gallery %}