用树莓派RP2040制作的调试器Picoprobe
将树莓派Pico变成一个调试探头,或用RP2040设计自己的调试器
标签
嵌入式系统
树莓派PICO
RP2040
调试器
SWD
refdesignshare
更新2021-12-11
2406

法国人Fabien Chouteau 设计并开源的Picoprobe PCB

FrCybBu66Z8MRGar6It87zkI0GjX

GitHub上的资源链接:picoprobe-pcb

 

下面是该项目的原文介绍:

If like me you love the Raspberry Pi Pico/RP2040, but your are not satisfied with the available hardware debugging solution, this kit is for you ^^

This PCB is designed to turn a Pico into a nice debug probe using the PicoProbe software.

The kit provides everything you need to turn a Raspberry Pi Pico into a debug probe (Raspberry Pi Pico not included):

  • The Picoprobe-PCB
  • 1x cortex-M SWD 10pin header
  • 1x cortex-M SWD 10pin ribon cable
  • 1x 6 pin male header
  • 1x 6 pin female header

Usage Mounting options

There are two ways to mount a Raspberry Pi Pico on the Picoprobe-PCB. You can either solder it directly for a slim/compact result (right), or use header to be able to re-use the Pico on other projects (left).

Install the Picoprobe software

  1. Either get the picoprobe .uf2 binary from our release here or compile it yourself from sources here.

  2. Hold the BOOTSEL button on the Pico, then connect to your computer using a micro USB cable.

  3. Drag and drop the UF2 file on to the RPI-RP2 drive.

  4. You should be good to go.

Plug the picoprobe SWD pin to the Pico that you want to debug Build Raspberry Pi's opencod

$ sudo apt install automake autoconf build-essential texinfo libtool libftdi-dev libusb-1.0-0-dev $ git clone https://github.com/raspberrypi/openocd.git --branch picoprobe --depth=1 --no-single-branch $ cd openocd $ ./bootstrap $ ./configure --enable-picoprobe $ make -j4

Run openocd

$ ./src/openocd -s tcl -f interface/picoprobe.cfg -f target/rp2040.cfg

Debug!

Now that openocd is connected, you can start debugging with GDB for instance.

$ arm-eabi-none-gdb (gdb) target extended-remote :3333

附件下载
PicoProbePCB-rev-1.0.zip
用KiCad设计的PCB文件
picoprobe-master.zip
Picoprobe的C代码
团队介绍
Fabien Chouteau
评论
0 / 100
查看更多
目录
硬禾服务号
关注最新动态
0512-67862536
info@eetree.cn
江苏省苏州市苏州工业园区新平街388号腾飞创新园A2幢815室
苏州硬禾信息科技有限公司
Copyright © 2023 苏州硬禾信息科技有限公司 All Rights Reserved 苏ICP备19040198号