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

How to enable Interrupt in single Step Debugging

Hello Keil community,

I have an Atmel AT91SAM7x256 board with selfmade assembly startup code. For testing I had connect a simple switch at PioB to enter the external Interrupt. In simulation mode I can enter the IRQ_Hanlder in single steps without problems . But in debugging Mode the Programm did only enter the IRQ when I start the programm with the "run" Button, but not with single steps. :-(

My questions is now how can I configure the Keil debugger to enable the Interrupt in single step mode? Or maybe there are any special registers in the Atmel processor where I can enable it?

Many thanks and best regards

Norman

Parents
  • It is not a problem with Keil!

    The problem, as has already been explained, is that you would somehow have to sychronise the external stimulus to exactly the correct moment after you pressed the 'Step' button so that the target hardware would see it in the moment that it is actually running.

    Since you can't time your finger pressing a button to anything better than about 500ms precision, it should be obvious that this is virtually impossible!

Reply
  • It is not a problem with Keil!

    The problem, as has already been explained, is that you would somehow have to sychronise the external stimulus to exactly the correct moment after you pressed the 'Step' button so that the target hardware would see it in the moment that it is actually running.

    Since you can't time your finger pressing a button to anything better than about 500ms precision, it should be obvious that this is virtually impossible!

Children
No data