X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Mon, 23 Jul 2007 10:31:43 -0500 From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: RS232 transmission sometimes fail on AM2 Date: Mon, 23 Jul 2007 08:29:30 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Message-ID: Lines: 22 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 67.170.73.174 X-Trace: sv3-VQtXW4+djzqygBcd3x1zbgmrNwStJELFcJ5qWUWudvVtI/4tEH1DcBw5kpA24p14wuDYcnDISwaB80R!hubEIycwU4X2X4IjIFyRshdesHBmBV7286Xl0fyx770HoocMaE1rGKhqZuXPlNWhhkuHFjzwNnt2!wr1MPze7Qk9DVZYE//KKpwzPrQaoOw== X-Complaints-To: abuse AT comcast DOT net X-DMCA-Complaints-To: dmca AT comcast DOT net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.35 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Robbo wrote: > 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. Quite possible, though never occurred to me. Interesting, if the chip defect was there already or the chip was damaged/overheated while soldering... Cheers, Alex