- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
my nios system (fifo, dma, custom component )stops executing at seemingly random times. mostly in the middle of a printf.
can this be because of an interrupt, arent those ignored if i choose not to handle them? what else can it be?Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are sure about your hardware (timing requirements met, devices fully tested, ...)
then probably you have a stack overflow. Do you use big local variables (struct, arrays), recursive code or a lot of nested calls?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
what do u mean by "nios stops" exactly? means what is the message it displays like "leaving target processor paused" or anything like that or there is no message indication and just disappeared???? i dnt think u have a bunch of nested calls but instead,u check ur custom component and if possible,just for a moment and remove it from ur system and try to excecute again and see what happens with ur system If succeed then u must have some problm in ur custom component only,Check its interface signals with master/slave interface. Because i think if stack overflow is the cause of an error then it will nt compile in quartus but that depends on ur nios II code length also So better is first u remove that component and see what happens. Hope this will shed some light for ur question.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for replies. reason it stopped was because my custom component stopped giving input, so thats solved.

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