Search Results

Search results 1-3 of 3.

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

  • Hello, I like Human readable object identifiers, it helps it many cases to identify objects. But what happens after I delete the object with the name? What should I do with the memory of OS_OBJNAME ? For ex., Quote: “OS_MAILBOX_Create(&Mailbox, 10, 10, &Buffer); MailboxName = OS_malloc(sizeof(OS_OBJNAME)); OS_DEBUG_SetObjName(MailboxName, &Mailbox, "My Mailbox"); ... OS_MAILBOX_Delete(&Mailbox); ” What should I do with the MailboxName ? Is it safe to simply do OS_free(MailboxName)?

  • Hello, Thanks for the answer. Seems that the problem was in the application - a command used huge memory array of stack, which was much more than a task had. So application probably modified OS internals, and at the 2nd call of OS_WaitEvent_Timed() raised error. So the OS seems to be working good.

  • Hello, I have a problem with OS_WaitEvent_Timed() function - it raises OS_ERR_DICNT error after waking up event, and entering to this function again. For ex.: Source Code (7 lines) Few interrupts exists in the system, and all has the same priority. No nested interrupts. I don't see problems with my interrupts. Here is IRQ low level routine: Source Code (9 lines) Using latest 3.88a embOS, Cortex-A5 CPU. Where could be a problem?