1

I'd like to hook together two Raspberry pi 3b+ to use jtag/SWD with OpenOCD. I learned it can be done, but implementing it has proven challenging. I have two questions:

  1. How to connect the Rpi's. If I'm understanding this guide (pdf) correctly, I wire GND to GND, BCM 24 to BCM 24, BCM 25 to BCM 25, and it says BCM 18 may not be required. But then I look at /usr/local/share/openocd/scripts/interface/raspberrypi-native.cfg the pins are different.

  2. How to configure OpenOCD for the Rpi. When I look in /usr/local/share/openocd/scripts/target/ it's not clear what file applies, and I'm not sure if raspberrypi-native or raspberrypi2-native is the interface file I want.

As you may be able to tell, I really don't have the background I should probably have for this, but I'm interested in jtag/SWD and what I can learn, so why not start. Any pointers to resources for learning about jtag or SWD would be appreciated.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.