Nios V JTAG with Agilex 5
Hello,
I am using Arrow Electronics Agilex-5 AXE5-Eagle development kit with a simple NiosV/m design and Hello World application that just prints using printf(). The stdout is directed to the JTAG UART.
I am using USB Blaster for connecting to the board.
The application works. I am also able to debug the application code (using the Ashling IDE).
However, when the Ashling GDB Server starts, the following messages are printed (note the ones I marked in red):
Ashling GDB Server for RISC-V (ash-riscv-gdb-server).
v24.4.0, 27-Sep-2024, (c)Ashling Microsystems Ltd 2024.
Initializing connection ...
Cannot set the JTAG frequency, continuing with auto adjust mode
Failed to get JTAG frequency from the debug probe
Connected to target device with IDCODE 0x364f0dd using USB-Blaster-2 (1) via JTAG at 0.00MHz.
Info : Active Harts Detected : 1
Info : Core[0] Hart[0] is in halted state
Info : [0] System architecture : RV32
Info : [0] Number of hardware breakpoints available : 1
Info : [0] Number of program buffers: 8
Info : [0] Number of data registers: 2
Info : [0] Memory access -> Program buffer
Info : [0] Memory access -> Abstract access memory
Info : [0] CSR & FP Register access -> Abstract commands
Waiting for debugger connection on port 55304.
Press 'Q' to Quit.
Got a debugger connection from 127.0.0.1 on port 55304.
In the Ashling IDE, Debugger settings, I have tried "JTAG frequency" from 1 MHz to 16 MHz - no difference.
In the sample design, the Nios V/m is run at 100Mhz. I also had it at 25 Mhz - no difference.
Two questions:
1. What should I try in order to resolve the above red lines?
2. While debugging works, it is kind of slow - for example making a step takes 4-5 seconds. Is this the expected speed for a single debug step?
Thank you,
d.
Hi @dim1,
Thanks for sharing the response from the jtagconfig, it seems that the frequency are not able being picked up/supported from the connection.
Highly suspect it could be the USB blaster I behavior causing this, and yes would suggest to use the USB Blaster II which support configurable and faster JTAG frequency.
Do let us know once you managed to found one and try it out.
Hope to hear from you soon.
Best Wishes
BB