X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: Advice on a good refernce book Date: Thu, 09 Sep 2004 18:19:16 +1000 Organization: HOME Message-ID: References: <10jvuqr2uff2f4 AT corp DOT supernews DOT com> X-Newsreader: Forte Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 NNTP-Posting-Host: 220.233.15.233 X-Trace: 1094709688 un-2park-reader-01.sydney.pipenetworks.com.au 31703 220.233.15.233:1746 X-Complaints-To: Abuse, including message IDs to abuse AT pipenetworks DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >Its been a little while since I have used C. I have small project where I >will be taking a string of positional data from an RS232 port using a >embedded PC to directing some servo's using a RS232. Its a robotics thing. >The processor is a 486dx (PC104 format) with about 2meg of flash ram (no >hard drive) so I won't be running windows. This is well beyond anything >that I have done in the past. Is there a good practical reference that >addresses the subject and methods? I have a couple of references but none >touch the subject. A starting point would be to look for an RTOS to use and then try to find a book that uses the RTOS. As for how to drive a RS-232 port on an embeded PC104 board then there should be refernces to the RS-232 UART in the manual that came with the PC104 board of it will have a block diagram that shows which chip includes the uart. There are allot of different RTOS's out there. Some cost money and some are free. Some include support for various PC hardware and some do not. Some require Borland 4.52, some use VC++ 6.0 and some use GCC... As you can see there are allot of choices, but the choice of the RTOS is the most important item to start with as it will cause you the most problems. I would ask the PC104 supplier what RTOS's are available off the shelf for free and start with these. Hopefully you can get eCOS or uCOS II for it. Andrew