Hi I am new to Keil and ARM, right now I am working with an ADuC7026 microcontroller. I have included in my project a main.c and the aduc702x.s startup file but when I try to debug it, it only steps through the code in disassembly. My main.c file only contain very simple instructions eg. GP1CON, GP1DAT. I have tried the example codes in the ARM folder and it can debug fine there, what am I missing?
Most likely you've just not noticed the settings in the project options dialogs that enable debug information to be built and linked into the executable image.
Maybe you should get back to the tutorial for a bit before you start creating your own projects from scratch.
The debug information option has always been checked. Any other ideas? Dont know why it is doing this