-
I've just discovered and fixed the problem.
There as a mistake in uart wrapper function prototype, so that, the real function was not a naked function. Each time that the uart_wrap function was called, the stack wasn't recovered.
Once I declared uart wrapper function correctly, everything starts working fine.
2009-08-18 18:39:36 UTC in FreeRTOS Real Time Kernel
-
Unfortunatelly, not yet.... I have tried the interrupts without queue functions and the result is the same. After exacts 2021 SendPutChars, or after receive 2021 characters, the firmware stop working.
I have tried with vApplicationStackOverflowHook but this function haven't been called.
This number changes regard to optimization level. By the way, I'm using -O1 now.
IMHO, it really...
2009-08-17 15:12:19 UTC in FreeRTOS Real Time Kernel
-
Now, I tried change the IRQ size to 0x400 (just like boot.s in LPC2106 example) but it is not the problem.
:-(
Any ideas?.
2009-08-15 04:23:00 UTC in FreeRTOS Real Time Kernel
-
Let me help a little bit more. If you are using newlib 1.17, just create a file called syscalls.c like http://www.yagarto.de/download/yagarto/syscalls.c and compile together.
There is more information on http://www.yagarto.de/howto/yagarto1/yagarto_newlib.txt .
2009-08-14 19:54:49 UTC in FreeRTOS Real Time Kernel
-
Lao, you can fix it providin a syscalls.c file. That is because new newlib. Take a look at yagarto web site. They provide an example.
2009-08-14 19:51:56 UTC in FreeRTOS Real Time Kernel
-
I don't know what is really happening, but I'm just trying to insert serial.c (from LPC2000_GCC) in LPC2368_ECLIPSE example.
It seems to be working fine, except that after a defined number of interrupts (of PutChar in flash.c task) , the ARM freezes. It's the same number, always! In average, 596 putchars and the program stops. If I change optmization level from 0 to 1, this number changes to...
2009-08-14 19:36:11 UTC in FreeRTOS Real Time Kernel
-
I think i've found a bug in GetPeerName in gxsockets.h. The pointer is passed in a wrong way. Could you confirm it, please!?
Thanks in advance,
Eduardo Garcia.
2009-07-30 19:27:28 UTC in DataReel