Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Forum Discussions

DennisSSebasiSt
Level 1
First reply posted First question asked Welcome!
Level 1

I am working on microcontroller TC23X (Infineon), and my "time()" function is always returning the maximum value 0xFFFFFFFF I am using the compiler "Tasking VX Toolset for Tricore V6.3r1"

Can someone please help me how to resolve above issue. so that time() returns the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds

I have tried these methods "time(NULL), time(0) and time(&Var)"

0 Likes
1 Solution
User13836
Level 4
10 solutions authored 50 replies posted 25 sign-ins
Level 4

You might want to take at look at the tc_time example project which is included in the TASKING TriCore tools v6.3r1. You can import this project into a TASKING Eclipe  workspace using:

File >> Import >> TASKING C/C++ >> TASKING TriCore Example Projects

and then select tc_time from the list of available example projects.

Best regards,
Ulrich Kloidt

TASKING tools support

 

View solution in original post

0 Likes
1 Reply
User13836
Level 4
10 solutions authored 50 replies posted 25 sign-ins
Level 4

You might want to take at look at the tc_time example project which is included in the TASKING TriCore tools v6.3r1. You can import this project into a TASKING Eclipe  workspace using:

File >> Import >> TASKING C/C++ >> TASKING TriCore Example Projects

and then select tc_time from the list of available example projects.

Best regards,
Ulrich Kloidt

TASKING tools support

 

0 Likes