- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I include the <alt_interrupt.h> in order to use the interrupt on HPS form fpga,
I got the following error
which I believe from this block in <alt_interrupt.h>:
Could you please tell me how to solve this problem?
reguards
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CAlex,
I am not able to see the error from the pictures(blur) that you have attached.
Can show me the error again?
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok,It's on the first picture if wouldn't mind click it.
It says: on src/hwmgr/alt_interrupt.c(951) error: undefined reference to "__cs3_interrupt_vector"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CAlex,
May I know what document which you follow to build your project?
Anyway, I think it might be related to you make file:
In the Makefile change "CROSS_COMPILE := arm-none-eabi-" to "CROSS_COMPILE := arm-altera-eabi-".
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I followed the DE10 standard User Guide in SOC FPGA chapter,
I copied the example's makefile and made some other rules to link all the resources in my Makefile document.
And could I ask is there any compile tools need to be download to use altera- eabi?
Thank you for your reply.
reguards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CAlex,
I was looking into this documention previously which relates to some related software tools involved in the steps:
https://github.com/arktur04/cyclone-v-baremetal
Anyway I suggest you can follow the newer build steps in refering to the cyclone V timer example which consider the alt_interrupt.h (Running Cyclone V Timer Example):
https://www.rocketboards.org/foswiki/Documentation/HWLib
The example code as below:
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I read throught the link you gave and tried a little but it seems didn't work on Liunx.
The example you gave I assume is with the GHRD yet can't work as well.
Could you provide timer interrupt examples work on linux?
I didn't find any on intenet.
Thank you for help
reguards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CAlex,
The alt_interrupt only meant for baremetal application.
As for any linux example I think this is the one you will be looking into:
https://github.com/altera-opensource/linux-refdesigns/blob/master/pio-interrupt/gpio_interrupt.c
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you, I'll start research on that.
reguards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CAlex,
I will close this thread if no further question at the moment. Do consider re-open a new thread if there is.
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CAlex,
I am closing this thread for now. Feel free to provive a good feedback If you happened to receive a survey.
Thanks.
Regards,
Aik Eu

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page