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

Micro C/OS-II realtime response measurement

Altera_Forum
Honored Contributor II
1,637 Views

HI, may i know anyone know how to show, or measure the response time for each tasks, including the interrupt as well. I'm using Nios II embedded evaluation board so any idea or method to used to measure the response time? 

 

 

 

 

Thanks. :)
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
372 Views

There are some scope probes in here showing the interrupt timing of an ARM micro. You can do the same for a NIOS processor: 

 

http://www.ovro.caltech.edu/~dwh/ucos/project_ar1803.pdf 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
372 Views

Hi jayze_ng, 

 

I've done something like you want with Oscilloscope. 

Start synchro on INT event and show a change output pin of FPGA on the second curve. 

And done it several times to have good statistics. 

The INT in my software set a flag and another task is OSflagPending this flag. 

 

Hope it helps you. 

bvincent1
0 Kudos
Altera_Forum
Honored Contributor II
372 Views

Thanks a lot Dave @ bvincent1, it really help in observe the time response. Million thanks for your resourse and idea. :) 

 

Jayze ng
0 Kudos
Altera_Forum
Honored Contributor II
372 Views

Hi Dave and bvincent1, 

 

Do you guys ever tried uc/probe before? As i found that this software was quite good in term of real time measurement.  

 

Jayze ng
0 Kudos
Altera_Forum
Honored Contributor II
372 Views

 

--- Quote Start ---  

 

Do you guys ever tried uc/probe before? 

 

--- Quote End ---  

No, it did not exist when I was developing with uCOS-II (for a TI DSP). 

 

I did look at it when I installed uCOS-III for one of the book editions (STM development kit, I think) for a friend. I have the TI ARM EVALBOT so will look at it one day using that. 

 

 

--- Quote Start ---  

 

As i found that this software was quite good in term of real time measurement.  

 

--- Quote End ---  

Good to know, thanks! 

 

Cheers, 

Dave
0 Kudos
Reply