I have noted the following error while running a peripheral test sample project (created in SDK). This project only contains the ZYNQ PS alone, no additional PL blocks.
This error did NOT appear when using the reference package zynq_mini_itx_7z100_embedded_design_v2015_2.zip.
****
Running Interrupt Test for ps7_ethernet_0...
Error detect phy
****
This project is created under Vivado 2015.2 (SDK). Only the following section of code is added to reset the Phy. No other user code added.
// PHY Reset
int Delay;
XGpioPs_Config *ConfigPtrPS;
ConfigPtrPS = XGpioPs_LookupConfig(0);
XGpioPs_CfgInitialize(&mio_resets, ConfigPtrPS,
tttConfigPtrPS-BaseAddr);
XGpioPs_SetDirectionPin(&mio_resets, MIO_47, 1);
XGpioPs_SetOutputEnablePin(&mio_resets, MIO_47, 1);
XGpioPs_WritePin(&mio_resets, MIO_47, 0x0);
for (Delay = 0; Delay < RESET_DELAY; Delay++);
XGpioPs_WritePin(&mio_resets, MIO_47, 0x1);
// End PHY Reset
The above code is copied from "testperiph.c" of zynq_mini_itx_7z100_embedded_design_v2015_2.zip.
I am not able to figure out what is causing the error.
Would appreciate if someone could advise on what could possibly be the cause of the error (which was not observed with the reference package).
Thanks and Regards.
Sim CK