Crashing after leaving ISR [solved: no ISR for TXIE]

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

http://pastebin.com/pLXv4ju9

While I am using my JTAG ICE MKII to debug on my atmega1284p , single stepping. After setting state to 1 in the ISR, it attempts to leave the ISR and just ends up going to the reset vector. Any ideas why?

You don't gno-me!

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

It is pretty obvious. You enable the TX irq and provide no service routine.

David.

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

Woops. Bingo! Thanks!

You don't gno-me!