AnsweredAssumed Answered

Re: experiencing problem with VDK::PendSemaphore()

Question asked by Schamman on Jul 4, 2011
Latest reply on Jul 4, 2011 by Schamman
Branched from an earlier discussion

     I meet the same problem when I simulate the example (\VisualDSP 5.0\Blackfin\Examples\No Hardware Required\VDK\BF533\Factory)

    

     I add new thread in Factory::Run(),

threadParamaters.semaphoreToPendOn = kRepeatEvery11;
threadParamaters.periodOfGenerator = 11;
threadParamaters.amplitudeStep = 600;

// CreateThreadEx will create the RampGen thread, the paramaters passed
// in will be assigned to local variables in the RampGen constructor.
VDK::CreateThreadEx(&tcb_kRampGen);

    

      when running at the pending semaphore

          VDK::PendSemaphore( m_MySemaphore, 0 );

          the PC point to Jump.S kernelpanic

Outcomes