I am using uvision to debug Dialog DA14580 chip which has an ARM cortex M0 on board.
From my experience with other emulators (IDE) there should be a way to see the C- instruction
overlapped with its assembler interpretation and the exact location in memory of these
instructions. This way , it is possible to follow steps of the program in memory ...
Is there a way to do this in u-vision?
I see only the instructions numbered .
I found the answer for first topic .
I need to click the window and then step.
Yes, you'd click in the appropriate window.
Well the Hard Fault handler should be pointed to by the vector at +0x00C, you'd have to look at the startup.s code to understand why there isn't a pointer or code to deal with that.
For stepping through the start up code you might consider unchecking "run to main()", but for the most part it's going to run the SystemInit() code you provide, and then __main which sets up the statics before calling your main() function.