Forum Discussion

Suresh430's avatar
Suresh430
Icon for New Contributor rankNew Contributor
2 months ago

ARM DS5 debugger Access/Detection of CM55 on Agilex5 fpga device

Hi Team, 

 

              We recently purchased license for the ARM DS5 IDE from Altera with License file contains note as NOTICE="For use with Intel or Altera devices only". I am using Arm Development studio IDE with version 2025.1-1. ALtera Agilex 5 FPGA device configured with custom soft macro based design which is only having ARM Cortex M55 processor cores with coresight debug IP . My question is whether ARM DS IDE will detect, access and debug the Cortex M55 cores which is in the fpga through the JTAG USB Blaster ?  

Please provide the detailed explanation

 

Regards

Suresh

13 Replies

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi Suresh430 
     

    For debugging the Agilex5 FPGA Devices, you could use the Ashling IDE which is Free to download.

     

    Below are some useful links to have a look:

    https://www.altera.com/products/development-tools/ashling

    https://altera-fpga.github.io/rel-25.3.1/demos/agilex-5/e-series/premium/riscfree-debug-linux/ug-riscfree-debug-linux-agx5e-premium/

    • Suresh430's avatar
      Suresh430
      Icon for New Contributor rankNew Contributor

      Hi Team,

      We are working on Agilex 5 (Sulfur evaluation board) with a custom FPGA design that integrates:

      • ARM Cortex-M55 soft macro
      • CoreSight Debug Access Port (DAP)
      • Debug logic connected internally
      • Current connection flow is:

        Debugger (Host PC) → Altera USB Blaster → Virtual JTAG →  CoreSight DAP → Cortex-M55

        Key Clarifications Required : 

        1. Virtual JTAG vs Native JTAG Access
          • Currently, the CoreSight DAP JTAG signals are routed through Virtual JTAG inside the FPGA fabric.
          • Is this architecture supported for external debuggers (ARM DS / Ashling)?
          • Can CoreSight DAP be reliably accessed via Virtual JTAG, or is this approach not recommended?

           JTAG Requirement : 

      • Do we need two separate JTAG interfaces?
        • One for FPGA configuration (via USB Blaster)
        • Another dedicated ARM debug JTAG (DAP access)

      Debugger Tool Compatibility : 

      Will ARM Development Studio (DS-5 / ADS) be able to:Detect Cortex-M55 through this setup?Access CoreSight components via Virtual JTAG? Or is Ashling RiscFree IDE + probe mandatory for this configuration?

      Debugger Hardware Recommendation : 

      • In case Virtual JTAG is not sufficient:
        • Which debug probe/cable is recommended for Cortex-M55 debug?
          • ULINK?
          • DAPLink?
          • Ashling probe?
      • Can USB Blaster be used for CoreSight debugging, or is it limited to FPGA configuration/debug only?

      a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; }

      Reference Design / Best Practice :

      • Could you please share:
        • Any reference design or documentation showing proper integration of:
          • Cortex-M55 soft core
          • CoreSight DAP
          • JTAG/debug interface in Agilex 5 FPGA


      Regards

      Suresh

      • tehjingy_Altera's avatar
        tehjingy_Altera
        Icon for Regular Contributor rankRegular Contributor

        Hi Suresh430 

         

        Yes the ARM DS could be used to detect the Cortex-M55 through the jtag chain as long the ARM DS-5 supports the CoreSight SOC-600.

         

        The Virtual JTAG IP could not be used to debug Cortex-M55, the connection will need to go through the native Jtag connection.

        From my understanding of the Virtual Jtag IP, this IP is used as a connection for IPs in the fabric to be connected to the jtag chain.