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: 
Observer coldwell
Observer
587 Views
Registered: ‎07-11-2011

Fixed interval timer is not a valid timer for FreeRTOS?

Jump to solution

Using Vivado 2017.4 I have a block design that uses a fixed interval timer (FIT) to generate a timer interrupt on a Microblaze

 

https://www.xilinx.com/support/documentation/ip_documentation/fit_timer/v2_0/pg110-fit-timer.pdf

 

this works fine with a standalone BSP. Now I want to try it with FreeRTOS, but when I try to generate the BSP in SDK, I get the error below, which indicates that it doesn't consider the FIT a valid timer for FreeRTOS purposes. Is this an oversight, or an actual limitation of the FIT?

 

11:03:13 ERROR : (XSDB Server)ERROR: [Hsi 55-1545] Problem running tcl command ::sw_freertos901_xilinx_v1_1::FreeRTOS_drc : FreeRTOS for Microblaze requires an axi_timer or xps_timer. The HW platform doesn't have a valid timer.
while executing
"error "FreeRTOS for Microblaze requires an axi_timer or xps_timer. The HW platform doesn't have a valid timer." "" "mdt_error""
(procedure "mb_drc_checks" line 69)
invoked from within
"mb_drc_checks $sw_proc_handle $hw_proc_handle $os_handle"
(procedure "::sw_freertos901_xilinx_v1_1::FreeRTOS_drc" line 10)
invoked from within
"::sw_freertos901_xilinx_v1_1::FreeRTOS_drc freertos901_xilinx"
ERROR: [Hsi 55-1440] Error(s) while running DRCs.

11:03:13 ERROR : (XSDB Server)ERROR: [Hsi 55-1450] Error: running generate_bsp.

11:03:13 ERROR : Error generating bsp sources: Failed in generating sources
11:03:13 ERROR : Failed to generate sources for BSP project freertos901_xilinx_bsp_0
org.eclipse.core.runtime.CoreException: Internal error occurred while generating bsp sources. Please check the SDK Log view for further details.
at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler.internalGenerateBsp(RegenBspSourcesHandler.java:178)
at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler.access$2(RegenBspSourcesHandler.java:163)
at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler$1$1.run(RegenBspSourcesHandler.java:131)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler$1.run(RegenBspSourcesHandler.java:135)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

0 Kudos
1 Solution

Accepted Solutions
Observer coldwell
Observer
572 Views
Registered: ‎07-11-2011

Re: Fixed interval timer is not a valid timer for FreeRTOS?

Jump to solution

Actually, looking through the FreeRTOS source code it looks like it really is a requirement. Unfortunately, there is no support for the FIT.

View solution in original post

1 Reply
Observer coldwell
Observer
573 Views
Registered: ‎07-11-2011

Re: Fixed interval timer is not a valid timer for FreeRTOS?

Jump to solution

Actually, looking through the FreeRTOS source code it looks like it really is a requirement. Unfortunately, there is no support for the FIT.

View solution in original post