Interrupt problem (again)

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Now it is my turn to have interrupt problems with Studio 6. I haven't tried with Studio 4 so to be honest I can not say that it is a Studio 6 problem yet but I suspect that.

Problem is that if I run in full speed, everything works just fine. But if I single step, global interrupts is turned off.

After a long struggling I finally found that the problem was extremely simple. As soon as I single step using F11, global interrupt is turned off!!!

Using F10 work fine.

I can not even turn it on again manually by clicking in the I/O view.

/Edit. No it is worse. It turns off a little bit of here and there regardless if I am using F11 or F10.

My favorites:
1. My oscilloscope, Yokogawa DLM2024.
2. My soldering iron, Weller WD2M, WMRP+WMRT.
3. JTAGICE3 debugger.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is a setting in the project setup that covers that. Normally, interupts are turned off, since you cannot single step, or you'd get perpetual ISR requests.

I cannot remember where it was, but there is a check box that defaults checked for "disable ISR's in single step" or something like that.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Going with what wires is saying, it's probably [/Tools/Options/Debugger/Mask interrupts while stepping]

The same setting seems to be available in the [/Debug/Options and Settings] dialog.

Sid

Life... is a state of mind