[SOLVED] Error in OSKern

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Error in OSKern

    Possible causes of dependency?

    Error in pActiveTask = (OS_TASK *)OS_Global.pActiveTask; /*lint !e9005 MISRA C:2012 Rule 11.8, required */
    Images
    • 1.png

      16.21 kB, 590×288, viewed 1,047 times
  • Hello Alex,

    please understand that it will be hard to help you with this little information.
    To help us and other forum members to understand your issue you should include at least the following information in your post:

    1. Which embOS do you use? (CPU, compiler).
    2. The embOS version.
    3. A detailed description of the problem.

    Btw. since your are still in support please feel free to contact us directly by email.

    Best regards,
    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Which problem?


    I can see in your screenshot that you are calling OS_PutMail() from an ISR which is not allowed.
    Please use OS_PutMailCond() instead.

    Does that solve your problem?
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Thanks for the additional information.
    I'll contact you per email for further steps.

    Best regards,
    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.