Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12421 Discussions

NIOS II code crash! Strange Behaviour... NIOS bug?

Altera_Forum
Honored Contributor II
901 Views

Hi, Can anyone explain why debugger may be crashing?

 

Single stepping over CODE-A crashed the debugger requiring a power reset of USB blaster, sof download and restart eclipse.

 

Running over CODE-A works ok.

 

 

[CODE-A]:

for (int i=0; i < MAX_INPUT_STRING; ++i) e->cmd[i] = me->m_cmdString[i];

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
120 Views

Hard to say. What options did you use when compiling? Compiling with anything other than -O0 could cause weird debug stuff to happen. How are "me" and "e" declared?

Reply