Multiple Interrupt or GNU problem

Dear sir

We are using LPC2364 for our application project. Application of our
project is interfacing of LPC2364 to 20 * 4 LCD-Display,USB,Ethernet and also UART,SPI. In first phase of our project we developed separate code of 1) USB, 2) Ethernet and 3) LCD with UART,SPI in (cygwin)GNU compiler. After successful testing of those individual code we combined those code. But we face lot of problems with that combined code which are Given below.

1) In beginning, combined code was not working but after changing C source file Sequence, all code working properly.
2) Changing in any LCD C source file USB, Ethernet is not working. Change in LCD file means if we add any new variable or remove which in not related to USB and Ethernet but related to LCD code then also USB and Ethernet is not working and some time LPC2364 controller get hanged.
3) How to handle number of interrupts in windows based (cygwin)GNU compiler when they are more then four. We have used five interrupt which are Timer 0 and 1,USB interrupt, SPI and UART.
4) Is there any Effect of our Operating system? We are using Windows 98. Is it sufficient for the KeilIDE and GCC compiler?
5) Our Code is working in only Level-2 (Size) optimization level. What should we do to operate our code in all optimization level?

Thank you,
Dushyant Rana

Parents Reply Children
More questions in this forum