Debug output

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

Hi,

Is there any possibility to send a message back to AVRStudio from the working program (simulator or JTAG)? I would like to implement TRACE and ASSERT makros not using any additional hardware like serial port, etc.

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

Have a read of your AVR datasheet about the OCDR register if it has one. This (in theory) allows you to transmit 7 bit values from the AVR, over the debug interface, back to Studio though I wish you more success with it than I've ever achieved!

Cliff

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

Thanks, this is what I was looking for.
I will see if its worth to waste my time playing with OCDR. If I fail I use I2C->RS232 converter.