Debuging in AVR Studio 4

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

I want ask if i may forced some bits?. i need forced bits whitch are setup by hardware.

 

 

TWINT is one of them. Its set by HW to 1.

 

while(!(TWCR & (1<<TWINT)));

 

 

Is it possible to change bits as needed by my application?  Thank you

 

New

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

You should be able to click the "blobs" in that picture to set the bits you want to simulate. Alternatively AS4 has "stimuli files" which is a more complex way to achieve the same (it lets you play in complex patterns of bit setting over and over again).

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

If I click on the "blob" TWINT and I am in debugging mode in line when check if was TWINT set to 1 and press F11 to another step blob TWINT is set to 0, but in debug I stay on the same line.

New