Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

About CS8900

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif Hi,all,

when I tried to add cs8900 in SOPC Builder onto my dev board of

APEX20KE,I thought I paid off.But when it came to trying to compile

and execute a demo program,the screen showed some error message

like this:(The demo I use is hello_plugs.c in the directory of cpu_sdk/src/)

nios-run: Terminal mode (Control-C exits)

-----------------------------------------

spurious interrupt number: 0000001c# 8B553048

cs8900_32

+

In fact,when I added the peripheral onto our board by plugging

it on the dev board,the PC showed the linking has been linked.

That may meaned my device without problems.Then I tried to compile

the demo of hello_plugs.c.The step passed normally.

But when I attempted to run it on the board by typing

nr hello_plugs.srec

,the error message appeared.Could you please tell me why this happend? Many Thanks!

Don http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ohhhh... I seem to remember this. Let me look. You might want to see what interrupt is at 0000001c

    Back in a bit...

    Kerri
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    OK, a note from an old problem report:

    ... at least you, the designer, will now have some clue that you should disable that interrupt in SOPC Builder, or modify nios_setup.s, as needed.

    ****

    Can you disable the interrupt that is appearing?