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.
12748 Discussions

Program hangs after adding floating point

Altera_Forum
Honored Contributor II
1,226 Views

I've found that when I add a floating point calculation to a program which previously worked it stops working after a few seconds. I've simplified my program to a timer interrupt with an ISR that increments a variable. The rest of my program displays (using printf) the value of this variable converted to seconds every so often. If I change the program (not the ISR) to recalculate the value displayed as a double it no longer runs properly. It will run for a few seconds before hanging. Does anyone know what could be causing this and how to fix it? 

 

I am using Nios II Dev Kit 1.1 with Quartus 5.0. I have found the (apparently) same problem with both the legacy SDK and using the IDE + HAL.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
512 Views

It appears that upgrading to NiosII Quartus 6 fixes the problem. I've run successfully for several hours now.

0 Kudos
Reply