rogue.hardware.axi.AxiStreamDma + rogue.protocols.packetizer.CoreV2 = seg fault

XMLWordPrintable

    • Type: Bug
    • Resolution: resolved
    • Priority: Minor
    • Component/s: SW
    • None

      Here's what the original code had (no segfault):

                      # Connect the SRPv3 to tDest = 0x0
                      vc0Srp  = rogue.hardware.axi.AxiStreamDma(pcieDev,(pcieRssiLink*3)+0,1)
                      srp = rogue.protocols.srp.SrpV3()                
                      pr.streamConnectBiDir( srp, vc0Srp )  
      

      If I add the packetizer, then I get the fault:

                      # Using PackVer2 after the DMA in firmware
                      dma  = rogue.hardware.axi.AxiStreamDma(pcieDev,pcieRssiLink,1)
                      pack = rogue.protocols.packetizer.CoreV2(False,False) # ibCRC = False, obCRC = False
                      pr.streamConnectBiDir( pack.transport(), dma )
      
                      # TDEST 0 routed to stream 0 (SRPv3)
                      srp = rogue.protocols.srp.SrpV3()
                      pr.streamConnectBiDir( srp, pack.application(0x0) )
      

              Assignee:
              Ryan Herbst
              Reporter:
              Larry Ruckman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: