|
From: | NEMEC, BENJAMIN |
Subject: | RE: [avr-chat] PC Communication |
Date: | Mon, 19 Mar 2007 17:27:06 -0500 |
Oh! Yes that’s most certainly possible. If your AVR has a UART or USART. If you are programming you AVR with ISP you must have a programmer. That you connect to the PC’s RS232 (serial) port when you want to program it. Then you can unplug that and connect a level converter that’s connected to your AVR’s UART.
Keep reading and you’ll understand more about how the ISP works.
Go here http://www.atmel.com/dyn/products/datasheets.asp?family_id=607 to find the datasheet to your AVR. If your uController has a UART or USART read the section about it and try the example code. Since all of the AVRs can be programmed with ISP your datasheet should also have a section about programming with a subsection about Serial Programming. Read that to better understand how ISP works, you’ll see that the ISP protocol uses a different serial interface than the RS232 protocol uses.
Ben Nemec
From: Suhas Pharkute
[mailto:address@hidden
Well thx for the
tutorial, It is helpful On 3/19/07, NEMEC, BENJAMIN < address@hidden> wrote: Suhas: > Is there any way to
communicate to PC back using ISP when program execution is in place.
Suhas: > I know I can read/write a block from ISP but that will need to put Processor in prog mode and will halt the exection, correct? Not necessarily, depends if your AVR has a RWW section of FLASH, but I think that is not what you are looking for.
What are you trying to do?
Have you read the appropriate datasheet(s) and appnotes? A couple appnotes come to mind. I know there is one specific to ISP and another specific to using the AVR UART and USARTs. I think you need to read those as well as the datasheet for the AVR you are using.
And
please go read this tutorial written by Eric S. Raymond et al., How To Ask
Questions The Smart Way:
Ben Nemec
From: avr-chat-bounces+bnemec=address@hidden
[mailto:address@hidden] On Behalf Of Suhas Pharkute
Hi,
|
[Prev in Thread] | Current Thread | [Next in Thread] |