Forum Discussion

Annu's avatar
Annu
Icon for New Contributor rankNew Contributor
1 month ago

Debugging the FPGAs connected in passive serial mode

I have two cyclone 3 devices(EP3C16F484C8 & EP3C5F256C8) which is connected in passive serial mode. I wanted to debug the device and only JTAG connection is available to do so. I don't want to change anything in the code and i don't want to reprogram, I don't want to use signal tap either. How can i debug the devices  while the device is running? My device frequency is 26 mHz, but most of my outputs changes 10 times in 15s but it is ruled by 26 MHz frequency

11 Replies

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    If you don't want to change the design, I'd recommend either copying the project or using the Revisions feature in Quartus.  This way you can create a new revision, add Signal Tap or something else without changing the rest of the design, compile and debug, and then quickly go back to the original design as if nothing changed.

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor

    See below waveform recorded with TopJTAG tool on CY1000 Cyclone 10 eval board:

     

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

      Can we do the boundary scan using the Quartus II programmer only or do we need external software for the scan.

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

        Unfortunately you will need to use external software to do it.

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor

    Hi

    JTAG interface is always available independent of selected configuration mode.

    If you don't want to modify your design by inserting debug IP, e.g. Signal Tap, boundary scan is the only way to observe or optionally modify FPGA signals. EP3C16 scan chain length is 1080, EPEC5 603. Respectively IO scan speed is limited to a few kHz, depending on capabilities of boundary scan tool and JTAG interface speed. Maximum JTAG speed handled by EP3C is 25 MHz.

    Regards Frank

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

      I know the JTAG boundary scan is slow can we use VJTAG for this. If yes, how is it done? and also any manual for JTAG boundary scan is available

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

        For internal core issue, SignalTap will be the best solution. For Boundary Scan, you can only debug interface pin issue and the detection will be very slow and not efficient for interface pin that keep on toggling.