Search Results

Search results 1-5 of 5.

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

  • [SOLVED] embos ERROR 166

    shankar - - embOS related

    Post

    Thank you so much for your quick response.... Here things are working.... some interrupts configures as zero priority....

  • [SOLVED] embos ERROR 166

    shankar - - embOS related

    Post

    I have done...but still error persists.......

  • embos error

    shankar - - embOS related

    Post

    i have checked that one all ready ... we are configured IRQ_PRIORITYGROUP_4 . so we can use priority 4 bits ( 0- 15)

  • os error

    shankar - - embOS related

    Post

    i am using valid embOS license version. i gave ex for OS_SignalEvent()....... i am facing issue with both timer interrupt and os interfaces. i placed code for only timer interrupt.... here is the full code //timer init function void Timer3Init(void) { // Enable Clock for TIMER3 RCC->APB1ENR |= RCC_APB1ENR_TIM3EN; // Set the Edge-Aligned mode TIM3->CR1 &= ~(DWORD)(TIM_CR1_CMS); //Direction as Down counter TIM3->CR1 |= (DWORD)TIM_CR1_DIR; //set update request //This is to trigger interrupt only wh…

  • [SOLVED] embos ERROR 166

    shankar - - embOS related

    Post

    embOS for ARM version 4.30 with IAR workbench 7.8 using STM32 family STM32F303VE controller Whenever I try to use OS interfaces its throwing os error 166(OS_ERR_CPU_STATE_ISR_ILLEGAL) Ex Interfaces; OS_EnterNestableInterrupt(); OS_SignalEvent(JUPEvent, &TCB_JUPEvent); here is the code snipet of ISR handler void TIM3_IRQHandler(void) { OS_EnterNestableInterrupt(); // Check for Timer Status register to know whether interrupt has occured if(((TIM3->SR & (DWORD)TIM_SR_UIF) == (DWORD)TIM_SR_UIF) != R…