• Return Statements inside Case Statements
    I encountered a wierd runtime error after compiling and running the following statement: FuncCall(unsigned char casenum) { switch (casenum) { case 0x00: return 0x0100; default: return 0x1000;...
  • main return type is int, why
    I am using lpc1317, cortex M3. I have seen main has return type of int. But main don't return anything. Shouldn't it be void. In TC/TC++ or OS based software, main can return, but how in MCU. ...
  • Have anybody tried LPC288X
    How did you programmed flash? I use uVision3 + ULINK. I configured MODE pins in such a way the reset vector comes to 0x0020_0000 (beginning of the internal ROM). But I till cannot load internal ROM...
  • Returning from interrupt to a specified address in main
    I'm quite new to context switch and embedded software development. I'm developing a standalone application (no OS) with aduc7026 and keil uVision3. My problem is that at the end of an uart messagge,...
  • LPC2388: Cannot return to main after RTC interrupt
    Hi I have activated RTC Alarm interrupt in LPC2388 but after entering the first interrupt, it doesn't exit from the interrupt. I used Jlink to watch where is code is going and noticed after finishing...