Wednesday, February 21st 2018, 8:34am UTC+1

You are not logged in.

  • Login
  • Register

Search results

Search results 1-5 of 5.

Wednesday, February 26th 2014, 9:26am

Author: Arne


Hello, I got a question regarding the Segger's Win32 code in USBBULK.c. In the function USBBULK_OpenEx(..) there is one line I don't understand: C/C++ Source code 1 pConnInfo->OverlapRead; What happens here? thanks, Arne

Thursday, June 13th 2013, 8:32am

Author: Arne

embOS/IP Example for Embedded Artists Board LPC1788

Hello, I got a question regarding the IP code in 'IP_Config_LPC1788.c'. In: C/C++ Source code 1 2 3 4 5 void IP_X_Config(void) { (...) IP_NI_LPC17xx_ConfigAddr(0x20084000, 0x20000000); // Set the address of the Ethernet MAC and Ethenrnet RAM. (...) } The first parameter for IP_NI_LPC17xx_ConfigAddr() is the base address of the EMAC, but the second just points to the start of AHB-RAM. So I guess the function uses/reserves space in AHB-RAM. But how much space? So I can spare out the area in my lin...

Thursday, August 11th 2011, 11:47am

Author: Arne

IAR & OS_CREATETASK() and __task

Hi, IAR EWARM allows to put an extended keyword "__task" in front of a thread. If I do so then I get a compiler error in the line of OS_CREATETASK(): C/C++ Source code 1 2 3 4 __task extern void TerminalManagerThread(void) { ... } in main() I do: C/C++ Source code 1 OS_CREATETASK(&gTerminalThreadTCB, "Terminal-Thread", TerminalManagerThread, 2, gTerminalThreadStack_PU32); and get this error: Quoted Error[Pe167]: argument of type "void (__interwork __task *)(void)" is incompatible with parameter ...

Tuesday, December 7th 2010, 6:53am

Author: Arne

Timer Routines

Hello, I got a couple of questions regarding software-timers: Lets assume this code: C/C++ Source code 1 2 3 OS_CREATETIMER(&gTimer1, TimerRoutine1, 100); OS_CREATETIMER(&gTimer2, TimerRoutine2, 200); Now after 200 OS-Ticks they shall be called at the same time. Now what happens? Is TimerRoutine1 called and as soon as it is finished the OS-Scheduler calls TimerRoutine2? Or is TimerRoutine2 delayed until the next OS-Tick (which would be 201)? The manual says the Softwaretimers use the C-Stack. Wh...

Thursday, July 29th 2010, 10:29am

Author: Arne

OS_Q_Create Documentation

Hello, I got a question regarding the documentation for OS_Q_Create (manual 3.82f). For the parameter pData it says: "Pointer to a memory area used as data buffer for the queue." But the example is as this: C/C++ Source code 1 2 3 4 5 #define MEMORY_QSIZE 10000; static OS_Q _MemoryQ; static char _acMemQBuffer[MEMORY_QSIZE]; void MEMORY_Init(void) { OS_Q_Create(&_MemoryQ, &_acMemQBuffer, sizeof(_acMemQBuffer)); The '&' in front of '_acMemQBuffer' (line 5) puzzles me: that would be a pointer to a ...