UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer obernikhin
Observer
5,658 Views
Registered: ‎09-01-2009

1)Problems with export XPS project with FSL bus to SDK. 2)And problem with putfslx and getfslx in application.

Hello.
1)
I add to XPS project some new peripheral, created by wizard.
New peripheral connected to microblze via FSL bus. Default driver was generated automatically by wizard.
In file system.mss driver description is
BEGIN DRIVER
PARAMETER DRIVER_NAME = loopback
PARAMETER DRIVER_VER = 1.00.a
PARAMETER HW_INSTANCE = loopback_0
END

after export to SDK in file .mss driver described as
BEGIN DRIVER
PARAMETER DRIVER_NAME = generic
PARAMETER DRIVER_VER = 1.00.a
PARAMETER HW_INSTANCE = loopback_0
END
and SDK didn't generate parameters in file xparameters.h .
Driver description in .mss file can be changed manually and after that SDK generate correct parameters.
Question: How to normally export XPS project to SDK without manual correction ?
2)
for(i=0;i<100;i++)
{
putfslx(i,XPAR_FSL_LOOPBACK_0_INPUT_SLOT_ID,FSL_NONBLOCKING);
fsl_iserror(error_variable);
if(error_variable)
{
print("ERROR IN FSL !\n\r");
}
}
for(i=0;i<100;i++)
{
getfslx(res[i],XPAR_FSL_LOOPBACK_0_OUTPUT_SLOT_ID,FSL_NONBLOCKING);
xil_printf("Result is: %d\n\r",res[i]);
}
Result is: 0
......................
Result is: 0
Question: Where is error ?
0 Kudos
3 Replies
Contributor
Contributor
5,291 Views
Registered: ‎12-24-2009

Re: 1)Problems with export XPS project with FSL bus to SDK. 2)And problem with putfslx and getfslx in application.

I am having the exact same problem.  Did you find a better fix?
0 Kudos
Observer obernikhin
Observer
5,286 Views
Registered: ‎09-01-2009

Re: 1)Problems with export XPS project with FSL bus to SDK. 2)And problem with putfslx and getfslx in application.

Only manual fix :) 

<<Driver description in .mss file can be changed manually and after that SDK generate correct parameters.>>

0 Kudos
Contributor
Contributor
5,282 Views
Registered: ‎12-24-2009

Re: 1)Problems with export XPS project with FSL bus to SDK. 2)And problem with putfslx and getfslx in application.

Where is the best place to put the driver file?  Is it best to add the drivers folder to the build path?
0 Kudos