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

Is this KeilC's compiler issue? A program flow will jump fly away

Hello, there:

I had my project builded with 0 error as well as 0 warning. Then I tried to simulate it with dScope. When I push step by step to trace my flow, I found the flow will jump flying away to elsewhere, returning back after finishing some instruction.

I downloaded it to my 8051, and it can't work. I tried to change optomize level, it will have some different result, but still the problem it's there were.

Would someone please help me to solve this problem.

Thanks a lot.
Morris

Parents Reply Children
  • Dear Andy, thanks for your help:

    I tried to down-level the optimization level, and the jump flying issue was gone as well as the working well of simulation.

    But come with another issue was the simulation worked fine and can see the output form serial windows, I can't see any output by downloading code to CPU ?

    I really appreciate your all support.

    Morris