07-13-2016 06:29 AM
Hi all,
I am running Linux on PS (CPU_0) and I have a Microblaze Soft-core in PL part.
I would like to know if there is a way to connect Microblaze interrupt to PS interrupts. I could not understand why I can't connect MB interrupts to PS in Vivado. Here are my questions:
1) What is the proper way of connecting MB interrupts to PS ?
2) How to write the interrupt handler in Linux
3) Is it possible to send MB application from Linux (PS) to MB on the PL ? (I can configure easily the bitstream but I was wondering if this is possible)
Thank you very much for your help. Any help/remarks would be appreciated.
Best Regards,
07-13-2016 01:05 PM
hi,
you can refer to the following XAPP for PL to PS interrupt. However the application are run in bare-metal OS
http://www.xilinx.com/support/documentation/application_notes/xapp1093-amp-bare-metal-microblaze.pdf
--hs
07-17-2016 10:39 AM
Hi,
To answer your questions
1) What is the proper way of connecting MB interrupts to PS ?
>> The interrupts from MB (PL) to PS can be routed via GP ports at least.
2) How to write the interrupt handler in Linux
>> Refer to attached example in the link http://zedboard.org/content/dts-syntax-and-interrupts-pl-under-linux
http://www.eetimes.com/document.asp?doc_id=1280680
Regards
PV
07-20-2016 12:41 AM
Thank you very much for your answer. I am going to try if it works. If it does, I won't forget to choose your answer as the solution.
Best Regards