Using RiscFree for Nios V Development: Error occurred attempting to halt the target during discovery
I am trying to run a Hello world program on the Nios V processor using an Agilex I-Series Transceiver SOC Dev Kit. The example that I'm trying to generate is found here in the Nios V Handbook, under the Quick Start guide section. This example design is supposed to be targeted for the Arria 10 Soc Dev Kit, but I'm trying to modify it so it works for the Agilex Dev kit that I have. To that end, I've changed the Device in the Platform Designer System that I created. I changed the Device ID in the create_qsys.tcl file that's included in the example project. I changed the Device in the Quartus Project. I selected a new clock pin that works for the Agilex board. I included the SmartVID settings for the Agilex board in the top.qsf file. And after I got the Quartus project to successfully compile, I made sure the programmer had the right device selected.
I was able to download the .sof file to the board with no issues, after which I followed this guide to create and build a project using RiscFree and download the program. Specifically, I followed Section 4 for Debug Setup. I was able to get to the point where I made all the proper debug configurations and click Debug to download the project, but instead of seeing anything printed to the console, I received this error message:
Error in GDB server launch sequence
GDB server terminated
Ashling GDB Server for RISC-V (ash-riscv-gdb-server).
v22.3.0, 01-Jul-2022, (c)Ashling Microsystems Ltd 2022.
Initializing connection ...
Checking for an active debug connection using the selected debug probe (SN: 16777217):
Internal error. Could not halt the target: timeout occurred
Error occurred attempting to halt the target during discovery.
I should mention that I tried the example originally as it was intended with the Arria 10 board before this, and it worked correctly, so I think the issue has something to do with me being thorough enough in making sure the example design could target the new board. Where am I going wrong?