Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Problem in serial communication with pc

2008-03-13 by John Samperi

At 04:51 PM 13/03/2008, you wrote:
>But my code is not working good.
>LDI R16, 0X5F
>....
>     ldi R16,0x98

Please use label such as ramend and bit names such as TXEN, RXEN
in your code otherwise it's hard to understand what you have done.

>Is there any setting or wire connection i have to do on STK500?

Did you connect the wires for the spare RS232 connector to the
TX and RX pins?

Have you set the fuses for proper clock settings? Otherwise the chip
will work from the internal 1MHz clock.

Regards

John Samperi

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

Attachments

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.