cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
10,632 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
Highlighted
Observer
Observer
19,370 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...

View solution in original post

0 Kudos
3 Replies
Highlighted
Observer
Observer
19,371 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...

View solution in original post

0 Kudos
Highlighted
Observer
Observer
10,360 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
Highlighted
Observer
Observer
10,284 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