Using GO in debug section

hi all i am new to keil.i wrote a timer program in C which is given in Mazidi's book.the proagram is compiling without any errors.the program will give 0x55 at port pin 1 and after some milliseconds it gives 0xAA.now when i use F5(GO)it is not working in loop(not showing 55 and AA,showing FF) whereas when i am using F10 then i can see the change in parellel port(for P1)window

kindly suggest what can be the problem

regards and thanks in advance

Parents
  • I assume that you are using the simulator peripherals window for display. If you start and stop the program executing, does the window update?
    Running at full speed you will be unable to see the port display in real time.Do you have adequate delay between port writes?
    Also, ensure that you have the check box under VIEW->Periodic Window Update checked.
    Bradford

Reply
  • I assume that you are using the simulator peripherals window for display. If you start and stop the program executing, does the window update?
    Running at full speed you will be unable to see the port display in real time.Do you have adequate delay between port writes?
    Also, ensure that you have the check box under VIEW->Periodic Window Update checked.
    Bradford

Children
More questions in this forum