Why SoraThreadStart function always return FALSE?

Answered Why SoraThreadStart function always return FALSE?

  • lunedì 21 maggio 2012 13:38
     
     

            I found SoraThreadStart function always returns FALSE and I think the ethread routine function wasn't work. Why?

            My Sora version is V1.6 and I get dbgprint results in debugview.

            In SdrPhyInitialize() and SdrMacInitialize(),there are two places using ethread, but they both can't work.  I can't find dbgprint info in the ethread routine function.

            Looking forward for your help.

            Thanks!

Tutte le risposte

  • martedì 22 maggio 2012 10:16
    Proprietario
     
     Con risposta

    Hi Young,

    Probably, you should specify more details on your issue. For example, how do you conclude that SoraThreadStart has issues?

    Since these APIs should usually work, without more detailed information, it is difficult for us to provide meaningful suggestions.

    Thanks,

    - Kun

  • mercoledì 23 maggio 2012 01:33
     
     

    Thanks for your fast reply!

    I find corresponding print information in "debugview" tool, for example, "[Error] MAC State Machine is not started" can be found. Then I add my dbgprintf information in the entry of function mac_proc, but I can't find this information in "debugview".

    In function SdrMacInitialize(), pMac->Thread is not NULL, so I think SoraThreadAlloc() works.

    START_SORA_THREAD works normally. So I doubt if there is any difference between them? Something is wrong because of this?

    Thanks,

    Young

  • martedì 12 giugno 2012 06:07
    Postatore
     
     
    Sorry, we cannot get clear understanding from your description and questions. Could you explain more details about your purpose, questions, and code samples with enough context knowledge? They will help us better diagnose your issues. Thanks!
  • lunedì 24 settembre 2012 07:09
     
     

    Sorry for my disappearance, can you hear me? :-)

    I mean whether SoraThread can work if I have no RCB board and  other relative devices? I just run sora code on my own PC.

    Is there any limit in ksora.lib that causes SoraThreadStart cann't be used normally.

    Thanks!