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++
12604 Discussions

gmon.out not compiling correctly

Altera_Forum
Honored Contributor II
1,268 Views

Hi, 

 

I am trying to run the checksum example code from altera for profiling. however after the code is run I am not able top open my gmon.out file. It gives me the error :nios2-elf-gprof: command not found EXIT CODE-127. I followed all the steps the nios profiling pdf. I have a system timer on my hardware and grop-enable ticket on the BSP.  

 

What can be wrong. 

 

Thanks fro the help. 

 

Saru
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
482 Views

You need to run the nios2-elf-gprof tool from the nios2 command shell. In windows it's Start->Altera <version> -> Nios II EDS <version> -> Nios II <version> Command Shell

0 Kudos
Altera_Forum
Honored Contributor II
482 Views

Thanks. It is working now .

0 Kudos
Altera_Forum
Honored Contributor II
482 Views

Hey Galfonz, 

 

Although they code for checksum(example code given by altera) is running fine with gmon.out being generated but when I try to run it on my code it doesn't work. It doesn't even enter main(). Any idea why this could be ? 

 

 

Thanks 

Saru
0 Kudos
Reply