Holger Bruns wrote:
I need to read and write every register of that UART as explained in the National Semiconductor databook, register by register, address by address.
If I may ask, just what sort of application are you developing that needs such complete and total access to the UART?  Using the serial port for more than just passing serial data back and forth using standard handshaking (RTS/CTS, etc.) is very rare, and applications that do this are highly specialized.  

If you really need to go that route, with full access to 100% of the UART, perhaps this book would help (chapter 6 is on serial device drivers).

http://tinyurl.com/yjk4c9j

Just know that you will have to do that part of your application in C as a device driver, not with FPC.  FPC does not, and cannot, override the base operating system restrictions regarding port access.  Expecting it to do so just because TP under DOS would let you do that won't make it happen, either.  And insulting comments like "Under the bottom line, it is embarrassing time consuming for a newbie like me, to work successfully with serial ports on linux." directed to the FPC list won't change that either.

Jeff.
--
I haven't smoked for 3 years, 2 months and 2 weeks, saving $5,289.52 and not smoking 35,263.48 cigarettes.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to