X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Robbo" Newsgroups: comp.os.msdos.djgpp Subject: RS232 transmission sometimes fail on AM2 Date: Wed, 18 Jul 2007 18:38:35 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 34 Message-ID: NNTP-Posting-Host: doo217.neoplus.adsl.tpnet.pl X-Trace: atlantis.news.tpi.pl 1184776770 12117 83.24.122.217 (18 Jul 2007 16:39:30 GMT) X-Complaints-To: usenet AT tpi DOT pl NNTP-Posting-Date: Wed, 18 Jul 2007 16:39:30 +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 000757-3, 2007-07-17), 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 Hello, I wrote some program on PC which controlls an industrial machine. There is also electronic device (with microcontroller Atmel AVR) connected with RS232 to the PC. I found that there are sometimes problems with serial transmission, since I have moved to 64bit processors (AM2 Sempron). Not so frequently, the electronic device doesn't catch command sent by the PC and vice versa - the PC doesn't catch command sent by the electronic device to it. I use delay() function in my program. I use Free DOS. Is there any known problem with programs written in DJGPP on 64bit processors? Does delay() function work correctly on such processors (unfortunatelly I can't check it now)? One more thing: I installed special 2xRS232+1xLPT expansion card in the PC and connected the electronic device with RS232 to it. I found that problems with loosing sent commands are more frequently than when I connected RS232 cable directly to a main board. Thanks in advance for Your help. Robbo