Jump to content
  • 0

AMP Zynq - use of gem0 (and lwIP) on CPU1 - Zybo


Luca

Question

Hi all,

I am reposting here an issue previously published on the Xilinx forum https://forums.xilinx.com/t5/OpenAMP/Zynq-AMP-CPU1-baremetal-access-to-gem0/m-p/827569#M418
still without a solution. I repeated the test on PicoZed 7015 board and on the Zybo as well.

My system configuration is as follows:

Vivado 2016.3 on a Linux Debian host

Standard Zynq design over Zybo (just use ethernet and the ps7_uart)

CPU0  -> baremetal "Hello World" application

CPU1  -> baremetal "lwIP echo server" with lwIP library to use gem0

CPU0 is run as master CPU (and launching the ps7_init methods), while CPU1 is started later with USE_AMP flag activated.

Goal: To have the CPU1 accessing the Ethernet with LwIP and keeping the CPU0 available for other tasks (most probable, it will run Linux later on).

Issue: Whenever the USE_AMP flag is turned on on CPU1, the "LwIP echo server" did not send packages over Ethernet (verified with Wireshark) neither answer back to ping. In the other case, when USE_AMP is deactivated, the Ethernet works as expected yet CPU0 stops working (due to the SCU contention)...

Have somebody face the same issue?

In the attachment, you might find the reference project, with CPU0/CPU1 example application (from the XSDK template).

Thank you,

Luca

proj_reference_Zybo.zip

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

On 3/8/2018 at 9:35 PM, jpeyron said:

Hi @Luca,

I have not worked with this type of project. We have reached out to see if some of the other Digilent engineers have any thoughts on this.

thank you,

Jon

Thank you @jpeyron.

It is a curious behavior that is preventing us to further develop the project. I wonder if somebody else has seen it before.. 

Luca

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...