If I had to guess I would say this is another issue with casperfpga version
incompatibility. Did you try using the casperfpga from that tutorials
repository which at least _should_ have been tested with whatever
bitstreams are in there --
https://github.com/casper-astro/casperfpga/tree/a88f9af0b16e6a12fe51884d29c162e76e7c21a6

On Wed, 28 Feb 2024 at 19:17, Sivakumar Sivasankar <sivasiva8...@gmail.com>
wrote:

> Hi Jack,
>      Thank you so much for your valuable input. Now the core's
> configurations is done after following one of your below instructions
>                      gbe_rx.memmap_compliant=True
>                      gbe_rx.memmap =
> casperfpga.tengbe.read_memory_map_definition(casperfpga.tengbe.TENGBE_UNIFIED_MMAP_TXT)
>
>   After adding the above lines it has worked. But now I am facing another
> issue with snap captures. I don't know why it is coming. I have attached
> the ss of the error below. Is this error also coming because of the
> casperfpga version? Could you please give any suggestions regarding this
> issue?
> Thank you so much for your valuable time
>
> Sivasankar.S
>
> On Wed, Feb 28, 2024 at 11:45 PM Jack Hickish <jackhick...@gmail.com>
> wrote:
>
>> I'd suggest start by trying the casperfpga which is included as a git
>> submodule in the tutorials repo --
>> https://github.com/casper-astro/casperfpga/tree/a88f9af0b16e6a12fe51884d29c162e76e7c21a6
>>
>> I'm guessing this is substantially older than the one you are using, and
>> may be python2.7 only.
>>
>> As some wild guesses, you could also try manually setting which memory
>> map to use, by adding, after this line
>> <https://github.com/casper-astro/tutorials_devel/blob/8cdfd2f0fe6ed65d4d9906a22abc48761a2c04cc/roach2/tut_tge/roach2_tut_tge.py#L118>
>>
>> gbe_rx.memmap_compliant=False
>> gbe_rx.memmap =
>> casperfpga.tengbe.read_memory_map_definition(casperfpga.tengbe.TENGBE_MMAP_LEGACY_TXT)
>>
>> If that fails to work, as another stab in the dark, you could try the
>> opposite:
>>
>> gbe_rx.memmap_compliant=True
>> gbe_rx.memmap =
>> casperfpga.tengbe.read_memory_map_definition(casperfpga.tengbe.TENGBE_UNIFIED_MMAP_TXT)
>>
>> Not sure any of this is likely to result in success, but it's the best
>> guess I have!
>>
>> Cheers
>> Jack
>>
>> On Wed, 28 Feb 2024 at 16:17, Sivakumar Sivasankar <
>> sivasiva8...@gmail.com> wrote:
>>
>>> Hi Jack,
>>>      Thanks for the reply. I am using the below version of casperfpga.
>>>           casperfpga          0.4.4.dev1336+py38.276ee44
>>>
>>> Do I need to change the casperfpga version?
>>>
>>> Sivasankar.S
>>>
>>> On Wed, Feb 28, 2024 at 9:28 PM Jack Hickish <jackhick...@gmail.com>
>>> wrote:
>>>
>>>> I think this might be a mismatch between the Ethernet memory map
>>>> compiled into the firmware vs expected by casperfpga. What version of
>>>> casperfpga are you using?
>>>>
>>>> Cheers
>>>> Jack
>>>>
>>>> On Wed, 28 Feb 2024 at 15:25, Sivakumar Sivasankar <
>>>> sivasiva8...@gmail.com> wrote:
>>>>
>>>>> Dear Caspers,
>>>>>         I am a research student at FIU, currently working with
>>>>> ROACH-2. I have tried the tutorial-1 design and it worked well. Currently,
>>>>> I am trying to work with 10 GbE communication links. But I am getting
>>>>> errors when I am trying to run the python scripts which were in the
>>>>> tutorial_devel directory. I tried to check the loopback test where I have
>>>>> connected 2 SFP+ slots in the same ROACH board. Still I am getting the
>>>>> below error.
>>>>>
>>>>> I didn't change the IP and Mac address which were in the python script
>>>>> since I thought it doesn't matter for a loopback test. Do I need to
>>>>> explicitly define the IP and Mac address?? I am using the bit file and
>>>>> python script which are in the below directory.
>>>>>
>>>>>
>>>>> https://github.com/casper-astro/tutorials_devel/tree/main/roach2/tut_tge
>>>>>
>>>>> Can anyone please help me to debug this issue?
>>>>>
>>>>> Thanks in advance
>>>>>
>>>>> Sivasankar.S
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "casper@lists.berkeley.edu" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to casper+unsubscr...@lists.berkeley.edu.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP1VrEVMhZB-UzZ%2BkiD9aUdAFsZd9A0wMwEd%3DefRJbUfLA%40mail.gmail.com
>>>>> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP1VrEVMhZB-UzZ%2BkiD9aUdAFsZd9A0wMwEd%3DefRJbUfLA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "casper@lists.berkeley.edu" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to casper+unsubscr...@lists.berkeley.edu.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSkUMdg18Qq1v3y5%3DnopAXqa7RuaoLVukbpMrDDYN4iALA%40mail.gmail.com
>>>> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSkUMdg18Qq1v3y5%3DnopAXqa7RuaoLVukbpMrDDYN4iALA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "casper@lists.berkeley.edu" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to casper+unsubscr...@lists.berkeley.edu.
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP0wHfgy95%2BU8g%2BWkEM_m8j5MK7evwJNbb_VKvS8ypxOfQ%40mail.gmail.com
>>> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP0wHfgy95%2BU8g%2BWkEM_m8j5MK7evwJNbb_VKvS8ypxOfQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "casper@lists.berkeley.edu" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to casper+unsubscr...@lists.berkeley.edu.
>> To view this discussion on the web visit
>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSn3fdgct1oy8t%3DD7e3jan4OOQ2fBaUeyzNfWazTbQGmUA%40mail.gmail.com
>> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSn3fdgct1oy8t%3DD7e3jan4OOQ2fBaUeyzNfWazTbQGmUA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups "
> casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP3qsLa5APtYG%3DTHt9_AvfjrKeX-PmU4_P7fs89W%3D1T7rQ%40mail.gmail.com
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOQNGP3qsLa5APtYG%3DTHt9_AvfjrKeX-PmU4_P7fs89W%3D1T7rQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSn0OBcgRLh_Nv9wm_y1rhQ_pd-UrkenkdY3ROQ7NFhN5Q%40mail.gmail.com.

Reply via email to