Hello,
I’ve been using the Blinkinlabs JTAG Hat with a Raspberry Pi 3 and OpenOCD successfully for debugging devices. I followed the example from their github for the setup. I’m now trying to use it with an Arduino Portenta X8 (with Hat Carrier), for which I created a custom sysfsgpio config:
adapter driver
sysfsgpio sysfsgpio_swd_nums 162 166
sysfsgpio_srst_num 188
With this setup, I can flash the target device when wiring Portenta's GPIOs directly. However, when routing through the JTAG Hat I get:
Error: Error connecting DP: cannot read IDR
I believe the issue is the swdio_dir pin, which sysfsgpio doesn’t support.
Is there an adapter/driver compatible with the NXP i.MX8 mini that allows SWD direction pin control?
Thanks for your help.
Kind regards,
Aditi Verma