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

cannot single-step on simulator & target board

hi,
When I start a debug session in µVision4, the program is downloaded correctly,
follow is what i saw in disassembly window:

        91:                     LDR             R0, =SystemInit
0x10001BEC 481D         LDR             r0,[pc,#116]            ; @0x10001C64
        92:                                     BLX             R0
0x10001BEE 4780         BLX             r0
        93:                                     LDR             R0, =__main
0x10001BF0 481D         LDR             r0,[pc,#116]            ; @0x10001C68


the PC is set to 0x10001BEC and SP is set to 0x10014880,

but when I press F11 to single step,

  • in simulator: the PC will become 0,
  • in target board: the PC will not change and can not step

What's wrong with the tool? Does any setting need to take care? Thanks in advance for your help.

Liang Ming-Chuan

0