VDK error with Semaphore
Hello,
I have an application running on a sharc 21479.
Very rarely (around once every 25 hours), the application is crashing.
I am actually wondering if the problem could be related to VDK.
I will try to sum up what I could find out so far.
Wenn the error occured, the Program counter stopped in the function PopUnscheduledRegion although I don’t use this function in my code.
The PC Stack points to 0x132196.
When I look at the linker file, it looks like the PC is pointing to the VDK_ISR_API.
Otherwise the VDK Status looks good:
I also looked at the state history graph.
In my application, I have 3 threads (BluetoothThread, SignalProcessingThread, UIThread) pending on 3 periodical semaphores and running every 10ms.
Normally the thread SignalProcessingThread gets ready and I can then see the event SemaphorePended.
When the error occurs (tick 69.269.002) the SignalProcessingThread gets ready, but I never get the SemaphorePended event. Instead the application stops and I am getting an error within the function PopUnscheduledRegion.
Do you have any idea what could cause this issue? Or what I could do to find out the problem?
Please let me know if you need more information or if something was not clear.
Thanks,
Frederic
software
Visual DSP 5.1.2
sharc 21479
Hi,
We have tracking this in our side and will get back to you as soon as possible.
Regards,
Nishanthi.V
Hi,
As you are facing this issue very rarely and you have not used this function in your project, we are unable to understand the cause.
You can refer to the VDK user guide about this unscheduled region for more information how these are handled by VDK.
www.analog.com/.../50_vdk_mn_rev_3.5.pdf
Regards,
Nishanthi.V
Please log in to reply.





