I suppose the next step would be to keep a telnet connection open to
port 7147 and attempt the upload again - there should be an error
message telling you why it failed. It might be a bit cryptic though.

On earlier tcpborphserver revisions, the system didn't unmap the fpga,
and so ran out of address space after a dozen or so uploads, if there
was no reboot, but that has been fixed quite a while ago.

regards

marc

On Mon, Apr 29, 2019 at 7:10 AM 'Nikita Rathore' via
[email protected] <[email protected]> wrote:
>
> Following fpg file I am using. Yes I can ping the IP of the roach board, and 
> port 7147 also works fine.
>
> Regards
> Nikita Rathore
>
> On Thu, Apr 25, 2019 at 4:25 PM Marc <[email protected]> wrote:
>>
>> Is the fpg file empty, if not do a less on the file - the first couple
>> of lines should be human readable register definitions, followed by
>> the bitstream to check that it looks reasonble. Also see if you can
>> ping the IP of the roach board, and see if telnet to its port 7147
>> works
>>
>> regards
>>
>> marc
>>
>> On Thu, Apr 25, 2019 at 9:27 AM 'Nikita Rathore' via
>> [email protected] <[email protected]> wrote:
>> >
>> > I am using MATLAB R2012b, Xilinx 14.7 and Roach2 board. Yes, I have .fpg 
>> > file and I am trying to burn fpga with the generated .fpg file using 
>> > casperfpga but in that case I am getting following issue:
>> >
>> > import casperfpga
>> > > >>> fpga=casperfpga.katcp_fpga.KatcpFpga('192.168.100.192')
>> > > >>> fpga.upload_to_ram_and_program('pocov64_2017_Aug_17_1600.fpg')
>> > > Traceback (most recent call last):
>> > >   File "<stdin>", line 1, in <module>
>> > >   File "/usr/local/lib/python2.7/site-packages/casperfpga/katcp_fpga.py",
>> > > line 358, in upload_to_ram_and_program
>> > >     raise RuntimeError('progremote request(%s) on host %s failed' %
>> > > (request_result, self.host))
>> > > RuntimeError: progremote request(Request to client 192.168.100.192 
>> > > failed.) on
>> > > host 192.168.100.192 failed
>> >
>> > I also tried mkbof command to generate bof file from bit file but in that 
>> > case I had following error:
>> > mkbof: command not found
>> >
>> > I run it like this
>> > XPS_ROACH2_base# mkbof -o system.bof –s core_info.tab -t 3 
>> > pocov64_2017_Aug_17_1600.bit
>> >
>> >
>> >
>> > On Thu, Apr 25, 2019 at 1:09 PM Marc <[email protected]> wrote:
>> >>
>> >> Not sure what hardware you are working on, but your system might have
>> >> generated a newer .fpg file ? If this isn't the case, maybe the mkbof
>> >> executable isn't built for your build machine architecture (x86 vs
>> >> amd64) or c/linker revision ? See if you can run the mkbof executable
>> >> manually ?
>> >>
>> >> regards
>> >>
>> >> marc
>> >>
>> >> On Thu, Apr 25, 2019 at 5:59 AM 'Nikita Rathore' via
>> >> [email protected] <[email protected]> wrote:
>> >> >
>> >> > Hello,
>> >> >
>> >> > I started working on 2 element pocket correlator. Simulink design 
>> >> > compiled successfully but the bof file generated is completely blank (0 
>> >> > bytes).
>> >> > It would be grateful if someone could help me solve this issue.
>> >> >
>> >> > --
>> >> > Thanks & Regards
>> >> > Nikita Rathore
>> >> >
>> >> > --
>> >> > 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].
>> >
>> >
>> >
>> > --
>> > Thanks & Regards
>> > Nikita Rathore
>> >
>> > --
>> > 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].
>
>
>
> --
> Thanks & Regards
> Nikita Rathore
>
> --
> 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