X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Robbo" Newsgroups: comp.os.msdos.djgpp Subject: Re: RS232 transmission sometimes fail on AM2 Date: Mon, 23 Jul 2007 13:51:11 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 18 Message-ID: References: NNTP-Posting-Host: dpv185.neoplus.adsl.tpnet.pl X-Trace: atlantis.news.tpi.pl 1185191578 286 83.24.155.185 (23 Jul 2007 11:52:58 GMT) X-Complaints-To: usenet AT tpi DOT pl NNTP-Posting-Date: Mon, 23 Jul 2007 11:52:58 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Antivirus: avast! (VPS 000758-3, 2007-07-22), Outbound message X-Antivirus-Status: Clean To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thank you very much for your answer. I spent one day long to see, what is wrong. As I have said earlier, there is a computer which communicates with special electronic device. The electronic device consists of a microcontroller and MAX202ECPE (it converts TTL to RS232). MAX202ECPE has different resistance of one of its pins that MAX232N which I had been using before. And it causes that it is more sensitive to any noises. When I replaced it back to MAX232N, everything works well. According to your suggestions about my UART code, thanks for them. Robbo