OVP Forums - A community of assistance, help, questions, and answers.
  FAQFAQ    SearchSearch      RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in
Search found 22 matches
Open Virtual Platforms Forum Index
Author Message
  Topic: Function Intercept
SirFonzie

Replies: 1
Views: 3110

PostForum: Ask a Question   Posted: Tue Feb 24, 2015 7:51 pm   Subject: Function Intercept
Hi,

Why is it that some functions can be intercepted while others are not detected/intercepted (even though they are executed).
The map file generated showed that the function is mapped and have ...
  Topic: Stepping through each instructions
SirFonzie

Replies: 1
Views: 4124

PostForum: Ask a Question   Posted: Thu Feb 05, 2015 7:19 am   Subject: Stepping through each instructions
I used "VMIOS_INTERCEPT_FN" to get into the function I am interested in. However, following this, I would like to step through every single instruction till I find the 'pop' instruction. The ...
  Topic: Instruction Tracing on uC/OS-II on Cortex-M3
SirFonzie

Replies: 15
Views: 16740

PostForum: Ask a Question   Posted: Tue Nov 25, 2014 3:21 pm   Subject: Instruction Tracing on uC/OS-II on Cortex-M3
Yup. I have read that guide.

Let's say:

FuncInterest - this is the function I want to profile

doProfile - This function would disassemble the instruction and count/sort them.


The th ...
  Topic: Instruction Tracing on uC/OS-II on Cortex-M3
SirFonzie

Replies: 15
Views: 16740

PostForum: Ask a Question   Posted: Mon Nov 24, 2014 9:17 pm   Subject: Instruction Tracing on uC/OS-II on Cortex-M3
Hi. Thanks.

I took your advise and worked on installing a static intercept.
So each time the function is executed, it would call doPend (as shown below):
static VMIOS_INTERCEPT_FN(doPend)

In t ...
  Topic: Instruction Tracing on uC/OS-II on Cortex-M3
SirFonzie

Replies: 15
Views: 16740

PostForum: Ask a Question   Posted: Sun Nov 16, 2014 5:29 am   Subject: Instruction Tracing on uC/OS-II on Cortex-M3
I did the following (see below) to count how many times this function is being called.


//-----------------------------------

static VMIOS_INTERCEPT_FN(doPend) {
iSemPend++;
}

....
.int ...
  Topic: FreeRTOSOsHelper available?
SirFonzie

Replies: 1
Views: 3061

PostForum: Ask a Question   Posted: Wed Nov 05, 2014 7:44 am   Subject: FreeRTOSOsHelper available?
Hi,

I tried to use the FreeRTOSOsHelper but got this warning (see below).
I am assuming that this tool is not available yet?

Warning (HLPR_FREERTOS) FreeRTOSOsHelper loaded on 'BareMetalArmCort ...
  Topic: Instruction Tracing on uC/OS-II on Cortex-M3
SirFonzie

Replies: 15
Views: 16740

PostForum: Ask a Question   Posted: Mon Nov 03, 2014 3:33 pm   Subject: Instruction Tracing on uC/OS-II on Cortex-M3
Thank you. :)
  Topic: Instruction Tracing on uC/OS-II on Cortex-M3
SirFonzie

Replies: 15
Views: 16740

PostForum: Ask a Question   Posted: Mon Nov 03, 2014 3:10 pm   Subject: Instruction Tracing on uC/OS-II on Cortex-M3
I think I manage to get it to work.

The control.ic should be as follows:

--enabletools
--extlib platform/cpu1=uCOSIIOsHelper
--extlib platform/cpu1=modelAttrs@interceptlib/model


I did not ...
  Topic: Instruction Tracing on uC/OS-II on Cortex-M3
SirFonzie

Replies: 15
Views: 16740

PostForum: Ask a Question   Posted: Mon Nov 03, 2014 2:25 pm   Subject: Instruction Tracing on uC/OS-II on Cortex-M3
This is how i configured my control.ic:
-------------------------

--enabletools
--extlib platform/cpu1=uCOSIIOsHelper

-------------------------

And the following is the output when I ran th ...
  Topic: Instruction Tracing on uC/OS-II on Cortex-M3
SirFonzie

Replies: 15
Views: 16740

PostForum: Ask a Question   Posted: Mon Nov 03, 2014 8:17 am   Subject: Instruction Tracing on uC/OS-II on Cortex-M3
Manage to resolve the error, but now it does not run my interceptlib which I created. How do I use uCOSIIOsHelper together with my interceptlib so that I may obtain instruction profile of each task.
  Topic: Power Analysis and Energy Profiling
SirFonzie

Replies: 4
Views: 8389

PostForum: Ask a Question   Posted: Mon Nov 03, 2014 7:29 am   Subject: Power Analysis and Energy Profiling
I intend to link Wattch to OVP.

But it would be nice if there exist a tool that is already linked to OVP and can measure/estimate energy/power consumption.
  Topic: Static Analysis Tool
SirFonzie

Replies: 4
Views: 5080

PostForum: Ask a Question   Posted: Mon Nov 03, 2014 6:47 am   Subject: Static Analysis Tool
Is this the same as instruction tracing/profiling?
  Topic: Instruction Tracing on uC/OS-II on Cortex-M3
SirFonzie

Replies: 15
Views: 16740

PostForum: Ask a Question   Posted: Mon Nov 03, 2014 6:43 am   Subject: Instruction Tracing on uC/OS-II on Cortex-M3
I tried this but i got an error, something about uCOSIIOsHelper not being installed. My output of the execution is as shown below.

this is the argument I originally used (no error but cant profile ...
  Topic: Instruction Tracing on uC/OS-II on Cortex-M3
SirFonzie

Replies: 15
Views: 16740

PostForum: Ask a Question   Posted: Mon Oct 27, 2014 11:48 pm   Subject: Instruction Tracing on uC/OS-II on Cortex-M3
I have managed to get the intercept to work with my uC/OS-II running on a Cortex-M3 model.

I am able to get the instruction frequency of the entire code (RTOS+Application).

However, I would like ...
  Topic: Intercept Instruction on uC/OS-II running Cortex-M3
SirFonzie

Replies: 1
Views: 8290

PostForum: First time - readme   Posted: Mon Sep 08, 2014 9:27 pm   Subject: Intercept Instruction on uC/OS-II running Cortex-M3
Hi,

I tried 'merging' the interceptlib obtained from intercept_instruction_Linux_MIPSMalta with the ucosii_CortexM3 demo.

Following the intercept demo, i would need to modify the execution scrip ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 8 Hours
Jump to:  


Information regarding OVP © 2008-2022 Imperas Software