We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
"6.) According to disassembly code, C:0x6191 12000E LCALL LatchBuffer_Clear(C:000E)" Note that CODE address C:000E is within the TF0 interrupt vector... Can you use the debugger to check the interrupt flags? Or, put "dummy" handlers in for all interrupts that will enable you to tell when "unexpected" interrupts have occurred...
Dear A.W, 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. By the way, I also your instruction to put the interrupt dump in my project, and nothing was jump there. 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