A fork of opensource version of debugprobe built on RASPBERRY pico.It is extendedand modified to work with JTAG and SWD. This does not use FIFO and PIO functionality of debugprobe but uses standard ARM CMSIS-DAP.
This supports both JTAG & SWD for debugging using OpenOCD, Hence the name JTAGprobe
The following is GPIO pinout for JTAG/SWD
GPIO | Pinout |
---|---|
SWCLK_TCK | 19 |
SWDIO_TMS | 14 |
TDI | 18 |
TDO | 21 |
nTRST | 15 |
nRESET | 16 |
You can download UF2 file or download entire code and build it as mentioned below.
For the purpose of making changes or studying of the code, you may want to compile the code yourself.
First, clone the repository:
git clone https://github.com/dst202/JTAGprobe
cd JTAGprobe
Initialize and update the submodules:
git submodule update --init
Then create and switch to the build directory:
mkdir build
cd build
If your environment doesn't contain PICO_SDK_PATH
, then either add it to your environment variables with export PICO_SDK_PATH=/path/to/sdk
or add PICO_SDK_PATH=/path/to/sdk
to the arguments to CMake below.
Run cmake and build the code:
cmake ..
make
Done! You should now have a JTAGprobe.uf2
that you can upload to your JTAG Probe via the UF2 bootloader.