We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
I can see variables in Watch window and it is updating when step-in, but how can I see values in Memory Window, If I give address of "a" in Memory Window It shows R0 / R1 (register) values. I need value 10 in memory window when I give address of variable "a". Could you please help me with this.