Hi All, I am using uVision V4.00 (RealView MDK-ARM version 4.00) and my device is LPC2148. I am able to write, compile, burn. But I am having a hard time debuggging. I can see/set all the peripherals. I can see stack function calls, function variables etc.. BUT MOST IMPORTANTLY I CAN'T SEE "GLOBAL VARIABLES" anywhere, I've tried to search it on net for a while but no luck yet. I'm declaring my global variables as
volatile char data[128];
Kindly tell me where can i see the global variables.
Right click on variable name in the source code then add it to watch window 1 or 2. Also, reading a uView manual won't do any harm, really...
Hi Dejan, Thanks a ton!
Also, reading a uView manual won't do any harm, really...
Yes it really doesn't do any harm and I tried.. then next thing, I found myself lost. So after googling for a while I decided to ask some real programmers and here I am.
Thank You
MDK-ARM Primer: http://www.keil.com/support/man/docs/gsac/
µVision4 User's Guide: http://www.keil.com/support/man/docs/uv4/
The examples walk you through the process of building & debugging an application: http://www.keil.com/support/man/docs/uv4/uv4_examples.htm
- including watching variables: http://www.keil.com/support/man/docs/uv4/uv4_ex_watch_var.htm
There's a number of "lab" sessions available: http://www.keil.com/appnotes/list/arm.htm http://www.keil.com/download/list/arm.htm