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 1800 putchars. Anyway, I don’t know where is the problem. Could somebody help me?
I’m using yagarto and FreeRTOS 5.4.2, last yagarto version (Binutils-2.19., Newlib-1.17.0, GCC-4.3.3, GDB-6.8.50-20080308, Insight-6.8.50-20080308) and Windows XP.
The code is in http://www.4shared.com/file/125067940/aaa9af1b/LPC2368_question.html .
Thanks in advance,