I am new in writing application programs on the SDK platform for the Zynq SoC. What I am trying is to write a program to check the Zynq based hardware board functionalities which are partialy located on the PL. The principle of the test from my point of view is quite simple, for the corresponding PL function there are register assigned as interface to the PS, my job is just to write or read the registers of the corresponding PL functions which have mapped memory adresses for validating the response of the PL functions.
Ok, now I have generated an application program using the wizard and add some own code for specific test. But I don't know why I was not able to write a value into the regisetr using the XGpio_WriteReg or XGpio_WriteDiscrete or the function like Xil_Out32(..), what I read back from the regisetr is always the old value. Could somebody advice what could be wrong or what should be paid attention to access the registers? Thanks.