pico-temp-controller/debug_probes.md

48 lines
2.1 KiB
Markdown
Raw Normal View History

# Compatible CMSIS-DAP debug probes
## Raspberry Pi Pico
You can use a second Pico as your debugger.
Download one of these firmware files:
- [picoprobe.uf2](https://github.com/raspberrypi/picoprobe/releases/download/picoprobe-cmsis-v1.02/picoprobe.uf2) -
Official raspberrypi probe firmware supporting CMSIS-DAP. ([Source](https://github.com/raspberrypi/picoprobe))
- [raspberry_pi_pico-DapperMime.uf2](https://github.com/majbthrd/DapperMime/releases/download/20210225/raspberry_pi_pico-DapperMime.uf2) -
Based upon an older version of the CMSIS-DAP sources. ([Source](https://github.com/majbthrd/DapperMime))
- [rust-dap-pico-ramexec-setclock.uf2](https://raw.githubusercontent.com/9names/binary-bits/main/rust-dap-pico-ramexec-setclock.uf2) -
If you have good wiring between your Pico's, this firmware will give faster
programming. (Inofficial build by [@9names](https://github.com/9names/).) ([Source](https://github.com/ciniml/rust-dap))
Then:
1. Put the Pico into USB Mass Storage Mode by holding the BOOTSEL button while connecting it to your computer with a USB cable
2. Open the drive RPI-RP2 when prompted
3. Copy the uf2 firmware file from Downloads into RPI-RP2
4. Connect the debug pins of your CMSIS-DAP Pico to the target one
- Connect GP2 on the Probe to SWCLK on the Target
- Connect GP3 on the Probe to SWDIO on the Target
- Connect a ground line from the CMSIS-DAP Probe to the Target too
## WeAct MiniF4
https://therealprof.github.io/blog/usb-c-pill-part1/
## HS-Probe
https://github.com/probe-rs/hs-probe
## ST-LINK v2 clone
It's getting harder to source these with stm32f103's as time goes on, so you might be better off choosing a stm32f103 dev board
Firmware: https://github.com/devanlai/dap42
## LPC-Link2
https://www.nxp.com/design/microcontrollers-developer-resources/lpc-link2:OM13054
## MCU-Link
https://www.nxp.com/part/MCU-LINK#/
## DAPLink
You can use DAPLink firmware with any of it's supported chips (LPC4322, LPC11U35, K20, K22, KL26). You'll need to use the 'develop' branch to use GCC to build it. You'll need to find a chip with the correct
Firmware source: https://github.com/ARMmbed/DAPLink/tree/develop