AVR Studio & Terminal emulation

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

Hello all,

I haven't figured out how can I monitor data coming to and from my AVR's
UART in AVR Studio. Does anybody have any suggestions ?

Thanx in advance

Vaggelis Tripolitakis
Ugrad. Student
Microprocessors & Hardware Lab
Technical University of Crete
Greece

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

I'd like to know this as well. I'm working with IAR products (C and ASM)

Chris

admin's test signature
 

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

If I remember correctly selecting the 'debug info with terminal IO' as output format for the linker you may use the native functions putch and getch in the IAR C-compiler to put/get data from the AVRstudio Terminal window (Press Alt + 7 to invoke this window). I.e replace uour uart transmit routine with putch and your uart receive routine with getch when building for debug.
It has been a while since I used this but if I remember correctly it should do the trick.

Bjorn

admin's test signature