This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex, events inside a interrupt

Good day,

IÂ'm starting a project with Cortex M3 (STM32F103R more exactly) using the RTX.
IÂ'm having troubles when I set some event ("os_evt_set" or "os_mbx_send") inside a interrupt. Every time I do that, the program jump to HardFault_Handler.
I rewrote my program using polling method (just for test), instead of interrup, and the program works fine.

How can I work with events inside a interrupt ?

Thanks.

Parents
  • Of course you fail! But what does the manual say about the use of os_xxx function inside interrupt handlers?

    Have you ever wondered why there is a function os_evt_set() and another called isr_evt_set()?

    And why there is a os_mbx_send() and a isr_mbx_send() function?

Reply
  • Of course you fail! But what does the manual say about the use of os_xxx function inside interrupt handlers?

    Have you ever wondered why there is a function os_evt_set() and another called isr_evt_set()?

    And why there is a os_mbx_send() and a isr_mbx_send() function?

Children