This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2468

Hi Im new to Keil RVMDK, Im writing a simple program
after creating a project for LPC2468 controller.
Below are the steps I did:

1. Created a sample project (Assembly file lpc2400.s was automatically added)
2. then wrote a small source (main.c) and added to my project:below is the code snippet
#include<stdio.h>
#include<lpc23xx.h>
main()
{

int a=10,b=10,c=0;
c=a+b;

}

Now I want to view the values in memory window and watch window, Im able to get values of a & b but not c.
Also I need information on how control passes from startup file to my main.c (I think Its not happening in my case).The actual problem my sample code snippet is not running when i opened my debugger and press "run" button (It says error as undefined identifier).Please could anybody help me in solving this issue.

0