Application hangs when spyLib is used !!!

VxWorks

    Sponsored Links

    Next

  • 1. Create a bootable application
    I think this is an easy question but I couldn't find it in the manual. I'm working with VxWorks 5.5 Tornado 2.2. I have an image project that builds the kernel that I want. I also have a DKM project to build the application that I want. Now I'd like to combine the two so when my system boots it automatically starts my application. I think I just need to call the application from usrAppInit, however, how do I link the DKM's .out into the kernel? Do I need to build a library first? etc. Can someone describe the steps or point me to some documentation? Many Thanks. John.
  • 2. Whether the Size of TCB for all tasks running in system is same or not
    Hi, I have 1 doubt, If we create 100 tasks, then, is there any relation between " difference of previous task id & present task", why because the kernel allocates the fixed amount of memory at the time of creation..... First kernel allocates big chunk of memory, then its uses those memory for tasks in decreasing order(Task id's) Thanks in advance !!!
  • 3. How to reset the task in vxworks (please help me)
    Hi, Please tell me how to reset the task (Please tell me the API to do it ....! I am calculating the CPU Occupancy of each task in VxWorks v-5.5 ..........! I need task reset option so, !!! Thanks & regards, Lakshmi Sreekanth
  • 4. Running RTP module
    Hi all, I am ryinh to run small HelloWorld.vxe , on Vxworks 6.5. I have configured kernel with RTP support package has mention in document. But while running i am getting following message Launching Process "HelloWorld.vxe" rtp exec : the process 'HelloWorld.vxe' ends abnormally plz suggest with regards sharath
  • 5. Memory overflow problems
    Hi Folks, On target systems which doesn't support MMU, no memory protection is provided which leads to nasty bugs if there is a buffer overflow or stack overflow. There is no exception like segmentation fault etc. on Linux ruuning on MMU target. With a core dump we can trace the chain of calls leading to the actual problem. How does one go about debugging such problems in VxWorks bcos the problem is at one place and the crash happens elsewhere ! Appreciate your help. Thanks, syuga

Application hangs when spyLib is used !!!

Postby gouthammp » Fri, 04 Feb 2005 13:44:25 GMT

Hi Techi helpers,

I wanted to know the CPU utilization of all the tasks running in my
application & hence used spyLib. Few minutes after running the command
'spy' in shell, the application crashes !!! Did anybody experienced
this behaviour & is there any way to come out of this problem?
Thanks in advance.

Regards,
.Goutham

Re: Application hangs when spyLib is used !!!

Postby Harry Yu » Fri, 04 Feb 2005 17:42:00 GMT

spy will use the tuxiliary timer,
if ur system has only one the auxiliary timer,
and if ur app will use the auxiliary timer then they will conflict with
each other.

Regards, 
Harry Yu


Re: Application hangs when spyLib is used !!!

Postby Jeff C » Fri, 04 Feb 2005 21:23:36 GMT






Someone else already indicated that this could be an AuxClk conflict.

Another possibility is that your application code has a remaining race 
condition that
normally just "works out" (perhaps because there are two tasks at the same 
priority that share
a data structure that needs to be protected but is not).

If these two (or more) tasks normally (through luck) basically end up 
running "in order" each
time then there would be no problems. But, when the spy task periodically 
runs to print
it would offer up a chance for a context switch to a different task as spy 
completes.

Something else to think about.




Return to VxWorks

 

Who is online

Users browsing this forum: No registered users and 34 guest