Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Warm reset of NIOS under IDE

Altera_Forum
Honored Contributor II
1,026 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
333 Views

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
0 Kudos
Reply