Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

virtual terminal

virtual terminal

2009-07-27 by iijfet

hi,
1.i want to make a virtual serial data by proteus virtual terminal,i place a virtual terminal block,join it to mega32,also i use max232 between them,but after max 232,from mega32 to output(virtual terminal) no data transmit
2.how do i make my favorite data* to send it for micro as e virtual data?
 
favorite data:a packet of data include 300 byte per second.

please help me.

Re: [AVR-Chat] virtual terminal

2009-07-27 by Richard Reeves

The Virtual Terminal in ISIS doesn't need a MAX232 driving it - you'll be 
giving it inverted data, but there was a bug in the Mega16 and Mega32 models 
at some point recently, causing the UART to transmit rubbish.  I think I 
reported it to Labcenter.  I'd suggest trying a Mega644 without the MAX232.



Richard
Show quoted textHide quoted text
----- Original Message ----- 
From: iijfet
To: AVR-Chat@yahoogroups.com
Sent: Monday, July 27, 2009 6:33 PM
Subject: [AVR-Chat] virtual terminal


  hi,
1.i want to make a virtual serial data by proteus virtual terminal,i place a 
virtual terminal block,join it to mega32,also i use max232 between them,but 
after max 232,from mega32 to output(virtual terminal) no data transmit
2.how do i make my favorite data* to send it for micro as e virtual data?

favorite data:a packet of data include 300 byte per second.

please help me.

Re: [AVR-Chat] virtual terminal

2009-07-27 by hossein hashemi

but i want to do it by atmega32!


--- On Mon, 7/27/09, Richard Reeves <r_reeves@blueyonder.co.uk> wrote:
Show quoted textHide quoted text
From: Richard Reeves <r_reeves@blueyonder.co.uk>
Subject: Re: [AVR-Chat] virtual terminal
To: AVR-Chat@yahoogroups.com
Date: Monday, July 27, 2009, 11:17 PM






 




    
                  The Virtual Terminal in ISIS doesn't need a MAX232 driving it - you'll be 

giving it inverted data, but there was a bug in the Mega16 and Mega32 models 

at some point recently, causing the UART to transmit rubbish.  I think I 

reported it to Labcenter.  I'd suggest trying a Mega644 without the MAX232.



Richard

----- Original Message ----- 

From: iijfet

To: AVR-Chat@yahoogroup s.com

Sent: Monday, July 27, 2009 6:33 PM

Subject: [AVR-Chat] virtual terminal



hi,

1.i want to make a virtual serial data by proteus virtual terminal,i place a 

virtual terminal block,join it to mega32,also i use max232 between them,but 

after max 232,from mega32 to output(virtual terminal) no data transmit

2.how do i make my favorite data* to send it for micro as e virtual data?



favorite data:a packet of data include 300 byte per second.



please help me. 




 

      

    
    
	
	 
	
	








	


	
	


      

[Non-text portions of this message have been removed]

C compiler

2009-07-27 by Riccardo Castellani

I'm going to learn ATMEL AtMega8535 programming, so I bought:

STK-500
AVRISP MKII
1 breadbord
2 books: programming and customizing the avr microcontroller + Embedded C 
programming and the atmel AVR

What do you think if I use IAR Embedded Workbench as C compiler ?
What version ?
suggestions

Riccardo

Re: [AVR-Chat] C compiler

2009-07-28 by wagnerj@proaxis.com

> I'm going to learn ATMEL AtMega8535 programming, so I bought:
>
> STK-500
> AVRISP MKII
> 1 breadbord
> 2 books: programming and customizing the avr microcontroller + Embedded C
> programming and the atmel AVR
>
> What do you think if I use IAR Embedded Workbench as C compiler ?
> What version ?
> suggestions
>
> Riccardo
>
>

Why not use the infinite value Studio plus gcc (which is available as
WinAVR)?

Jim Wagner
Oregon Research Electronics

Re: [AVR-Chat] C compiler

2009-07-28 by John Samperi

At 07:53 AM 28/07/2009, you wrote:
>What do you think if I use IAR Embedded Workbench as C compiler ?

That will be VERY EXPENSIVE once you run out of what the
free demo can do.

AVRStudio and winAvr (as Jim already commented) are both free
and reasonably good.

Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Re: C compiler

2009-07-28 by brewski922

A Mega8535 40-pin plugs straight into a STK500 and can be programmed via a RS232 port. So you may not need that AVRISP MKII. With this the 8535 and other chips can be programmed via a USP port.

The book "Embedded C Programing and the Atmel AVR" at one time came with the evaluation copy of CodeVisionAVR, and it probably still does. cvAVR is a very good C language compiler, especially for newbies. The CodeWizard that comes with it is great also. The only restriction is the code size is limited to, I believe, 2K. But that is enough to get you well into using the AVR family of micros.

Mike


--- In AVR-Chat@yahoogroups.com, "Riccardo Castellani" <ric.castellani@...> wrote:
Show quoted textHide quoted text
>
> I'm going to learn ATMEL AtMega8535 programming, so I bought:
> 
> STK-500
> AVRISP MKII
> 1 breadbord
> 2 books: programming and customizing the avr microcontroller + Embedded C 
> programming and the atmel AVR
> 
> What do you think if I use IAR Embedded Workbench as C compiler ?
> What version ?
> suggestions
> 
> Riccardo
>

RE: [AVR-Chat] C compiler

2009-07-28 by Chuck Hackett

> From: Riccardo Castellani
> 
> I'm going to learn ATMEL AtMega8535 programming, so I bought:
> 
> STK-500
> AVRISP MKII
> 1 breadbord
> 2 books: programming and customizing the avr microcontroller + Embedded
> C
> programming and the atmel AVR
> 
> What do you think if I use IAR Embedded Workbench as C compiler ?
> What version ?
> suggestions

I find that GCC (WinAVR) (and free) plays well with AVR Studio.  So far it
has done everything I have asked it to do.

I also use the AVR Ice Cube JTAG device
(http://www.ecrostech.com/AtmelAvr/AvrIceCube/index.htm) but I guess you
have the MKII for that.

 
Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck

Re: [AVR-Chat] virtual terminal

2009-07-29 by Richard Reeves

> but i want to do it by atmega32!
I appreciate that, but there isn't much difference in the UARTs anyway.

I've just done a quick test and all is well as far as using a Mega32 with
the virtual terminal in ISIS.  I'm using the latest beta version (7.6 beta
4).  Whether the bug exists in the last full release, I don't know (7.5
SP3, I think).
As I said, though, first lose the MAX232 as far as driving the VTERM, and
don't forget to set the Mega32 properties correctly.
If you do discover a problem, the best place to go is here:
http://support.labcenter.co.uk/forums/
All you need for excellent help is your customer number.


Richard (who doesn't work for Labcenter, by the way)

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.