-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeRTOS Hello World no interrupts to trigger ticks #301
Comments
Hi @tlf30, |
Hello @kedareswararao, I have tested with XILTIMER_en_interval_timer set to both true and false on my original project, thought that perhaps it was because I had fast interrupts enabled on the interrupt controller. I recreated the hardware from scratch with fast interrupts disabled. This has made no difference, and I have re-tested with XILTIMER_en_interval_timer set to true/false. I am attaching my xsa here for reference. This is my first time using a Xilinx FPGA along with the tooling, so I am sure I have something wrong somewhere. If there is some specific files that I can provide for troubleshooting, please let me know. |
@kedareswararao if it makes any difference, when I create the platform using the xsa file, I select FreeRTOS for the operating system. I would assume that it should setup all the needed parameters in the platform. The XILTIMER_en_interval_timer are set to false by default. But as mentioned I've tested with it set to true as well. Any help is greatly appreciated. |
Still working on this. As a note, I was able to test the hardware interrupts by creating a platform as a standalone OS, and using the following test code to ensure that the IRQ was getting processed by the microblaze core.
At this point, I think that either something is not set correctly by the platform wizard when creating a freertos platform, or the hello world example is missing something. I spent a couple hours this morning diving around the code and it seemed like the IRQs were simply not getting to the freertos IRQ handler, but I was getting deeper into the code than I really wanted to for a |
I don't have the SDK installed here, and it has been a while... but if I remember right, as well as enabling the interrupt on the peripheral, and enabing the interrupt controller, and connecting and registering the interrupt handler and starting the interrupt controller (!) you also need to enable the interrupts in the microblaze itself. I think there is a |
Yes, that is called via |
Hi @tlf30 , Regards, |
When testing with a microblaze core that has a AXI timer, freertos fails to get tick interrupts with the hello world example and the example simply hangs on the first vTaskDelay.
Is there additional configuration required?
The text was updated successfully, but these errors were encountered: