Forum Discussion

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

Warm reset of NIOS under IDE

Hi,

I am trying to make a warm reset with NIOS II CPU. I just make an asm jump to the _start function. If I do this, I loose the control of IDE - I couldn't debug the source code any more. I just thought my program would start agian and would run to main program to my first breakpoint.

Did anybody know what is going on there?

Thanks for help,

Holger

1 Reply

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

    Hi,

    Base on my study, I find that Nios will initialize many global variables. Then if you reset system by just simply jumping to _start, some golbal will be re-initializing to a wrong value, so that you will lose control of IDE.

    FYI. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif