RedPitaya hello world hangs up a board

Just about everything about Red Pitaya
Post Reply
anba
Posts: 2
Joined: Tue Nov 19, 2019 9:09 am

RedPitaya hello world hangs up a board

Post by anba » Tue Nov 19, 2019 9:16 am

I Tested a simple "hello world" application for RedPitaya FPGA: RedPitayaHelloWorldVHDL. It takes a clock from PACKAGE_PIN U18 and U19, devides it by frequency to receive 1Hz, and outputs counter to LEDs. After making a bitstram and writing to FPGA by command:

Code: Select all

cat bitstram.bit > /dev/xdevcfg
LEDs blinks good, but Linux on board of RedPitaya hangsup. Why it's happening? and how to avoid it?

chrishkyle7
Posts: 4
Joined: Mon Nov 25, 2019 11:02 am
Contact:

Re: RedPitaya hello world hangs up a board

Post by chrishkyle7 » Mon Nov 25, 2019 11:21 am

hello I have face a similar problem

anba
Posts: 2
Joined: Tue Nov 19, 2019 9:09 am

Re: RedPitaya hello world hangs up a board

Post by anba » Wed Nov 27, 2019 12:35 am

There is an answer on stackowerflow:
You need to instantiate a Zynq "PS7" component in your design, that is the interface between the Linux SoC part and the FPGA fabric, there is also a wizard in Vivado to configure this. If this component is not in the design then programming the bitstream crashes the SoC.

If the Linux on Red Pitaya also assumes the presence of any AXI slaves on the FPGA fabric side, omitting these from the design might also cause a lock up, but this is less likely to be the problem.
But I don't agree with it because of
David, great thank you dir your reply. Are you sure that ps7 is needed in all zyxq 7 projects? Exactly this example has no any interaction with PS7 CPU. No AXI and no other components. Only clock, from external source, frequency divider and output port for LED. FPGA fabric is self sufficient. Why PS7 is needed for not hunging?
Are Any other thoughts?

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 2 guests