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

Micro C/OS-II realtime response measurement

Altera_Forum
Honored Contributor II
1,367 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
102 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
Altera_Forum
Honored Contributor II
102 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
Altera_Forum
Honored Contributor II
102 Views

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

 

Jayze ng
Altera_Forum
Honored Contributor II
102 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
Altera_Forum
Honored Contributor II
102 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
Reply