Hi Jack,

Is it normal for the debug messages to say 'ICAP init FAIL'?

Unfortunately syslog is not very helpful either, here's a summary:
    May 23 10:48:32 Antenna-PC dnsmasq-dhcp[29048]: DHCPDISCOVER(eth3)
00:40:89:41:13:02
    May 23 10:48:32 Antenna-PC dnsmasq-dhcp[29048]: DHCPOFFER(eth3)
169.254.39.125 00:40:89:41:13:02
    May 23 10:48:45 Antenna-PC dnsmasq-dhcp[29048]: DHCPDISCOVER(eth3)
00:40:89:41:13:02
    May 23 10:48:45 Antenna-PC dnsmasq-dhcp[29048]: DHCPOFFER(eth3)
169.254.39.125 00:40:89:41:13:02
    ...

After some testing I can't see anything wrong with the NIC I'm using, same
for the DHCP server. I also compiled a modified golden image that used SFP
port 1 instead of port 0, but ran into the same problems.

I also noticed that the following debug message appears consistently 240
seconds after programming:
    IP A9FE0313  NM FFFF0000  GW 00000000
    TAPCP server ready
but there is no network traffic or logs suggesting that this IP was
obtained by the DHCP server. Nonetheless, I tried connecting to it using
this IP but had no success there either.
    fpga = casperfpga.CasperFpga('169.254.3.19', port=69)


Thanks,
Jake Jones.

On Tue, May 22, 2018 at 6:07 PM, Jack Hickish <[email protected]> wrote:

> Well.... that's not wildly instructive!
> Is there anything telling from the dhcp server, perhaps in syslog?
>
> Cheers
> Jack
>
> On Tue, 22 May 2018 at 11:00 Jake Jones <[email protected]> wrote:
>
>> Hi Jack,
>>
>> This is the output I get immediately after programming the golden image:
>>
>>     ICAP init FAIL
>>     # JAM starting
>>     using ethernet core gbe_port0
>>     MAC 0x004089411302
>>     IP 00000000  NM 00000000  GW 00000000
>>     link is UP
>>     FPGA at 33.6 C [ms 10000]
>>     FPGA at 33.6 C [ms 20000]
>>     ...
>>
>>
>> Cheers,
>> Jake Jones.
>>
>> On Tue, May 22, 2018 at 3:48 PM, Jack Hickish <[email protected]>
>> wrote:
>>
>>> Hi Jake,
>>>
>>> That's interesting, I don't think I've seen this failure mode before. If
>>> you plug a mini usb connector into the SNAP, you can read debug messages
>>> over this port, using it as an 8N1 115200 baud serial interface. If you
>>> have a xilinx programmer, you could also burn the flash manually with
>>> vivado and the .bin file in the repository, but I don't see why that should
>>> make any difference.
>>>
>>> Cheers
>>> Jack
>>>
>>> On Tue, 22 May 2018 at 04:24 Jake Jones <[email protected]> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have an issue trying to program the SNAP board via the 10GbE port.
>>>> When I program the board with a golden image the 10GbE port does not obtain
>>>> an ip address.
>>>>
>>>> Investigating further, I:
>>>> 1) Programed the golden image (using snap160t_golden_2018-02-17_1540.fpg
>>>> found in the casper-astro/mlib_devel repository) via the raspberry pi.
>>>> 2) Monitoring the traffic on the 10GbE port using wireshark it can be
>>>> seen that the SNAP board sends DHCP Discover packets which is followed by a
>>>> DHCP offer from the server. However the SNAP board never responds with a
>>>> DHCP Request. Additionally it doesn't respond to any arp requests.
>>>>
>>>> Is there something I'm missing here? Any help is much appreciated!
>>>>
>>>> Thanks,
>>>> Jake Jones.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "[email protected]" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "[email protected]" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "[email protected]" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>>
> --
> You received this message because you are subscribed to the Google Groups "
> [email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to