Can some please tell that if this circuit is right to communicate between pc and AT90S2313 http://www.northernpackaging.ca/8051/scan.jpg I have tested my max232 circuit with loop back in hyper terminal. That works fine. When I connect RXD and TXD to AT90S2313 and I press 'enter' or 'space' noting happens. I have even tried 1 or 2 downloading software too. Those software can not see AT90S2313 attached to serial port. Please help. Again http://www.northernpackaging.ca/8051/scan.jpg
AT90S2313 TO PC
Started by ●September 26, 2006
Reply by ●September 26, 20062006-09-26
On 26 Sep 2006 10:54:19 -0700, in comp.arch.embedded ilogics@gmail.com wrote:> >Can some please tell that if this circuit is right to communicate >between pc and AT90S2313 > >http://www.northernpackaging.ca/8051/scan.jpg > >I have tested my max232 circuit with loop back in hyper terminal. >That works fine. > >When I connect RXD and TXD to AT90S2313 and I press 'enter' or 'space' >noting happens. > >I have even tried 1 or 2 downloading software too. Those software can >not see AT90S2313 attached to serial port. > >Please help. > >Again > >http://www.northernpackaging.ca/8051/scan.jpgHow do you progam it, what complier etc? see page 60 in the data sheet martin
Reply by ●September 26, 20062006-09-26
http://www.northernpackaging.ca/8051/scan.jpg> > How do you progam it, what complier etc? see page 60 in the data sheet > > > > > martinThanks martin. I was just checking the connection till now. Can you please tell me any compiler or IDE too. I took circuit above from internet and it stated that this was enough to test you code. So I just assume I would be enough to get me started. Thanks
Reply by ●September 26, 20062006-09-26
ilogics@gmail.com wrote:> Can some please tell that if this circuit is right to communicate > between pc and AT90S2313 > > http://www.northernpackaging.ca/8051/scan.jpg > > I have tested my max232 circuit with loop back in hyper terminal. > That works fine. > > When I connect RXD and TXD to AT90S2313 and I press 'enter' or 'space' > noting happens. > > I have even tried 1 or 2 downloading software too. Those software can > not see AT90S2313 attached to serial port. > > Please help. > > Again > > http://www.northernpackaging.ca/8051/scan.jpg >No. You need RS-232 level translators. Depending on your luck, you may have destroyed the port bits, or not - the RS levels go also negative and the processor does not feel good with negative inputs. -- Tauno Voipio tauno voipio (at) iki fi
Reply by ●September 26, 20062006-09-26
On 26 Sep 2006 11:14:20 -0700, in comp.arch.embedded ilogics@gmail.com wrote:>http://www.northernpackaging.ca/8051/scan.jpg >> >> How do you progam it, what complier etc? see page 60 in the data sheet >> >> >> >> >> martin > >Thanks martin. > >I was just checking the connection till now. >Can you please tell me any compiler or IDE too. > >I took circuit above from internet and it stated that this was enough >to test you code. >So I just assume I would be enough to get me started. > >ThanksYou have just started on a long climb uphill :-) I suggest here http://www.avrfreaks.net/index.php?module=FreaksArticles&func=viewArticles http://www.eg3.com/WebID/embedded/avr/blank/book/a-z.htm http://www.atmel.com/dyn/resources/prod_documents/novice.pdf#search=%22atmel%20avr%20basics%22 martin
Reply by ●September 26, 20062006-09-26
Tauno Voipio wrote:> ilogics@gmail.com wrote: > >> Can some please tell that if this circuit is right to communicate >> between pc and AT90S2313 >> >> http://www.northernpackaging.ca/8051/scan.jpg >> >> I have tested my max232 circuit with loop back in hyper terminal. >> That works fine. >> >> When I connect RXD and TXD to AT90S2313 and I press 'enter' or 'space' >> noting happens. >> >> I have even tried 1 or 2 downloading software too. Those software can >> not see AT90S2313 attached to serial port. >> >> Please help. >> Again >> http://www.northernpackaging.ca/8051/scan.jpg >> > > No. You need RS-232 level translators. > > Depending on your luck, you may have destroyed > the port bits, or not - the RS levels go also > negative and the processor does not feel good > with negative inputs.A Max-232 is a level translator. He mentions this on the schematic. His drawing may not be fantastic, but he actually scrubbed out "RS", and replaced it with "MAX. I think he may be missing some software in the micro. Don... -- Don McKenzie E-Mail Contact Page: http://www.dontronics.com/e-mail.html Micro,TTL,USB to 1.5" color LCD http://www.dontronics.com/micro-lcd.html USB,RS232 or TTL to VGA Monitor http://www.dontronics.com/micro-vga.html World's smallest USB 2 TTL Conv http://www.dontronics.com/micro-usb.html
Reply by ●September 26, 20062006-09-26
Tauno Voipio I have max232 level converter attached to the circuit. I have tested 232max with hyper terminal/oscilloscope. It is working fine. I did loop back too. Martin I will go through all those links you have sent me. I was just wondering now that even at minimal level my pc could see AT90S2313. I was wondering If AT90S2313 sends some bytes back on its TXD pin upon start up. Don Do you think my primitive circuit can be used with any software? I mean hyper terminal/ AVR studio any thing? Or I should modify circuit. Thanks
Reply by ●September 26, 20062006-09-26
On 26 Sep 2006 14:10:30 -0700, in comp.arch.embedded ilogics@gmail.com wrote:> >Tauno Voipio I have max232 level converter attached to the circuit. > I have tested 232max with hyper >terminal/oscilloscope. > It is working fine. I did loop back too. > > >Martin I will go through all those links you have sent me. > I was just wondering now that even at minimal level my pc >could see > AT90S2313. I was wondering If AT90S2313 sends some bytes >back on its > TXD pin upon start up.Not until you program the AT90 to do something, it will just sit there doing nothing, a bit like a car without the driver, with the engine running> >Don Do you think my primitive circuit can be used with any >software? > I mean hyper terminal/ AVR studio any thing? > >Or I should modify circuit. > >Thanksmartin
Reply by ●September 26, 20062006-09-26
On Tue, 26 Sep 2006 23:37:48 +0200, martin griffith <mart_in_medina@yahoo.esXXX> wrote:>On 26 Sep 2006 14:10:30 -0700, in comp.arch.embedded ilogics@gmail.com >wrote: > >> >>Tauno Voipio I have max232 level converter attached to the circuit. >> I have tested 232max with hyper >>terminal/oscilloscope. >> It is working fine. I did loop back too. >> >> >>Martin I will go through all those links you have sent me. >> I was just wondering now that even at minimal level my pc >>could see >> AT90S2313. I was wondering If AT90S2313 sends some bytes >>back on its >> TXD pin upon start up. > >Not until you program the AT90 to do something, it will just sit there >doing nothing, a bit like a car without the driver, with the engine >runningIn addition, tne OP might also need to jumper RTS to CTS and DTR to DSR on the PC side of things. If I recall correctly (perhaps not, as I avoid using Hyperterminal whenever possible), Hyperterminal defaults to requiring proper levels on CTS and DSR before it will engage. See http://www.aggsoft.com/rs232-pinout-cable/pinout-and-signal.htm and many others for info. -- Rich Webb Norfolk, VA
Reply by ●September 27, 20062006-09-27
On Tue, 26 Sep 2006 22:58:30 GMT, in comp.arch.embedded Rich Webb <bbew.ar@mapson.nozirev.ten> wrote:>On Tue, 26 Sep 2006 23:37:48 +0200, martin griffith ><mart_in_medina@yahoo.esXXX> wrote: > >>On 26 Sep 2006 14:10:30 -0700, in comp.arch.embedded ilogics@gmail.com >>wrote: >> >>> >>>Tauno Voipio I have max232 level converter attached to the circuit. >>> I have tested 232max with hyper >>>terminal/oscilloscope. >>> It is working fine. I did loop back too. >>> >>> >>>Martin I will go through all those links you have sent me. >>> I was just wondering now that even at minimal level my pc >>>could see >>> AT90S2313. I was wondering If AT90S2313 sends some bytes >>>back on its >>> TXD pin upon start up. >> >>Not until you program the AT90 to do something, it will just sit there >>doing nothing, a bit like a car without the driver, with the engine >>running > >In addition, tne OP might also need to jumper RTS to CTS and DTR to DSR >on the PC side of things. If I recall correctly (perhaps not, as I avoid >using Hyperterminal whenever possible), Hyperterminal defaults to >requiring proper levels on CTS and DSR before it will engage.I still use terminal.exe from win98 (i think), instead of hyperterminalisbad but it sucks by running my laptop (XP) at 100% all the time. Any fixes? martin