7214 - Avant-E: How to enable RISC-V software debug for Avant-E device
Description:
User is required to implement soft JTAG to enable RISC-V debug in Avant-E early silicon.
Solution:
Please follow below step to enable debug with Soft-JTAG. The pin assignment is based on Avant-E Evaluation Board.
Create an Avant-E RISC-V RX based SoC Project from Propel Builder/Propel SDK
- Choose board template - Avant-E Evaluation Board

The Avant-E board template should have the following automatically setup in place
Enable RISC-V debug port in Propel Builder
- In RISC-V IP wizard, choose Debug enable
Connect HW-USBN-2B cable to J10 header:
- TCK/SCLK connect to pin 3
- TMS connect to pin 13
- TDI/SDI connect to pin 7
- TDO/SDO connect to pin 9
- VCC connect to pin 1(VCC_3V30)
GND connect to pin 11
- Note: Technically you may assign any GPIO ports to TMS, TDI, TDO and any PCLK ports to TCK for your convenience, but some of the assignment might cause mapping error or par error, which is software bug and will be fixed in Radiant 2023.1.
- The project provides a feasible connection, you may use it directly if not modify the post-synthesis constraint file.

Debug configuration in Propel SDK:
- Start debugging, ignore the following error: "Err: can not found the device from device family database, use default value to access this device"