embOS message 166 OS_ERR_CPU_STATE_ISR_ILLEGAL

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

  • embOS message 166 OS_ERR_CPU_STATE_ISR_ILLEGAL

    Hi All,
    I am getting error message 166 OS_ERR_CPU_STATE_ISR_ILLEGAL, while trying to do reset. I am using LM3S9B90 cpu.
    Once runing the program and the OS is ok , if i then do a hardware or software reset of the device my program does not start due to this error 166 OS_ERR_CPU_STATE_ISR_ILLEGAL.
    To summarize:
    So after flashing it works but after some kind of reset(software/hardware) the OS does not start due to this error.

    P.S. : I also got error 164 OS_ERR_IN_ISR


    Any ideas?

    The post was edited 1 time, last by tmanev ().

  • Hello,

    which embOS do you use? Do you use one of our start projects or your own project?
    Do you use a debugger so that your able to step through the code? It would be interesting to see where OS_Error() is called.

    Kind 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.