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 defrageliu
Observer
10,143 Views
Registered: ‎12-09-2014

FreeRTOS interrupt does not work

Jump to solution

Hello,

  I meet a problem when using the FreeRTOS with zynq. In SDK software, I connect the callback function the the XscuGic controller in the FreeRTOS and enable the interrupt. I use the ila in vivado to analyze the signal, it shows that the interrupt works well, but the FreeRTOS does nothing. That is ,when the OS call the FreeRTOS_ApplicationIRQHandler function only with the interrupt id 29(it is seem to be the interrupt id with the timer). However, no any other interrupt id, i prefer to, I get in the FreeRTOS_ApplicationIRQHandler function.

 

  Is there any one can help me? Thank you~

 

Alvin Defrage.

0 Kudos
1 Solution

Accepted Solutions
Observer richardbarry
Observer
18,881 Views
Registered: ‎04-26-2008

Re: FreeRTOS interrupt does not work

Jump to solution
Have you read through how to install the handlers on the page that describes how to use FreeRTOS on Cortex-A processors?


Also, the Zynq demo in the FreeRTOS download and the FreeRTOS+TCP examples can be used as a reference.

Regards,
Richard.

+ http://www.FreeRTOS.org
The de facto standard, downloaded every 4.2 minutes during 2015.

+ http://www.FreeRTOS.org/plus
IoT, Trace, Certification, TCP/IP, FAT FS, Training, and more...
0 Kudos
3 Replies
Observer richardbarry
Observer
18,882 Views
Registered: ‎04-26-2008

Re: FreeRTOS interrupt does not work

Jump to solution
Have you read through how to install the handlers on the page that describes how to use FreeRTOS on Cortex-A processors?


Also, the Zynq demo in the FreeRTOS download and the FreeRTOS+TCP examples can be used as a reference.

Regards,
Richard.

+ http://www.FreeRTOS.org
The de facto standard, downloaded every 4.2 minutes during 2015.

+ http://www.FreeRTOS.org/plus
IoT, Trace, Certification, TCP/IP, FAT FS, Training, and more...
0 Kudos
Observer defrageliu
Observer
9,871 Views
Registered: ‎12-09-2014

Re: FreeRTOS interrupt does not work

Jump to solution

Hello Richard,

    Yes, I have already read the documents, even followed the demo in the FreeRTOS resource. but it still doesn't work. I connect the interrupt signal from the axi quad spi ip core to the zynq irq_f2p interface. By the way, I just use the freertos bsp which is generated by the SDK automatically. Is there something wrong with the BSP, or  I use it in wrong way?

 

Thank you very much

 

Best wishes,

Defrage

0 Kudos
Observer defrageliu
Observer
9,795 Views
Registered: ‎12-09-2014

Re: FreeRTOS interrupt does not work

Jump to solution
Hello @richardbarry
Thank you very much~, Just after reading the demo carefully, I find the problem. Now the interrupt works well.

Regards,
Defrage
0 Kudos