Terminal Window?

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

What happened to the terminal window feature in AVR Studio 3.X?

I'm using AVR Studio 4 with an JTAGICE MKII/ATM2560 and could really use the terminal window feature I'm told is in AVR Studio V3.x.

Is anybody using this feature with AVR Studio V4? or with another debugger that will ok with my configuration?

Thanks,
DFR

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

Quote:

Is anybody using this feature with AVR Studio V4?

Nope. The V4 manual even suggests that if you need it you revert to 3.x (except you then miss out on, all the modern device support and a multitude of bug fixes):
Quote:
UART/USART
The UART/USART UDR register can only be modified from the application. Input via stimuli files or by modifying the I/O view etc is not possible.

Terminal I/O window is not implemented. This feature is available in AVR Studio 3.xx.

When writing to UCSRC, the value will be copied to UBRRH unless bit 7 is also set in in the same write operation. This behaviour is erroneous on devices that have separate locations for these registers. Another workaround is to write UBRRH after UCSRC


By the way, take a look at Hapsim - it adds a terminal simulation to the 4.x simulator.

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

Thanks for that Clawson. Just what I needed, a clear and concise answer to this question.

I will try to find an install for AVR Studio V3.xx and put it on a laptop and see what I can see.

Again, Thanks

DFR

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

Like I say Hapsim is worth a look - it "hooks" into the latest simulator (well possibly not the VERY latest one just yet as it needs to be rebuilt each time) and simulates a number of external perihperals in mini "windows". It offers, button matrices, lines of LEDs, HD44780 conpatible LCD output and a UART terminal which can even be redirected to real PC comm ports. Personally I'd say it would be better than a trip back in time.

Cliff

PS the one thing that lets it down (apart from new hooks needing to be built in with each new issue of the simulator) is that on things like the UART terminal and the LCD the timing doesn't matter. For the UART you could actually be programming any value you like into UBRR and it would still display correctly and for LCD the code you use could get the timing sensitive init sequence completely wrong and it would still display OK

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

I'm not using simulation, but a JTAG ICE MKII. So, I assume HapSim Wouldn't work for me then.

Thanks Cliff

DFR

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

Oh right - you are correct about that - it's only for simulation purposes. But if you have a real AVR can't you just connect it to a "real" terminal (Hypterminal, Teraterm, etc.) ?

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

Yes, thats what I had, but its gone south on me.
DFR