Hi all I used petalinux v.4 and I implemented a simple counter module in VHDL connecting to MB via fsl.
Hardware(vhdl) writes and in standlone OS a program reads and prints, it all works.
After I add hardware into hardware platiform and add my c code as user apps in software. I compiled and downloaded (no error given). When I tried to run the same program in uCLinux the fsl reads 0 always.
I searched online for fslfifo read supports from Mr.John Williams founder of petalinux, it seems his implementation and the orignal implementation in MB interface source are quite similar, in my case.
Can someone pls share some thoughts and comments?
volatile unsigned int temp,status = 0;
//Initialize your input data over here:
printf("Start : \n\t");
printf("Reading : %d\n\t",temp);