+1
0
-1

Can we test Hardware function in VectorCast tool ?If yes, please let us know the feature

Hello,

this is the line of code which doesn't loading data into wTickNow,because of that it wasn't moving to next line.

word wTickNow = Timer_GetCounterHighResHW();

...
Posting in: 

8 Comments:

+1
0
-1

Hi, that would expand like this

word wTickNow = (0xffff ^ ((LPIT_Type *)(0x40037000u))->TMR[2].CVAL);

what is the alternative to write in user code?

+1
0
-1

Can any one address this issue? very urgent

+1
0
-1

Suppose we have a header file header.h as follows

#ifndef HEADER_H

#define HEADER_H

typedef struct {

    unsigned short CVAL;

} TMR_T ;

typedef struct {...

+1
0
-1

Hi Sir,

Thanks a lot for your answer.

I have created both source.c and header.h files and included in the UNIT. I didn't see any global unit to give i/p value. Could you please...

+1
0
-1

while adding user code, getting errors Conflicting type of LPIT?

+1
0
-1

source.c and header.h were not provided as files to be added to your existing environment. They were provided as a UUT that can be used to construct an environment which has a test case execution...

+1
0
-1

For the sake of completeness, it might be useful to note that if there are many immediate accesses to memory mapped peripherals across multiple UUTs then it might be faster and more scalable/...

+1
0
-1

Thank you so much sir, this worked out really well. Thank you so much for helping me.