locked
Why SoraThreadStart function always return FALSE? RRS feed

  • Question

  •         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!

    Monday, May 21, 2012 1:38 PM

Answers

  • 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

    Tuesday, May 22, 2012 10:16 AM

All replies

  • 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

    Tuesday, May 22, 2012 10:16 AM
  • 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

    Wednesday, May 23, 2012 1:33 AM
  • 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!
    Tuesday, June 12, 2012 6:07 AM
    Answerer
  • 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! 

    Monday, September 24, 2012 7:09 AM